---
title: "List Passages"
method: GET
path: "/v1/agents/{agent_id}/archival-memory"
tags: ["agents"]
---

# List Passages

`GET /v1/agents/{agent_id}/archival-memory`

Retrieve the memories in an agent's archival memory store (paginated query).

## Path parameters

- `agent_id` string, required

## Query parameters

- `after` string, nullable — Unique ID of the memory to start the query range at.
- `before` string, nullable — Unique ID of the memory to end the query range at.
- `limit` integer, nullable — How many results to include in the response.
- `search` string, nullable — Search passages by text
- `ascending` boolean, nullable — Whether to sort passages oldest to newest (True, default) or newest to oldest (False)

## Response `200`

Successful Response

- Passage[]
  - `created_by_id` string, nullable — The id of the user that made this object.
  - `last_updated_by_id` string, nullable — The id of the user that made this object.
  - `created_at` string, date-time — The creation date of the passage.
  - `updated_at` string, date-time, nullable — The timestamp when the object was last updated.
  - `is_deleted` boolean — Whether this passage is deleted or not.
  - `archive_id` string, nullable — The unique identifier of the archive containing this passage.
  - `source_id` string, nullable — The data source of the passage.
  - `file_id` string, nullable — The unique identifier of the file associated with the passage.
  - `file_name` string, nullable — The name of the file (only for source passages).
  - `metadata` object, nullable — The metadata of the passage.
  - `tags` string[], nullable — Tags associated with this passage.
  - `id` string — The human-friendly ID of the Passage
  - `text` string, required — The text of the passage.
  - `embedding` number[], nullable, required — The embedding of the passage.
  - `embedding_config` EmbeddingConfig, required — Configuration for embedding model connection and processing parameters.
    - `embedding_endpoint_type` 'openai' | 'anthropic' | 'bedrock' | 'google_ai' | 'google_vertex' | 'azure' | 'groq' | 'ollama' | 'webui' | 'webui-legacy' | 'lmstudio' | 'lmstudio-legacy' | 'llamacpp' | 'koboldcpp' | 'vllm' | 'hugging-face' | 'mistral' | 'together' | 'pinecone', required — The endpoint type for the model.
    - `embedding_endpoint` string, nullable — The endpoint for the model (`None` if local).
    - `embedding_model` string, required — The model for the embedding.
    - `embedding_dim` integer, required — The dimension of the embedding.
    - `embedding_chunk_size` integer, nullable — The chunk size of the embedding.
    - `handle` string, nullable — The handle for this config, in the format provider/model-name.
    - `batch_size` integer — The maximum batch size for processing embeddings.
    - `azure_endpoint` string, nullable — The Azure endpoint for the model.
    - `azure_version` string, nullable — The Azure version for the model.
    - `azure_deployment` string, nullable — The Azure deployment for the model.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.net/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yu-code666/letta-api/versions/6cec99480c13/schema)
