list_passages
Retrieve paginated memories from an agent's archival store with search, sorting, and filtering capabilities.
Instructions
Retrieve the memories in an agent's archival memory store (paginated query). Use create_passage to add new memories, modify_passage to edit, or delete_passage to remove them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ID of the agent whose passages to list | |
| after | No | Unique ID of the memory to start the query range at (for pagination). | |
| before | No | Unique ID of the memory to end the query range at (for pagination). | |
| limit | No | How many results to include in the response. | |
| search | No | Search passages by text content. | |
| order | No | Sort order for passages: "asc" for oldest to newest (default), "desc" for newest to oldest. (SDK v1.0) | asc |
| ascending | No | DEPRECATED: Use "order" instead. Whether to sort passages oldest to newest (True) or newest to oldest (False). | |
| include_embeddings | No | Whether to include the full embedding vectors in the response (default: false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| has_more | No | ||
| passages | Yes |