Skip to content
Get started

Memories

List, get, update, and delete content and memories

Forget a memory
memories.forget(MemoryForgetParams**kwargs) -> MemoryForgetResponse
DELETE/v4/memories
Update a memory (creates new version)
memories.update_memory(MemoryUpdateMemoryParams**kwargs) -> MemoryUpdateMemoryResponse
PATCH/v4/memories
ModelsExpand Collapse
class MemoryForgetResponse:

Response after forgetting a memory

id: str

ID of the memory that was forgotten

forgotten: bool

Indicates the memory was successfully forgotten

class MemoryUpdateMemoryResponse:

Response after updating a memory

id: str

ID of the newly created memory version

created_at: str

When this memory version was created

formatdatetime
forget_after: Optional[str]

When this memory will be auto-forgotten, or null if no expiry

formatdatetime
forget_reason: Optional[str]

Reason for the scheduled forgetting, or null

memory: str

The content of the new memory version

parent_memory_id: Optional[str]

ID of the memory this version updates

root_memory_id: Optional[str]

ID of the first memory in this version chain

version: float

Version number of this memory entry