---
title: "List Pipeline Documents"
method: GET
path: "/api/v1/pipelines/{pipeline_id}/documents"
tags: ["Pipelines"]
---

# List Pipeline Documents

`GET /api/v1/pipelines/{pipeline_id}/documents`

Return a list of documents for a pipeline.

## Path parameters

- `pipeline_id` string, uuid, required

## Query parameters

- `skip` integer
- `limit` integer
- `file_id` string, uuid, nullable
- `only_direct_upload` boolean, nullable
- `only_api_data_source_documents` boolean, nullable
- `status_refresh_policy` 'cached' | 'ttl'

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- CloudDocument[]
  - `text` string, required
  - `metadata` object, required
  - `excluded_embed_metadata_keys` string[]
  - `excluded_llm_metadata_keys` string[]
  - `page_positions` integer[], nullable — indices in the CloudDocument.text where a new page begins. e.g. Second page starts at index specified by page_positions[1].
  - `id` string, required
  - `status_metadata` object, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.net/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/run-llama/llama-platform/versions/b17341164de9/schema)
