> ## 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.

# Health check

> Service is healthy

### Response

`object`

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

<ResponseField name="timestamp" type="string (date-time)" required />

<ResponseField name="database" type="string">
  Present when the database is initialized
</ResponseField>

<ResponseField name="redis" type="string" />

<ResponseField name="redis_required" type="boolean">
  Present when Redis is configured
</ResponseField>

### Status codes

| Code  | Meaning            |
| ----- | ------------------ |
| `200` | Service is healthy |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.sandbox.stateset.app/health' \
    --header "Authorization: Bearer $STATESET_SANDBOX_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": "healthy",
    "timestamp": "2026-08-31T14:22:05Z",
    "database": "connected",
    "redis": "connected",
    "redis_required": true
  }
  ```
</ResponseExample>
