lb health
Synopsis
Section titled “Synopsis”lb health [options]Description
Section titled “Description”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.
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--json | flag | Output raw JSON. |
--api-url <url> | string | Override the API base URL. |
Metrics
Section titled “Metrics”| 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. |
Examples
Section titled “Examples”Print graph health:
lb healthOutput as JSON for monitoring or scripting:
lb health --json | jq '.pending_captures'