---
title: "List Agent Folders"
method: GET
path: "/v1/agents/{agent_id}/folders"
tags: ["agents"]
---

# List Agent Folders

`GET /v1/agents/{agent_id}/folders`

Get the folders associated with an agent.

## Path parameters

- `agent_id` string, required

## Query parameters

- `before` string, nullable — Source ID cursor for pagination. Returns sources that come before this source ID in the specified sort order
- `after` string, nullable — Source ID cursor for pagination. Returns sources that come after this source ID in the specified sort order
- `limit` integer, nullable — Maximum number of sources to return
- `order` 'asc' | 'desc' — Sort order for sources by creation time. 'asc' for oldest first, 'desc' for newest first
- `order_by` 'created_at' — Field to sort by

## Response `200`

Successful Response

- Source[]
  - `name` string, required — The name of the source.
  - `description` string, nullable — The description of the source.
  - `instructions` string, nullable — Instructions for how to use the source.
  - `metadata` object, nullable — Metadata associated with the source.
  - `id` string — The human-friendly ID of the Source
  - `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.
  - `vector_db_provider` 'native' | 'tpuf' | 'pinecone' — Supported vector database providers for archival memory
  - `created_by_id` string, nullable — The id of the user that made this Tool.
  - `last_updated_by_id` string, nullable — The id of the user that made this Tool.
  - `created_at` string, date-time, nullable — The timestamp when the source was created.
  - `updated_at` string, date-time, nullable — The timestamp when the source was last updated.

## 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)
