cURL
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" } } ] }
Retrieves memories for a specific room
ID of the agent
ID of the room
Number of memories to retrieve
Return only unique memories
Start timestamp filter
End timestamp filter
Room memories retrieved successfully
true
Show child attributes
Was this page helpful?