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

# GET /health

> API health — unauthenticated

```http theme={null}
GET /health
```

The only endpoint that never requires a key, regardless of
`HAKI_AUTH_REQUIRED`. Runs `SELECT 1` to check the Postgres connection.

### Response — `200 OK`

<ResponseField name="status" type="string" default="ok" />

<ResponseField name="database" type="string" default="up" />

<RequestExample>
  ```bash curl theme={null}
  curl http://localhost:8100/health
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {"status": "ok", "database": "up"}
  ```
</ResponseExample>

Used by `haki connect` and `haki status` (both the Python and TypeScript
CLIs) to measure connection latency.
