v3

latestOpenAPI 3.0.1Apache 2.02026-08-065516357.9 KB
memories

Retrieve the history of a memory.

get/v1/memories/{memory_id}/history/

Path parameters

memory_idstring uuid required

The unique identifier of the memory to retrieve.

Response

Successfully retrieved the memory history.

idstring uuid required

Unique identifier for the history entry.

memory_idstring uuid required

Unique identifier of the associated memory.

old_memorystring nullable

The previous state of the memory, if applicable

new_memorystring required

The new or updated state of the memory

user_idstring required

The identifier of the user associated with this memory

agent_idstring nullable

The identifier of the agent associated with this memory, if any.

app_idstring nullable

The identifier of the app associated with this memory, if any.

session_idstring nullable

The run identifier associated with this memory, returned as session_id.

categoriesstring[] nullable

Categories associated with the memory at this point in its history

event'ADD' | 'UPDATE' | 'DELETE' required

The type of event that occurred

previous_embedding_qwenstring nullable

Previous internal embedding representation (Qwen model), if applicable

embedding_qwenstring nullable

Internal embedding representation (Qwen model), if available

metadataobject nullable

Additional metadata associated with the memory change

created_atstring date-time required

The timestamp when this history entry was created.

updated_atstring date-time required

The timestamp when this history entry was last updated.