POST /memory/get_all
Retrieve all memories stored for a specific user. You can optionally filter by memory type to get only specific categories of memories.Request Body
Unique identifier for the user whose memories you want to retrieve.
Optional filter to retrieve only memories of a specific type. Valid values:
LONG_TERM- Permanent personal facts and preferencesSHORT_TERM- Temporary states and current activitiesEPISODIC- Past events with specific time contextSEMANTIC- General knowledge and factsPROCEDURAL- How-to knowledge and workflows
Response
Indicates whether the request was successful.
Array of all memories for the user.
Example Request
Get all memories for a user:Example Response
Use Cases
Memory Dashboard
Display all stored memories in the Brain Panel UI for user review.
Context Loading
Load all relevant memories when starting a new session or conversation.
Data Export
Export user’s complete memory profile for backup or migration.
Memory Management
Review and manage memories by type for cleanup or organization.
Performance Considerations
Source:backend/main.py:246-260
Related Endpoints
- Search Memory - Search for specific memories (recommended for large datasets)
- Get Memory - Retrieve a single memory by ID
- Delete Memory - Delete specific or all memories