Toast
API Reference

Health

Liveness and readiness probes for orchestrator health checks.

GET
/healthz

Basic liveness endpoint to verify the service is running.

Response Body

application/json

curl -X GET "https://example.com/healthz"
{  "status": "ok"}
GET
/healthz/ready

Checks database connectivity to determine if service is ready to handle requests.

Response Body

application/json

application/json

curl -X GET "https://example.com/healthz/ready"
{  "status": "ok",  "database": "connected"}
{  "status": "error",  "database": "disconnected"}