Examples
- API Request
- TypeScript
- Python (Sync)
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
Sub-tenant Default: If no sub_tenant_id is provided, the system uses DEFAULT sub-tenant which was created while creating the tenant.
Important Notes
Memory IDs: Each memory has a unique
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 |