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

# V1 Health

> Return 200 with a minimal liveness payload, or 503 on db failure.

Return 200 with a minimal liveness payload, or 503 on db failure.

### Response

`HealthResponse`

<ResponseField name="status" type="string" required />

<ResponseField name="service" type="string" required>
  Static service identifier.
</ResponseField>

<ResponseField name="timestamp" type="string" required>
  ISO 8601 UTC timestamp of the check.
</ResponseField>

<ResponseField name="checks" type="object" required>
  Per-component check results. Currently only `database`.
</ResponseField>

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `200` | Successful Response |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.computer.stateset.app/api/v1/health' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": "ok",
    "service": "string",
    "timestamp": "2026-08-31T14:22:05Z",
    "checks": {}
  }
  ```
</ResponseExample>
