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

> Check the health status of the API service and its components.

Check the health status of the API service and its components.

### Response

`RouterHealthResponse`

**status** `string` *required*

Overall service status

**timestamp** `string (date-time)`

Response timestamp

**version** `string` *required*

API version

**uptime** `number` *required*

Service uptime in seconds

**components** `object`

Component statuses keyed by component name

### Status codes

| Code | Meaning |
| - | - |
| `200` | Service is healthy |
| `401` | Authentication required |
| `422` | Validation error |
| `429` | Rate limit exceeded |
| `503` | Service is unhealthy |

```bash cURL theme={null}
curl --request GET \
  --url 'http://localhost:8000/health' \
  --header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
```

```json 200 theme={null}
{
  "status": "pending",
  "timestamp": "2026-08-31T14:22:05Z",
  "version": "2026-08-01",
  "uptime": 1.5,
  "components": {}
}
```


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