agents

Retrieve Agent Memory

Changed on

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

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/agents/{agent_id}/core-memory
  • Auth
    HTTP bearer

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"
    }
  ]
}

Changes

    • warning

      added the new letta_v1_agent enum value to the / response property for the response status