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

# Health Route

> Component-level health, including the GPU inference servers.

Always answers 200, even when degraded: the API can still serve usage, keys,
voices and billing with the inference VMs down, so a non-200 here would make a
load balancer pull a working API out of rotation. Read `status` and
`components`, not the HTTP code.

Served at both /health and /v1/health because the playground probes both.



## OpenAPI

````yaml https://api.somya.ai/openapi.json get /v1/health
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /v1/health:
    get:
      tags:
        - health
      summary: Health Route
      description: >-
        Component-level health, including the GPU inference servers.


        Always answers 200, even when degraded: the API can still serve usage,
        keys,

        voices and billing with the inference VMs down, so a non-200 here would
        make a

        load balancer pull a working API out of rotation. Read `status` and

        `components`, not the HTTP code.


        Served at both /health and /v1/health because the playground probes
        both.
      operationId: health_route_v1_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
components:
  schemas:
    HealthResponse:
      properties:
        status:
          type: string
          enum:
            - ok
            - degraded
          title: Status
        components:
          $ref: '#/components/schemas/HealthComponents'
      type: object
      required:
        - status
        - components
      title: HealthResponse
    HealthComponents:
      properties:
        api:
          type: string
          enum:
            - ok
            - down
            - not_configured
          title: Api
        database:
          type: string
          enum:
            - ok
            - down
            - not_configured
          title: Database
        tts:
          type: string
          enum:
            - ok
            - down
            - not_configured
          title: Tts
        asr:
          type: string
          enum:
            - ok
            - down
            - not_configured
          title: Asr
      type: object
      required:
        - api
        - database
        - tts
        - asr
      title: HealthComponents

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.