v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
agents

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.

get/v1/agents/{agent_id}/core-memory

Path parameters

agent_idstring required

Response

Successful Response

prompt_templatestring

Deprecated. Ignored for performance.

Example response

{
  "blocks": [
    {
      "id": "block-123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "file_blocks": [
    {
      "id": "block-123e4567-e89b-12d3-a456-426614174000"
    }
  ]
}