---
title: "List Pipeline Files2"
method: GET
path: "/api/v1/pipelines/{pipeline_id}/files2"
tags: ["Pipeline Files"]
deprecated: true
---

# List Pipeline Files2

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

## Request

- Base URL: `https://api.cloud.llamaindex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cloud.llamaindex.ai/api/v1/pipelines/{pipeline_id}/files2`
- Auth: HTTP bearer

> **Deprecated.**

List files for a pipeline with optional filtering, sorting, and pagination.

## Path parameters

- `pipeline_id` string, uuid, required

## Query parameters

- `data_source_id` string, uuid, nullable
- `only_manually_uploaded` boolean
- `file_name_contains` string, nullable
- `statuses` string[], nullable: Filter by file statuses
- `limit` integer, nullable
- `offset` integer, nullable
- `order_by` string, nullable
- `project_id` string, uuid, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- PaginatedListPipelineFilesResponse: Paginated list of pipeline files.
  - `files` PipelineFile[], required: The files to list
    - `id` string, uuid, required: Unique identifier for the pipeline file.
    - `name` string, nullable: Name of the file.
    - `external_file_id` string, nullable: The ID of the file in the external system.
    - `file_size` integer, nullable: Size of the file in bytes.
    - `file_type` string, nullable: File type (e.g. pdf, docx, etc.).
    - `project_id` string, uuid, nullable: The ID of the project that the file belongs to.
    - `last_modified_at` string, date-time, nullable: The last modified time of the file.
    - `file_id` string, uuid, nullable: The ID of the file.
    - `pipeline_id` string, uuid, required: The ID of the pipeline that the file is associated with.
    - `resource_info` object, nullable: Resource information for the file.
    - `permission_info` object, nullable: Permission information for the file.
    - `custom_metadata` object, nullable: Custom metadata for the file.
    - `data_source_id` string, uuid, nullable: The ID of the data source that the file belongs to.
    - `config_hash` object, nullable: Hashes for the configuration of the pipeline.
    - `indexed_page_count` integer, nullable: The number of pages that have been indexed for this file.
    - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'SUCCESS' | 'ERROR' | 'CANCELLED', nullable: Status of the pipeline file.
    - `status_updated_at` string, date-time, nullable: The last time the status was updated.
    - `created_at` string, date-time, nullable: When the pipeline file was created.
    - `updated_at` string, date-time, nullable: When the pipeline file was last updated.
  - `limit` integer, required: The limit of the files
  - `offset` integer, required: The offset of the files
  - `total_count` integer, required: The total number of files

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `a38b684f8e1b`: 3 info
  - added the new optional `query` request parameter `project_id`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-06-09** `614771991b52`: 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
- **2026-06-09** `b17341164de9`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/run-llama/apis/llama-platform/changes/api/v1/pipelines/:pipeline_id/files2/get.md)

---

[API](https://skmtc.dev/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.dev/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/run-llama/apis/llama-platform/revisions/809d302cdb1e?raw)
