Get index statistics
Returns document and chunk counts, counts by source type and by agent,
the embedding model, skipped files, the last rhebok bench report, the
hook and MCP tiers, the hook threshold, and memory counts by kind. A
machine that has never indexed answers zeros rather than an error.
Response
The index statistics.
documents
chunks
by_source
Document count per source type.
sessions_by_agent
Indexed session count per agent id (claude-code, codex).
model
The embedding model the index was built with, or null.
skipped
Skipped files, without the ones the ignore list already covers.
skipped_ignored
How many skipped files the ignore list covers.
bench
bench_provenance
What the last bench run measured against, so two runs can be compared.
bench_at
Unix seconds when the bench report was written.
tiers
hook_threshold
memory
Memory count per kind (lesson, fact, episode).
Errors
421
Misdirected Request Error
500
Internal Server Error
503
Service Unavailable Error