Skip to content

Files

Get Pipeline File Status Counts
Deprecated
client.Pipelines.Files.GetStatusCounts(ctx, pipelineID, query) (*PipelineFileGetStatusCountsResponse, error)
GET/api/v1/pipelines/{pipeline_id}/files/status-counts
Get Pipeline File Status
Deprecated
client.Pipelines.Files.GetStatus(ctx, fileID, query) (*ManagedIngestionStatusResponse, error)
GET/api/v1/pipelines/{pipeline_id}/files/{file_id}/status
Add Files To Pipeline Api
Deprecated
client.Pipelines.Files.New(ctx, pipelineID, body) (*[]PipelineFile, error)
PUT/api/v1/pipelines/{pipeline_id}/files
Update Pipeline File
Deprecated
client.Pipelines.Files.Update(ctx, fileID, params) (*PipelineFile, error)
PUT/api/v1/pipelines/{pipeline_id}/files/{file_id}
Delete Pipeline File
Deprecated
client.Pipelines.Files.Delete(ctx, fileID, body) error
DELETE/api/v1/pipelines/{pipeline_id}/files/{file_id}
List Pipeline Files2
Deprecated
client.Pipelines.Files.List(ctx, pipelineID, query) (*PaginatedPipelineFiles[PipelineFile], error)
GET/api/v1/pipelines/{pipeline_id}/files2
ModelsExpand Collapse
type PipelineFile struct{…}

A file associated with a pipeline.

ID string

Unique identifier for the pipeline file.

formatuuid
PipelineID string

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

formatuuid
ConfigHash map[string, PipelineFileConfigHashUnion]optional

Hashes for the configuration of the pipeline.

One of the following:
type PipelineFileConfigHashMap map[string, any]
type PipelineFileConfigHashArray []any
string
float64
bool
CreatedAt Timeoptional

When the pipeline file was created.

formatdate-time
CustomMetadata map[string, PipelineFileCustomMetadataUnion]optional

Custom metadata for the file.

One of the following:
type PipelineFileCustomMetadataMap map[string, any]
type PipelineFileCustomMetadataArray []any
string
float64
bool
DataSourceID stringoptional

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

formatuuid
ExternalFileID stringoptional

The ID of the file in the external system.

FileID stringoptional

The ID of the file.

formatuuid
FileSize int64optional

Size of the file in bytes.

FileType stringoptional

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

IndexedPageCount int64optional

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

LastModifiedAt Timeoptional

The last modified time of the file.

formatdate-time
Name stringoptional

Name of the file.

PermissionInfo map[string, PipelineFilePermissionInfoUnion]optional

Permission information for the file.

One of the following:
type PipelineFilePermissionInfoMap map[string, any]
type PipelineFilePermissionInfoArray []any
string
float64
bool
ProjectID stringoptional

The ID of the project that the file belongs to.

formatuuid
ResourceInfo map[string, PipelineFileResourceInfoUnion]optional

Resource information for the file.

One of the following:
type PipelineFileResourceInfoMap map[string, any]
type PipelineFileResourceInfoArray []any
string
float64
bool
Status PipelineFileStatusoptional

Status of the pipeline file.

One of the following:
const PipelineFileStatusNotStarted PipelineFileStatus = "NOT_STARTED"
const PipelineFileStatusInProgress PipelineFileStatus = "IN_PROGRESS"
const PipelineFileStatusSuccess PipelineFileStatus = "SUCCESS"
const PipelineFileStatusError PipelineFileStatus = "ERROR"
const PipelineFileStatusCancelled PipelineFileStatus = "CANCELLED"
StatusUpdatedAt Timeoptional

The last time the status was updated.

formatdate-time
UpdatedAt Timeoptional

When the pipeline file was last updated.

formatdate-time
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/python/shared/mcp/