---
title: "List Documents V3"
method: GET
path: "/v3/collections/{collection_name}/documents"
tags: ["file-search"]
---

# List Documents V3

`GET /v3/collections/{collection_name}/documents`

List the documents in a collection (v3 parity with GET /v2/collections/{name}/documents). With `metadata_filter`, one call maps an identifier from your own system to the Captain document, using the same filter grammar as query; pass `include_custom_metadata=true` to include each document's `custom_metadata`.

## Path parameters

- `collection_name` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `include_custom_metadata` boolean
- `metadata_filter` string, nullable

## Response `200`

Successful Response

- DocumentListResponseV3
  - `collection_name` string, required
  - `documents` DocumentListItemV3[], required
    - `chunk_count` integer
    - `content_type` string, nullable
    - `created_at` string, nullable
    - `custom_metadata` object, nullable
    - `document_id` string, required
    - `filename` string, required
    - `indexed_at` string, nullable
    - `indexing_status` string, nullable
    - `status` string, nullable
    - `uri` string, nullable
  - `limit` integer, required
  - `offset` integer, required
  - `total_count` integer, required

---

[API](https://skmtc.dev/runcaptain/apis/api-reference.md) · [All operations](https://skmtc.dev/runcaptain/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runcaptain/api-reference/revisions/fe4649e3f4aa/schema)
