Skip to main content

Operations endpoints

Unauthenticated endpoints for orchestrators and monitoring. Serve them on an internal network only.

GET /healthz​

Liveness. Returns 200 {"status": "ok"} whenever the process is serving, without touching the database or Redis.

GET /readyz​

Readiness. Runs SELECT 1 against PostgreSQL and pings Redis, then returns 200 {"status": "ready"}. If either is unreachable the request fails, so a load balancer stops routing to an instance that couldn't record a decision.

GET /metrics​

Prometheus text exposition, present when AGENTIC_AUTH_METRICS_ENABLED=true (the default). It is not in the OpenAPI document. Labels carry no agent, user, session or target identities. With more than one worker, set PROMETHEUS_MULTIPROC_DIR to an empty writable directory so the endpoint aggregates across them.

Observe the guardrail covers what to alert on.

The gateway serves its own GET /v1/gateway/healthz and GET /metrics; see Deploy the gateway PEP.