agents
List Passages
Retrieve the memories in an agent's archival memory store (paginated query).
get/v1/agents/{agent_id}/archival-memory
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/agents/{agent_id}/archival-memory
- AuthHTTP bearer
Path parameters
agent_idstring required
Query parameters
afterstring nullable
Unique ID of the memory to start the query range at.
beforestring nullable
Unique ID of the memory to end the query range at.
limitinteger nullable
How many results to include in the response.
searchstring nullable
Search passages by text
ascendingboolean nullable
Whether to sort passages oldest to newest (True, default) or newest to oldest (False)
Response
Successful Response
Example response
[
{
"id": "passage-123e4567-e89b-12d3-a456-426614174000"
}
]Changes
No recorded changes to this operation across all 36 revisions of this API.