Skip to content

lb health

Terminal window
lb health [options]

lb health prints a summary of your knowledge graph's current state. Use it to check whether captures are processing normally, how many nodes exist, and whether any nodes have gone stale.

| Option | Type | Description | |--------|------|-------------| | --json | flag | Output raw JSON. | | --api-url <url> | string | Override the API base URL. |

| Metric | Description | |--------|-------------| | Total nodes | Total number of nodes in your graph. | | Validated nodes | Nodes that have been processed and indexed successfully. | | Total captures | All capture jobs submitted, including completed and pending. | | Pending captures | Captures currently queued or in-flight. | | Total links | Number of edges in the knowledge graph. | | Stale nodes | Nodes that have not been updated or validated within the expected window. |

Print graph health:

Terminal window
lb health

Output as JSON for monitoring or scripting:

Terminal window
lb health --json | jq '.pending_captures'