Liveness and readiness probes for monitoring the peaqOS MCR API server.
Documentation Index
Fetch the complete documentation index at: https://docs.peaq.xyz/llms.txt
Use this file to discover all available pages before exploring further.
200 whenever the process is running. Does not check chain connectivity or contract readiness.
| Field | Type | Description |
|---|---|---|
status | string | Always "ok" when the process is running |
200 while the server process is alive.
200 when all checks pass and 503 when any check fails.
| Field | Type | Description |
|---|---|---|
status | string | "ready" |
rpc_connected | boolean | true when the RPC node is reachable |
contracts.identity_registry | boolean | IdentityRegistry contract callable |
contracts.identity_staking | boolean | IdentityStaking contract callable |
contracts.event_registry | boolean | EventRegistry contract callable |
contracts.machine_nft | boolean | MachineNFT contract callable |
contracts.admin_flags | boolean | AdminFlags contract callable. Returns true when the contract address is not configured. AdminFlags is optional, so the readiness probe skips the call and reports ready. |
contracts.did_registry | boolean | DID precompile callable |
status is "not_ready" and one or more boolean fields are false.
| Status | Condition |
|---|---|
| 503 | Any contract unreachable, RPC failure, or services not initialised |
IDENTITY_REGISTRY_ADDRESS): every field is false, including rpc_connected and contracts.admin_flags.false. When ADMIN_FLAGS_ADDRESS is unset, contracts.admin_flags is true: AdminFlags is optional, the probe skips it, and that field never blocks readiness.