memory_stats
Monitor memory store health, identify dormant memories, and get per-namespace counts and confidence distribution to assess knowledge base state.
Instructions
Return health statistics for the memory store. Use to monitor memory growth, identify dormant memories, and get a per-namespace breakdown of counts and confidence distribution. Call at session start alongside memory_context to assess the state of the knowledge base.
stats.dormant_count reports memories untouched for 90+ days — a resting
signal only, never a confidence change. Dormant memories wake automatically on
recall via spreading activation. Memory is never auto-forgotten.
flag_stale is deprecated and ignored — auto-demotion to stale contradicted
the never-forget model and has been removed. Retained so existing callers do not
error. namespace scopes the stats to a single namespace; omit for global.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| flag_stale | No |