health
Returns the node's operational status and the typed condition catalog that explains it.
Method: GET /health
Parameters: None
Returns: JSON object containing the overall status, network/version information, validator identity (validator mode), and the full condition catalog
HTTP status: 503 when status is unavailable; 200 for every other state.
Example Request:
curl -X GET http://localhost:9153/healthExample Response:
{
"status": "healthy",
"network": "bradbury-phase3",
"node_version": "v0.6.0",
"protocol_version": "0.3.0",
"genvm_version": "v0.0.18",
"validator_address": "0x1234567890abcdef1234567890abcdef12345678",
"validator_moniker": "my-validator",
"conditions": {
"chain.rpc": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"chain.sync": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:02:14Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"events.delivery": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:02:14Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"chain.websocket": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"consensus.ban": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"consensus.operator_funds": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"consensus.prime": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:04:41Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"consensus.stake": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"genvm.llm": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:31Z", "updated_at": "2026-09-01T10:29:56Z", "last_ok": "2026-09-01T10:29:56Z" },
"genvm.web": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:31Z", "updated_at": "2026-09-01T10:29:56Z", "last_ok": "2026-09-01T10:29:56Z" },
"node.disk": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"node.snapshot_age": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"submission.ledger": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"submission.recovery": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" },
"webdriver.render": { "state": "healthy", "occurrences": 0, "consecutive_failures": 0, "since": "2026-09-01T08:00:03Z", "updated_at": "2026-09-01T10:31:12Z", "last_ok": "2026-09-01T10:31:12Z" }
}
}Response Fields:
status(string): the most urgent state across the catalog —unknown,healthy,suspect,warning,degraded, orunavailablenetwork(string): The network the node is connected tonode_version,protocol_version,genvm_version(string): build versionsvalidator_address(string, validator mode only): The validator's addressvalidator_moniker(string, validator mode only): The validator's on-chain moniker; reported alongside the address even when emptyconditions(object): the full catalog. Every entry is always present — this is not a list of what is broken.state(string): current observed health; use this field to determine whether the capability is working.occurrences(number): accepted failed observations since process startconsecutive_failures(number): current failure streak; zero after recoverysince,updated_at,last_ok(string, optional): ISO 8601 lifecycle timestampsreason(string, present only when not healthy): stable, low-cardinality cause codeimpact(string, present only when not healthy): what the fault does to this nodeaction(string, present only when not healthy): what the operator should dodetails(object, present only when not healthy): typed fields explicitly allowlisted by the catalog entry. Raw provider payloads, prompts, credentials, URLs, and stack traces are rejected.
severity is not returned by this endpoint. Alert priority belongs to the alerting policy; clients that previously read conditions.*.severity should use state for current health.
States
| State | Meaning | Alerted |
|---|---|---|
unknown | The node never observed this condition. | no |
healthy | The last observation succeeded. | no |
suspect | One failure, not yet confirmed. It may clear by itself. | no |
warning | The capability works, and it is confirmed sub-optimal. | yes |
degraded | The failure is confirmed. The capability does not work. | yes |
unavailable | The node cannot do its duty at all. | yes |
Roll-up precedence, most urgent first: unavailable, degraded, warning, suspect, unknown, healthy.
unknown is not on that ladder. It is only ever the state a condition starts in, so it means "not observed yet", never "faulty". A GenVM module rests there until a transaction needs one; node.snapshot_age rests there on a node that takes no snapshots. Letting either gate the endpoint would report unknown for a node where nothing is wrong.
If no condition has been observed at all, status is unknown — nothing observed is not the same as nothing wrong.
Only unavailable returns 503.
503 means one thing: the node is deadlocked, and a restart is the fix. Use it for liveness (an automatic restart). A fault outside the process, such as a provider that is down, a full disk or a slow chain, is degraded at most (HTTP 200): a restart cannot fix it, and every restart misses duties, which the consensus contracts strike.
A condition can never exceed the liveness cap its catalog entry declares. The GenVM conditions are capped at degraded, so a dead LLM provider returns 200: that node is still booted, synced and voting — it votes Timeout on the transactions it cannot execute, which is the designed behaviour rather than an outage. Failing the endpoint would pull a working validator out of a load balancer.
Four conditions can return 503:
| Condition | Reason | 503 when |
|---|---|---|
chain.websocket | websocket_disconnected | The WebSocket endpoint has failed every check for 2 minutes. The node receives no new chain heads and no contract events. |
chain.rpc | chain_rpc_unreachable | The HTTP endpoint and the WebSocket endpoint have both failed every check for 30 seconds. The node is cut off from the chain. HTTP down alone is degraded: the node still sees the chain. |
chain.sync | sync_loop_stuck | The sync loop has given no sign of life for 5 minutes, and it does not wait to retry a block. See below. |
events.delivery | events_router_stuck | The event router has given no sign of life for 5 minutes, and it does not wait on a chain read. See below. |
A shorter transport failure is suspect, then degraded (HTTP 200). The checks run when a client calls this endpoint, so the windows are measured in time, not in checks. chain.websocket gives down_seconds and head_age_seconds (how long the subscription head has not changed, as far as this endpoint has seen it). chain.rpc gives down_seconds and websocket_down.
node.disk is capped at degraded (HTTP 200): a restart frees no space. It warns (disk_space_low) at 15% free or less, and it warns (disk_filling_up) when the volume fills at a rate that makes it full within 72 hours (details: hours_to_full). The rate is measured over 10 to 60 minutes of samples; it starts again when free space grows. At 2% free or less it is degraded (disk_space_critical). At 0% the store stops the process by itself.
submission.ledger is capped at degraded (HTTP 200, reason submission_ledger_unavailable): the ledger heals on the lane's next submission.
submission.ledger is updated directly by the submission lanes.
Check the ops.db volume for free space and storage errors. Submission and
reconciliation retry ledger reads and writes automatically; all affected lanes
must recover before the condition becomes healthy. Reading health does not
trigger recovery. Invalid ledger data at startup still refuses to start.
consensus.ban and consensus.operator_funds are capped at warning. A banned node, and a node whose operator balance is below the critical amount (reason operator_balance_critical), still syncs and serves; leaving rotation or a restart fixes neither.
consensus.prime and node.snapshot_age are capped at warning.
consensus.stake is capped at warning: below the minimum self-stake the node keeps syncing, and only the consensus contracts do not select the validator for duties. The reason is self_stake_pending when a pending self-stake deposit covers the gap (it becomes stake at the validator's prime in a later epoch), and self_stake_below_minimum otherwise.
submission.recovery is capped at degraded (reason submission_recovery_stalled). Each transaction manager of the node, the main one and every operational submission lane, runs a background loop that recovers the node's own sends while no duty runs: a held nonce, a failed cancellation, a nonce whose duty gave up. The condition is degraded when a loop was never started, or when no loop pass finished for longer than the pass deadline plus two loop intervals (150 seconds by default). The threshold is long on purpose: one pass may run up to its deadline, and a slow pass is not a stalled loop. A quiet node stays healthy, because the loop passes on every interval when there is nothing to do. The details give stalled_loops, loops, max_age_seconds and stall_after_seconds. Duties still send while it is degraded, so it does not return 503. The loop stops only on a defect: restart the node and report it. genlayer_node_transact_reconcile_last_tick_age_seconds shows when the main manager's loop last passed.
WebDriver render check
webdriver.render runs the same fresh render probe as doctor, using
webdriver_host from the configured GenVM's genvm-module-web.yaml. It requires
HTTP 200, Resulting-Status: 200, and exactly Hello world! from the diagnostic
page, within 10 seconds. It bypasses WebDriver's cached /healthcheck response.
The node renders at most once a minute: a /health request inside that minute
returns the last result at once, and updated_at shows when it was rendered.
One WebDriver can serve many validators, and a render on every probe would
saturate it.
A failure reports degraded with reason webdriver_check_failed and safe
failure, http_status and page_status details. The endpoint still returns
HTTP 200: a browser outage does not stop the node syncing and voting.
Allow time for the ten-second render deadline when setting a client timeout.
task devtools:nodes:health defaults to 15 seconds per request so a browser
timeout can return its diagnosis instead of appearing as an unreachable node.
genvm.web continues reporting the broader web module's boot and transaction
results. A successful direct browser check does not clear a web-module failure.
For genvm.start_manager: false, the manager owns the browser configuration.
The node leaves webdriver.render unknown instead of probing an unused local
root. Doctor likewise reports the browser as not checked; run it on the node
that owns the manager configuration. Observed genvm.web results still apply.
Example: the LLM provider is dead — HTTP 200
{
"status": "degraded",
"conditions": {
"genvm.llm": {
"state": "degraded",
"reason": "llm_request_failed",
"impact": "This validator cannot execute a transaction that needs an LLM. It votes Timeout, and the consensus contracts may penalize a Timeout vote.",
"action": "Check the affected LLM provider service and payment or billing status, restore access, or configure a working fallback. If credentials are changed through .env, restart the node.",
"occurrences": 2,
"consecutive_failures": 2,
"since": "2026-09-01T10:30:45Z",
"updated_at": "2026-09-01T10:31:12Z",
"last_ok": "2026-09-01T04:12:03Z"
}
}
}Example: the validator is banned — HTTP 200
{
"status": "warning",
"conditions": {
"consensus.ban": {
"state": "warning",
"reason": "validator_banned",
"impact": "The consensus contracts do not select this validator for a round. The node earns nothing.",
"action": "Wait for the stated epoch. If the ban is permanent, restake with a new validator.",
"details": { "until_epoch": "4182", "permanent": "false" },
"occurrences": 1,
"consecutive_failures": 1,
"since": "2026-09-01T09:14:02Z",
"updated_at": "2026-09-01T10:31:12Z",
"last_ok": "2026-09-01T09:13:52Z"
}
}
}chain.sync — 503 only when the sync loop is stuck
Depth is not a fault. A node syncing from genesis is millions of blocks behind and healthy while its synced block advances. A quiet chain is not a fault either: when the chain head is at the synced block there is nothing to sync, however long no block arrives.
The sync is blocked when the chain head is above the synced block and the synced block has not moved for 5 minutes. The node reads the chain head with a request (eth_blockNumber), not only from its head subscription, so a subscription that stopped delivering heads is also seen. The 5 minutes start when there is a block to sync: a failure at a block, an unreadable block, or the first check that saw the head above the synced block. A blocked sync is degraded: the sync loop still runs, and it retries the block, waits for an unreadable block, or replays a slow one. A restart does none of that faster.
The sync loop beats a heartbeat every 10 seconds, also while a replay or an unreadable block holds the cursor. A failure at a block and a failed read of an unreadable block also count as signs of life. The loop is stuck when it has given no sign of life for 5 minutes and it does not wait to retry a block (the retry backoff grows to 10 minutes). Only then is chain.sync unavailable.
| Reason | State | HTTP | When |
|---|---|---|---|
sync_lagging | warning | 200 | 1–100 blocks behind for 30 s while the lag grows or the synced block does not advance, or the sync cursor cannot be read. A lag that stays while the synced block advances, as on a chain that makes a block about every read, is not lagging |
sync_catching_up | degraded | 200 | More than 100 blocks behind, at any depth |
sync_block_unreadable | degraded | 200 | The node cannot read the logs of a block (details: unreadable_block, unreadable_seconds; past 5 minutes also chain_head, blocked_seconds) |
sync_blocked | degraded | 200 | The sync is blocked, or the sync loop failed 3 times in a row at one block (details: chain_head, blocked_seconds when blocked; failing_block, failures, failing_seconds, last_failure_seconds when the loop failed at a block) |
sync_loop_stuck | unavailable | 503 | The sync loop is stuck (details: heartbeat_seconds, plus the block numbers) |
The node never skips a duty because it is behind. It votes Timeout only on a transaction that reads state it has not synced; a new contract deploy still runs.
events.delivery — 503 only when the event router is stuck
The event router publishes each block's contract events to the duty watchers. The sync path reads the chain on its own, so chain.sync cannot see a router that stopped: such a node reports synced and takes no duty. events.delivery compares the router's last routed block with the chain head (the same head chain.sync reads).
A quiet chain is not a fault: with the chain head fewer than 10 blocks past the routed block there is nothing to route. The stall window opens when the head first moves 10 blocks past the routed block, so a burst of blocks after a quiet chain is new work, not a stall. A routed block that does not move is degraded: a slow chain read or one heavy block holds a live router, and a restart reads no faster.
The router loops beat a heartbeat every 30 seconds, also on a quiet chain. A chain read is a wait, not silence. The router is stuck when one of its loops has given no sign of life for 5 minutes outside a chain read. Only then is events.delivery unavailable.
| Reason | State | HTTP | When |
|---|---|---|---|
events_delivery_lagging | degraded | 200 | The chain head is more than 100 blocks past the routed block and the routed block still advances |
events_delivery_stalled | degraded | 200 | The routed block has not moved for 2 minutes while the head is at least 10 blocks past it |
events_router_stuck | unavailable | 503 | The router is stuck (details: heartbeat_seconds, routed_block) |
details of the degraded reasons: routed_block, chain_head, lag_blocks, no_progress_seconds (how long the stall window has been open). The metrics genlayer_node_routed_block and genlayer_node_event_delivery_lag_blocks show the same values over time.
How to read it: events_router_stuck is a router that stopped; the orchestrator restarts the node; report it with its logs from routed_block. events_delivery_stalled with no_progress_seconds that keeps growing is a router that waits on the chain; check the chain RPC endpoint. events_delivery_lagging with a routed_block that grows is a node catching up; watch it.
cURL Example with Headers:
curl -X GET http://localhost:9153/health \
-H "Accept: application/json" \
-v