> ## Documentation Index
> Fetch the complete documentation index at: https://www.scrums.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get workspace health

> Returns health scores and risk signals for all active service lines in a workspace.



## OpenAPI

````yaml GET /observability/health
openapi: 3.1.0
info:
  title: Scrums.com API
  version: 1.0.0
  description: >-
    The Scrums.com Software Engineering Orchestration Platform (SEOP) REST API.
    Every capability — talent, managed delivery, ODS, infrastructure,
    intelligence, and agents — operates through a Service Line (LIN-*). Base
    URL: https://api.scrums.com/v1
servers:
  - url: https://api.scrums.com/v1
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Service Lines
    description: Manage SEOP Service Lines (LIN-*) across all product types.
  - name: Organizations
    description: Top-level account containers (ORG-*).
  - name: Workspaces
    description: Team workspaces nested within an organization (WS-*).
  - name: AI Agent Gateway
    description: Trigger and monitor AI agent runs (AGT-*, RUN-*).
  - name: Observability & Metrics
    description: Health scores, risk signals, and delivery metrics.
  - name: ODS
    description: On-Demand Solutions scoping and request management.
  - name: Talent Marketplace
    description: Submit and manage vetted talent placement requests.
paths:
  /observability/health:
    get:
      tags:
        - Observability & Metrics
      summary: Get health for all service lines
      description: >-
        Returns health scores and risk signals for all active service lines in a
        workspace.
      operationId: getObservabilityHealth
      parameters:
        - name: workspace_id
          in: query
          description: Filter health records by workspace ID.
          schema:
            type: string
        - name: organization_id
          in: query
          description: Filter health records by organization ID.
          schema:
            type: string
      responses:
        '200':
          description: Array of health records for active service lines.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/HealthRecord'
              example:
                data:
                  - service_line_id: LIN-26-084729
                    name: Core Platform Squad
                    health_score: 87
                    risk_level: low
                    signals:
                      - signal: velocity_trend
                        status: green
                        value: +8% WoW
                      - signal: open_incidents
                        status: green
                        value: '0'
                      - signal: pr_cycle_time
                        status: amber
                        value: 2.4 days avg
                  - service_line_id: LIN-26-091844
                    name: Mobile Engineering Squad
                    health_score: 72
                    risk_level: medium
                    signals:
                      - signal: velocity_trend
                        status: amber
                        value: '-5% WoW'
                      - signal: open_incidents
                        status: green
                        value: '1'
                      - signal: pr_cycle_time
                        status: red
                        value: 4.1 days avg
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    HealthRecord:
      type: object
      properties:
        service_line_id:
          type: string
          example: LIN-26-084729
        name:
          type: string
          example: Core Platform Squad
        health_score:
          type: integer
          minimum: 0
          maximum: 100
          example: 87
        risk_level:
          type: string
          enum:
            - low
            - medium
            - high
          example: low
        signals:
          type: array
          items:
            type: object
            properties:
              signal:
                type: string
                example: velocity_trend
              status:
                type: string
                enum:
                  - green
                  - amber
                  - red
                example: green
              value:
                type: string
                example: +8% WoW
    Error:
      type: object
      required:
        - code
        - message
        - status
      properties:
        code:
          type: string
          example: not_found
        message:
          type: string
          example: The requested resource was not found.
        status:
          type: integer
          example: 404
  responses:
    BadRequest:
      description: The request was malformed or contained invalid parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: invalid_request
            message: workspace_id is required.
            status: 400
    Unauthorized:
      description: Missing or invalid authentication token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: unauthorized
            message: Bearer token is missing or expired.
            status: 401
    Forbidden:
      description: >-
        The authenticated principal does not have permission to perform this
        action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: forbidden
            message: You do not have access to this resource.
            status: 403
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````