GET
/readyz
const url = 'http://localhost:8000/readyz';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/readyzReadiness 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.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Example generated
example