Toast
API Reference

Health

Liveness and readiness probes for orchestrator health checks.

Liveness check

GET
/healthz

Basic liveness endpoint to verify the service is running.

Response Body

application/json

curl -X GET "https://loading/healthz"
{
  "status": "ok"
}

Readiness check

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://loading/healthz/ready"
{
  "status": "ok",
  "database": "connected"
}
{
  "status": "error",
  "database": "disconnected"
}