Skip to content
Get started

Memory

Retrieve
projects.memory.retrieve(strproject_id) -> MemoryRetrieveResponse
GET/projects/{projectId}/memory
Update
projects.memory.update(strproject_id, MemoryUpdateParams**kwargs) -> MemoryUpdateResponse
PUT/projects/{projectId}/memory
ModelsExpand Collapse
class MemoryRetrieveResponse: …
memory: Memory

Public JSON shape returned by GET endpoints

id: str

The memory ID — deterministic from scope + parent IDs (example: “mem_team_team_abc”)

content: str

Markdown content of the memory

created_at: str

ISO 8601 timestamp when the memory was first written

size_bytes: float

UTF-8 byte length of the content — used for quota enforcement

updated_at: str

ISO 8601 timestamp when the memory was last updated

updated_by: str

The userId of the last writer — useful for audit/UI

class MemoryUpdateResponse: …
memory: Optional[Memory]

Public JSON shape returned by GET endpoints

id: str

The memory ID — deterministic from scope + parent IDs (example: “mem_team_team_abc”)

content: str

Markdown content of the memory

created_at: str

ISO 8601 timestamp when the memory was first written

size_bytes: float

UTF-8 byte length of the content — used for quota enforcement

updated_at: str

ISO 8601 timestamp when the memory was last updated

updated_by: str

The userId of the last writer — useful for audit/UI