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
The response is of type object
.
Was this page helpful?