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
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"
}
}
]
}Number of memories to retrieve
Return only unique memories
Start timestamp filter
End timestamp filter
Room memories retrieved successfully
true
Show child attributes
Unique identifier for the memory
ID of the entity associated with this memory
ID of the agent associated with this memory
ID of the room this memory belongs to
Unix timestamp when the memory was created
Show child attributes
Text content of the message
Agent's internal thought process
Agent's plan or reasoning
Actions the agent wants to take
Source of the message
ID of the message this is in reply to
Was this page helpful?