Get memory statistics
memory_statsRetrieve statistics on stored memories, organized by type and collection, to monitor and analyze your persistent context data.
Instructions
Show statistics about stored memories (by type and collection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total number of memories. | |
| by_type | Yes | Count per memory_type. | |
| message | Yes | Human-readable statistics (same as content text). | |
| by_collection | Yes | Count per collection slug. | |
| storage_bytes_used | No | Total storage bytes used (content + metadata + embedding). | |
| storage_bytes_limit | No | Plan storage limit in bytes (-1 = unlimited). |