Skip to main content
GET
https://api.memoclaw.com
/
v1
/
stats
Memory Stats
curl --request GET \
  --url https://api.memoclaw.com/v1/stats
{
  "total_memories": 123,
  "pinned_count": 123,
  "never_accessed": 123,
  "total_accesses": 123,
  "avg_importance": 123,
  "oldest_memory": "<string>",
  "newest_memory": "<string>",
  "by_type": [
    {}
  ],
  "by_namespace": [
    {}
  ]
}
Price: FREE Returns aggregate statistics about your stored memories, broken down by type and namespace.

Response (200)

total_memories
number
Total number of active (non-deleted, non-expired) memories.
pinned_count
number
Number of pinned memories.
never_accessed
number
Memories that have never been recalled.
total_accesses
number
Sum of all access counts across all memories.
avg_importance
number
Average importance score across all memories.
oldest_memory
string
ISO 8601 timestamp of the oldest memory.
newest_memory
string
ISO 8601 timestamp of the newest memory.
by_type
array
Memory count grouped by type.
by_namespace
array
Memory count grouped by namespace.

Example

curl https://api.memoclaw.com/v1/stats
Response
{
  "total_memories": 142,
  "pinned_count": 8,
  "never_accessed": 23,
  "total_accesses": 891,
  "avg_importance": 0.64,
  "oldest_memory": "2025-06-01T08:00:00Z",
  "newest_memory": "2026-02-13T10:30:00Z",
  "by_type": [
    { "memory_type": "preference", "count": 45 },
    { "memory_type": "general", "count": 38 },
    { "memory_type": "observation", "count": 25 },
    { "memory_type": "decision", "count": 18 },
    { "memory_type": "project", "count": 12 },
    { "memory_type": "correction", "count": 4 }
  ],
  "by_namespace": [
    { "namespace": "default", "count": 89 },
    { "namespace": "project-memoclaw", "count": 35 },
    { "namespace": "client-acme", "count": 18 }
  ]
}