Skip to main content

GET /memory/

Retrieve a single memory by its unique identifier. This endpoint is useful for fetching detailed information about a specific memory.

Path Parameters

string
required
The unique identifier of the memory to retrieve.

Response

boolean
Indicates whether the request was successful.
object
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.
Source: backend/main.py:308-317