curl -s https://api.usedatabrain.com/health/live
{
"status": "live"
}
curl -s https://api.usedatabrain.com/health/live
{
"status": "live"
}
Verify liveness and readiness of the backend and its dependencies (Hasura, Keycloak, Postgres). Used for load balancer and Kubernetes probes. No authentication required.
curl -s https://api.usedatabrain.com/health/live
{
"status": "live"
}
curl -s https://api.usedatabrain.com/health/live
{
"status": "live"
}
Health check endpoints for monitoring and orchestrator probes.Documentation Index
Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /health/live confirms the process is running. GET /health/ready verifies dependencies (Hasura, Keycloak, Postgres) are reachable. Both work for self-hosted and cloud deployments.
/health. If your deployment uses a path prefix (e.g. /api), use /api/health/live and /api/health/ready. For self-hosted, replace the host with your instance URL.GET https://api.usedatabrain.com/health/live
GET https://api.usedatabrain.com/health/ready
GET <SELF_HOSTED_URL>/health/live
GET <SELF_HOSTED_URL>/health/ready
GET /health/live. Expect 200 and {"status":"live"}. Use for liveness probes.GET /health/ready. Expect 200 and {"status":"ready","checks":{...}} when all dependencies are up. Inspect checks for per-service status.DOWN or UNKNOWN, the response is 503 and status is not_ready."live" when the server responds. Indicates the process is running."ready" when all configured dependency checks pass.{HASURA_ENDPOINT}/healthz. No change required on Hasura; backend uses the existing endpoint."UP" when Hasura is reachable, "DOWN" when unreachable, "UNKNOWN" when HASURA_ENDPOINT is not configured.{HASURA_ENDPOINT}/healthz. Present when a response was received. Absent on network/fetch errors.status is "DOWN" or "UNKNOWN". Error message or configuration hint (e.g. "HASURA_ENDPOINT not configured").KEYCLOAK_SERVER_URL is set. Keycloak health via {KEYCLOAK_SERVER_URL}/health/live."UP" or "DOWN".status is "DOWN". Error message.HASURA_ENDPOINT is set. Postgres reachability via Hasura strict health ({HASURA_ENDPOINT}/healthz?strict=true)."UP" or "DOWN".status is "DOWN". Error message."not_ready" when one or more checks failed.status: "DOWN" or "UNKNOWN".| Service | Config | Check URL | In checks when |
|---|---|---|---|
| Hasura | HASURA_ENDPOINT | {endpoint}/healthz | Always |
| Keycloak | KEYCLOAK_SERVER_URL | {url}/health/live | When config is set |
| Postgres | (via HASURA_ENDPOINT) | {HASURA_ENDPOINT}/healthz?strict=true | When Hasura config is set |
| Status Code | Endpoint | Description |
|---|---|---|
200 | GET /health/live | OK – Process is running; {"status":"live"} |
200 | GET /health/ready | OK – All configured checks pass; {"status":"ready","checks":{...}} |
503 | GET /health/ready | Service Unavailable – One or more checks failed; {"status":"not_ready","checks":{...}} |
statusCode is omitted when the check fails due to network/connection errors (e.g. ECONNREFUSED).GET /health/live for liveness and GET /health/ready for readiness.SIGTERM or SIGINT, the server stops accepting new connections and waits for in-flight requests to complete. If shutdown is not complete within 30 seconds, the process exits forcefully. Set terminationGracePeriodSeconds to at least 35 when using Kubernetes.