Skip to content

List Pipeline Files2

Deprecated
FileListPageResponse Pipelines.Files.List(FileListParamsparameters, CancellationTokencancellationToken = default)
GET/api/v1/pipelines/{pipeline_id}/files2

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

ParametersExpand Collapse
FileListParams parameters
required string pipelineID
string? dataSourceID
string? fileNameContains
Long? limit
Long? offset
Boolean onlyManuallyUploaded
string? orderBy
IReadOnlyList<Status>? statuses

Filter by file statuses

"CANCELLED"Cancelled
"ERROR"Error
"IN_PROGRESS"InProgress
"NOT_STARTED"NotStarted
"SUCCESS"Success
ReturnsExpand Collapse
class FileListPageResponse:

Paginated list of pipeline files.

required IReadOnlyList<PipelineFile> Files

The files to list

required string ID

Unique identifier for the pipeline file.

formatuuid
required string PipelineID

The ID of the pipeline that the file is associated with.

formatuuid
IReadOnlyDictionary<string, ConfigHash?>? ConfigHash

Hashes for the configuration of the pipeline.

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
DateTimeOffset? CreatedAt

When the pipeline file was created.

formatdate-time
IReadOnlyDictionary<string, CustomMetadata?>? CustomMetadata

Custom metadata for the file.

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? DataSourceID

The ID of the data source that the file belongs to.

formatuuid
string? ExternalFileID

The ID of the file in the external system.

string? FileID

The ID of the file.

formatuuid
Long? FileSize

Size of the file in bytes.

string? FileType

File type (e.g. pdf, docx, etc.).

Long? IndexedPageCount

The number of pages that have been indexed for this file.

DateTimeOffset? LastModifiedAt

The last modified time of the file.

formatdate-time
string? Name

Name of the file.

IReadOnlyDictionary<string, PermissionInfo?>? PermissionInfo

Permission information for the file.

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? ProjectID

The ID of the project that the file belongs to.

formatuuid
IReadOnlyDictionary<string, ResourceInfo?>? ResourceInfo

Resource information for the file.

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Status? Status

Status of the pipeline file.

One of the following:
"CANCELLED"Cancelled
"ERROR"Error
"IN_PROGRESS"InProgress
"NOT_STARTED"NotStarted
"SUCCESS"Success
DateTimeOffset? StatusUpdatedAt

The last time the status was updated.

formatdate-time
DateTimeOffset? UpdatedAt

When the pipeline file was last updated.

formatdate-time
required Long Limit

The limit of the files

required Long Offset

The offset of the files

required Long TotalCount

The total number of files

List Pipeline Files2

FileListParams parameters = new()
{
    PipelineID = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
};

var page = await client.Pipelines.Files.List(parameters);
await foreach (var item in page.Paginate())
{
    Console.WriteLine(item);
}
{
  "files": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "pipeline_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "config_hash": {
        "foo": {
          "foo": "bar"
        }
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "custom_metadata": {
        "foo": {
          "foo": "bar"
        }
      },
      "data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "external_file_id": "external_file_id",
      "file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "file_size": 0,
      "file_type": "file_type",
      "indexed_page_count": 0,
      "last_modified_at": "2019-12-27T18:11:19.117Z",
      "name": "name",
      "permission_info": {
        "foo": {
          "foo": "bar"
        }
      },
      "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "resource_info": {
        "foo": {
          "foo": "bar"
        }
      },
      "status": "CANCELLED",
      "status_updated_at": "2019-12-27T18:11:19.117Z",
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "limit": 0,
  "offset": 0,
  "total_count": 0
}
Returns Examples
{
  "files": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "pipeline_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "config_hash": {
        "foo": {
          "foo": "bar"
        }
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "custom_metadata": {
        "foo": {
          "foo": "bar"
        }
      },
      "data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "external_file_id": "external_file_id",
      "file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "file_size": 0,
      "file_type": "file_type",
      "indexed_page_count": 0,
      "last_modified_at": "2019-12-27T18:11:19.117Z",
      "name": "name",
      "permission_info": {
        "foo": {
          "foo": "bar"
        }
      },
      "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "resource_info": {
        "foo": {
          "foo": "bar"
        }
      },
      "status": "CANCELLED",
      "status_updated_at": "2019-12-27T18:11:19.117Z",
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "limit": 0,
  "offset": 0,
  "total_count": 0
}
Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/