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

# Health Check

> Check the health of all server components.

Verifies connectivity to PostgreSQL, the checkpoint backend, and the
store backend. Returns 503 if any component is unhealthy.



## OpenAPI

````yaml /openapi.json get /health
openapi: 3.1.0
info:
  title: Aegra
  description: Production-ready Agent Protocol server
  version: 0.9.24
servers: []
security: []
tags:
  - name: Assistants
    description: A configured instance of a graph.
  - name: Threads
    description: Accumulated state and outputs from a group of runs.
  - name: Thread Runs
    description: Invoke a graph on a thread, updating its persistent state.
  - name: Stateless Runs
    description: Invoke a graph without state or memory persistence.
  - name: Crons
    description: Scheduled recurring runs on a cron schedule.
  - name: Store
    description: Persistent key-value and semantic storage available from any thread.
  - name: Event Streaming
    description: Agent Protocol v2 thread event streaming and commands.
  - name: Health
    description: Server health checks and service information.
paths:
  /health:
    get:
      tags:
        - Health
      summary: Health Check
      description: |-
        Check the health of all server components.

        Verifies connectivity to PostgreSQL, the checkpoint backend, and the
        store backend. Returns 503 if any component is unhealthy.
      operationId: health_check_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentProtocolError'
components:
  schemas:
    HealthResponse:
      properties:
        status:
          type: string
          title: Status
          description: 'Overall health status: ''healthy'' or ''unhealthy''.'
        database:
          type: string
          title: Database
          description: PostgreSQL connection status.
        langgraph_checkpointer:
          type: string
          title: Langgraph Checkpointer
          description: Checkpoint backend connection status.
        langgraph_store:
          type: string
          title: Langgraph Store
          description: Store backend connection status.
      type: object
      required:
        - status
        - database
        - langgraph_checkpointer
        - langgraph_store
      title: HealthResponse
      description: Health check response model
    AgentProtocolError:
      properties:
        error:
          type: string
          title: Error
          description: Error type
        message:
          type: string
          title: Message
          description: Human-readable error message
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
          description: Additional error details
      type: object
      required:
        - error
        - message
      title: AgentProtocolError
      description: Standard Agent Protocol error response

````