Skip to content

Readyz

GET
/readyz
curl --request GET \
--url http://localhost:8000/readyz

Readiness for load balancers and deploy scripts (FR-12.30, ADR 0070): 200 ready or degraded while requests can be answered, 503 not_ready when the ledger cannot be written or no teacher can answer. The probes run on their own two threads, never the request pool, each awaited at most 2 s and reused for 15 s (readiness.Readiness). Public; the answer names states, statuses and exception classes, never URLs, keys or messages. A 503 here is an answer, not a failed request: it writes no failures row, however often a load balancer asks.

Successful Response

Media typeapplication/json

Example generated

example