For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Health

Technical contract for checking service availability and runtime health.

Health endpoints are intended for Kubernetes probes, load balancers, monitoring systems, and platform operators. They are mounted at the Data Product root, not under /api/v1, and do not require authentication.

Liveness Probe

API endpoint: GET /livez

Description: Confirm that the API process is alive. A liveness monitor can restart the process if this probe stops responding successfully.

cURL:

Liveness probe
curl "$PRODUCT_BASE_URL/livez"

Returns: 200 OK

{
  "status": "alive"
}

Readiness Probe

API endpoint: GET /readyz

Description: Confirm that the API is ready to receive traffic. Use readiness, not only liveness, before submitting queries.

cURL:

Readiness probe
curl "$PRODUCT_BASE_URL/readyz"

Returns: 200 OK: ready:

503 Service Unavailable: not ready:

The service can be temporarily unready during startup, after repeated worker failures, or before the worker completes its startup grace period.


Prometheus Metrics

API endpoint: GET /metrics

Description: Expose API runtime metrics for Prometheus scraping, including HTTP, cache, gateway, queue, and semantic-compilation measurements.

cURL:

Returns: 200 OK with Prometheus text exposition format. A metrics-generation failure returns 500 with a text error comment.

Last updated

Was this helpful?