GET
/
api
/
agents
/
{agentId}
/
rooms
/
{roomId}
/
memories
Get room memories
curl --request GET \
  --url http://localhost:3000/api/agents/{agentId}/rooms/{roomId}/memories
{
  "success": true,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": 123,
      "content": {
        "text": "<string>",
        "thought": "<string>",
        "plan": "<string>",
        "actions": [
          "<string>"
        ],
        "source": "<string>",
        "inReplyTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    }
  ]
}

Path Parameters

agentId
string
required

ID of the agent

roomId
string
required

ID of the room

Query Parameters

count
integer
default:50

Number of memories to retrieve

unique
boolean
default:true

Return only unique memories

start
integer

Start timestamp filter

end
integer

End timestamp filter

Response

200
application/json

Room memories retrieved successfully

The response is of type object.