cURL
curl --request GET \ --url https://api.example.com/api/memories/agent/{agent_id}
{ "id": 123, "agent_id": 123, "session_id": 123, "strength": 123, "relevance_score": 123, "access_count": 123, "formed_at": 123, "last_accessed": 123, "context_hash": 123, "context": {}, "outcome": "<string>", "memory_type": "<string>" }
Retrieve long-term memories for a specific agent.
u64
1000
MemoryResponse
0.0
1.0
"Episodic"
"Working"
"Semantic"
"Negative"
[ { "id": 789, "agent_id": 1, "session_id": 5001, "strength": 0.92, "relevance_score": 0.88, "access_count": 3, "formed_at": 1738425600000000000, "last_accessed": 1738512000000000000, "context_hash": 12345678901234, "context": { "..." : "..." }, "outcome": "Success", "memory_type": "Episodic" } ]