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

# GET /api/status

> Returns the current operational status of the HyperAuth chain RPC and D1 database for health checks and uptime monitors, served with permissive CORS.

Returns the current operational status of the chain and database. Served with CORS headers (used by widget embeds cross-origin).

## Response

```json theme={null}
{
  "chain": "Base Sepolia",
  "chainId": 84532,
  "rpc": "https://sepolia.base.org",
  "database": "connected"
}
```

`database` is `"connected"` when a `SELECT 1` against `SESSION_DB` succeeds, otherwise `"unavailable"`.
