agents
List Passages
Retrieve the memories in an agent's archival memory store (paginated query).
get/v1/agents/{agent_id}/archival-memory
Path parameters
agent_idstring required
Query parameters
afterstring nullable
Unique ID of the memory to start the query range at.
Unique ID of the memory to start the query range at.
beforestring nullable
Unique ID of the memory to end the query range at.
Unique ID of the memory to end the query range at.
limitinteger nullable
How many results to include in the response.
How many results to include in the response.
searchstring nullable
Search passages by text
Search passages by text
ascendingboolean nullable
Whether to sort passages oldest to newest (True, default) or newest to oldest (False)
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"
}
]