Try it
button to try this API now in our playground. It’s the best way to check the full request and response in one place, customize your parameters, and generate ready-to-use code snippets.Sample Request
Overview
Retrieve all stored memories for a specific user within a tenant/sub-tenant combination to view and manage the user’s complete memory profile.Functionality
- Complete Memory Retrieval: Fetches all user memories
- Tenant-Based Filtering: Returns memories specific to the provided tenant and sub-tenant combination
- Simplified Response: Provides essential memory information including unique IDs and content
- User Context Integration: Automatically filters memories based on the authenticated user
- Memory Management: Enables you to review and manage stored user memories
Use Cases
- Memory Audit: Review all stored memories for a user to ensure data quality
- User Profile Overview: Get a complete picture of what the system knows about a user
- Memory Management: Identify memories that may need updating or deletion
- Debugging: Troubleshoot issues with user personalization by examining stored memories
- Data Export: Retrieve all user memories for data analysis or migration
With Optional Sub-tenant
Important Notes
memory_id
that can be used with the Delete User Memory endpoint to remove specific memories.Response Fields
Field | Type | Description |
---|---|---|
success | boolean | Indicates whether the operation was successful |
user_memories | array | List of user memory objects |
user_memories[].source_id | string | Unique identifier for the memory |
user_memories[].source_content | string | The actual content of the memory |
Error Responses
All endpoints return consistent error responses following the standard format. For detailed error information, see our Error Responses documentation.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Unique identifier for the tenant/organization
"tenant_1234"
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
"sub_tenant_4567"
Response
Successful Response
Response model for listing all user memories.
Indicates whether the memory listing operation was successful
true
Array of all user memories associated with your tenant
[
{
"memory_id": "memory_1234",
"memory_content": "I prefer detailed technical explanations and works in the Pacific timezone"
},
{
"memory_id": "memory_4567",
"memory_content": "I prefer dark mode"
}
]