- Memories
- Get Memory Stats
Memories
Get Memory Stats
GET
/assistants/{assistant_id}/memories/stats
curl --request GET \
--url https://app.backboard.io/api/assistants/{assistant_id}/memories/stats \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>'
curl --request GET \
--url https://app.backboard.io/api/assistants/{assistant_id}/memories/stats \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>'Overview
Returns memory usage and limits for an assistant: total count, content signals, and quota information.
Use this when you need a quick count before adding memories, or to show usage in your own UI.
What you get back
| Field | Description |
|---|---|
total_memories | How many memories exist right now |
memory_types | Rough categories (personal info, preferences, professional, health) inferred from content |
has_personal_info | Whether any memory looks like personal identity info |
has_preferences | Whether any memory looks like user preferences |
last_updated | When the most recently updated memory changed |
limits | Your plan’s memory cap and how much is used |
SDK
stats = await client.get_memory_stats(assistant_id)
print(stats.total_memories)
curl --request GET \
--url https://app.backboard.io/api/assistants/{assistant_id}/memories/stats \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>'
curl --request GET \
--url https://app.backboard.io/api/assistants/{assistant_id}/memories/stats \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>'