Health
Whether the gateway is up and its database is ready. No sign-in.
| Operation | Method and path |
|---|---|
| Process health | GET /healthz |
| Database and migration readiness | GET /readyz |
Process health
GET /healthz
Sign-in: No sign-in.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Successful operation | |
| 400 | Invalid request or unsupported protocol | Error |
| 401 | Authentication required | Error |
| 403 | Origin, ownership or role denied | Error |
| 404 | Record not found | Error |
| 409 | Bootstrap closed, idempotency route conflict or deleted conversation | Error |
| 413 | Request body limit exceeded | Error |
| 429 | Rate or capacity limit reached | Error |
| 503 | Database unavailable or gateway restarting | Error |
| 504 | I/O deadline exceeded | Error |
Database and migration readiness
GET /readyz
Without detail (or detail=0): 200 with an empty body when the database and migrations are ready. With detail=1 (administrators; a session or a personal token): the readiness detail, 200 when every check passes and 503 otherwise.
Sign-in: No sign-in.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
detail | query | 0, 1 |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Ready; with detail=1 the readiness detail | ReadyDetail |
| 400 | Invalid request or unsupported protocol | Error |
| 401 | Authentication required | Error |
| 403 | Origin, ownership or role denied | Error |
| 404 | Record not found | Error |
| 409 | Bootstrap closed, idempotency route conflict or deleted conversation | Error |
| 413 | Request body limit exceeded | Error |
| 429 | Rate or capacity limit reached | Error |
| 503 | Not ready: with detail=1 the readiness detail, otherwise the error | ReadyDetail or Error |
| 504 | I/O deadline exceeded | Error |