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

# Health Check

> Liveness/health check for Railway monitoring and the in-container watchdog.

Declared ``async`` (not ``def``) so it is served directly on the event loop
and never needs an anyio threadpool slot. A flood of slow *synchronous*
endpoints (e.g. /v1/categories' 3-4s aggregation) can pin all 40 threadpool
threads; a sync /health would queue behind them, miss the watchdog's
consecutive liveness checks, and trip the hard-exit crash loop (issue #203).
Returning a static payload off the threadpool keeps liveness answerable
under that load.



## OpenAPI

````yaml /openapi.json get /health
openapi: 3.1.0
info:
  title: AgentPowers API
  description: Paid marketplace for Claude Code skills and agents
  version: 0.1.0
servers:
  - url: https://api.agentpowers.ai
    description: Production
security: []
paths:
  /health:
    get:
      tags:
        - system
      summary: Health Check
      description: >-
        Liveness/health check for Railway monitoring and the in-container
        watchdog.


        Declared ``async`` (not ``def``) so it is served directly on the event
        loop

        and never needs an anyio threadpool slot. A flood of slow *synchronous*

        endpoints (e.g. /v1/categories' 3-4s aggregation) can pin all 40
        threadpool

        threads; a sync /health would queue behind them, miss the watchdog's

        consecutive liveness checks, and trip the hard-exit crash loop (issue
        #203).

        Returning a static payload off the threadpool keeps liveness answerable

        under that load.
      operationId: health_check_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
components:
  schemas:
    HealthResponse:
      properties:
        status:
          type: string
          title: Status
        version:
          type: string
          title: Version
      type: object
      required:
        - status
        - version
      title: HealthResponse

````