KB Health
kb_healthCheck knowledge base health: index staleness, write-side state, degraded flag, and pending maintenance actions requiring operator confirmation.
Instructions
Return service health: kb_commit, index_built_at, staleness, degraded flag, and write-side state (pending_count, push_queue_size, last_index_*).
verbose: False (default) returns a token-compact shape that keeps the core snapshot and OMITS diagnostic fields that are null/empty (e.g. last_index_error, remote_head_sha when unset). verbose=True returns every field including the nulls.
pending_actions, when present, lists open maintenance items (missing
status fields, recently-expired/expiring-soon docs) computed at the
last index build; it is omitted when the corpus is clean. Surface it
to the operator and act on it only with operator confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | False returns the compact response; true includes all fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||