curl --request GET \
--url http://localhost:3000/api/memory/{agentId}/memories{
"success": true,
"data": {
"memories": [
{
"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"
}
}
]
}
}Retrieve all memories for a specific agent
curl --request GET \
--url http://localhost:3000/api/memory/{agentId}/memories{
"success": true,
"data": {
"memories": [
{
"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"
}
}
]
}
}ID of the agent
Table name to query
Include embedding vectors in response
Filter by channel ID
Filter by room ID
Agent memories retrieved successfully
true
Show child attributes
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?