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

# GraphQL — health

> Liveness probe, available as a GraphQL query and a plain GET endpoint.

```graphql GraphQL theme={"theme":"css-variables"}
query {
  health {
    ok
    service
    processRole
  }
}
```

| Field         | Type       | Meaning                                                  |
| ------------- | ---------- | -------------------------------------------------------- |
| `ok`          | `Boolean!` | `true` when the API process is serving                   |
| `service`     | `String!`  | Service name                                             |
| `processRole` | `String!`  | Which role this process runs (API vs worker deployments) |

The same payload is available without GraphQL:

```bash cURL theme={"theme":"css-variables"}
curl https://api.chance.money/health
# {"ok":true,"service":"...","processRole":"..."}
```

This is a **liveness** probe — it says the process is up, not that every downstream (indexer, realtime pipeline) is healthy. For integration monitoring, a periodic probe every 30–60 seconds is plenty; back off on failure rather than tightening the loop.
