GET /memory/
Retrieve a single memory by its unique identifier. This endpoint is useful for fetching detailed information about a specific memory.Path Parameters
The unique identifier of the memory to retrieve.
Response
Indicates whether the request was successful.
The memory object with all its details.
Example Request
Example Response
Error Response
If the memory ID doesn’t exist:Use Cases
Memory Details
Display detailed information about a specific memory in the UI.
Verify Updates
Confirm that a memory was updated correctly after an edit operation.
Context Validation
Verify memory exists before performing operations that depend on it.
Audit Trail
Retrieve specific memories for debugging or audit purposes.
backend/main.py:308-317
Related Endpoints
- Get All Memories - Retrieve all memories for a user
- Search Memory - Find memories by content
- Update Memory - Modify an existing memory
- Get Memory History - View the change history of a memory