Skip to main content

Health

Whether the gateway is up and its database is ready. No sign-in.

OperationMethod and path
Process healthGET /healthz
Database and migration readinessGET /readyz

Process health​

GET /healthz

Sign-in: No sign-in.

Responses

StatusMeaningBody
200Successful operation
400Invalid request or unsupported protocolError
401Authentication requiredError
403Origin, ownership or role deniedError
404Record not foundError
409Bootstrap closed, idempotency route conflict or deleted conversationError
413Request body limit exceededError
429Rate or capacity limit reachedError
503Database unavailable or gateway restartingError
504I/O deadline exceededError

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

NameInRequiredTypeDescription
detailquery0, 1

Responses

StatusMeaningBody
200Ready; with detail=1 the readiness detailReadyDetail
400Invalid request or unsupported protocolError
401Authentication requiredError
403Origin, ownership or role deniedError
404Record not foundError
409Bootstrap closed, idempotency route conflict or deleted conversationError
413Request body limit exceededError
429Rate or capacity limit reachedError
503Not ready: with detail=1 the readiness detail, otherwise the errorReadyDetail or Error
504I/O deadline exceededError