cURL
curl --request GET \ --url https://api.letpiper.com/v1/orgs/{org_id}/agents/{agent_id}/memories \ --header 'Authorization: Bearer <token>'
{ "memories": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "created_at": "2023-11-07T05:31:56Z", "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "scope": "agent", "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "total": 123 }
List memories for an agent (paginated, newest first).
When session_id is provided, returns session-scoped memories for that session. Otherwise returns agent-scoped memories.
Platform token (starts with pat_)
1 <= x <= 200
x >= 0
Successful Response
Paginated list of agent memories.
Show child attributes