Expand description
Database statistics and health overview.
Provides a quick summary of whatโs indexed: document counts, chunk counts,
embedding coverage, and per-source breakdowns. Used by ctx stats to give
confidence that syncs and embeddings are working as expected.
Functionsยง
- format_
bytes ๐ - Format a byte count as a human-readable string.
- format_
ts_ ๐iso - format_
ts_ ๐relative - Format a Unix timestamp as a relative time string (e.g. โ3 hours agoโ).
- run_
stats - Run the stats command: query the database and print a summary.