Retrieve Agent Memory

Retrieve the memory state of a specific agent. This endpoint fetches the current memory state of the agent identified by the user ID and agent ID.

Authentication

AuthorizationBearer

Header authentication of the form Bearer <token>

Path parameters

agent_idstringRequired

Response

Successful Response
blockslist of objects

Memory blocks contained in the agent’s in-context memory

agent_typeenum or string or null
Agent type controlling prompt rendering.
file_blockslist of objects or null

Special blocks representing the agent’s in-context memory of an attached file

prompt_templatestring or nullDefaults to
Deprecated. Ignored for performance.

Errors