Skip to content
Framework Docs

Files

Get Pipeline File Status Counts
$ llamacloud-prod pipelines:files get-status-counts
GET/api/v1/pipelines/{pipeline_id}/files/status-counts
Get Pipeline File Status
$ llamacloud-prod pipelines:files get-status
GET/api/v1/pipelines/{pipeline_id}/files/{file_id}/status
Add Files To Pipeline Api
$ llamacloud-prod pipelines:files create
PUT/api/v1/pipelines/{pipeline_id}/files
Update Pipeline File
$ llamacloud-prod pipelines:files update
PUT/api/v1/pipelines/{pipeline_id}/files/{file_id}
Delete Pipeline File
$ llamacloud-prod pipelines:files delete
DELETE/api/v1/pipelines/{pipeline_id}/files/{file_id}
List Pipeline Files2
Deprecated
$ llamacloud-prod pipelines:files list
GET/api/v1/pipelines/{pipeline_id}/files2
ModelsExpand Collapse
pipeline_file: object { id, pipeline_id, config_hash, 16 more }

A file associated with a pipeline.

id: string

Unique identifier for the pipeline file.

pipeline_id: string

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

config_hash: optional map[map[unknown] or array of unknown or string or 2 more]

Hashes for the configuration of the pipeline.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
created_at: optional string

When the pipeline file was created.

custom_metadata: optional map[map[unknown] or array of unknown or string or 2 more]

Custom metadata for the file.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
data_source_id: optional string

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

external_file_id: optional string

The ID of the file in the external system.

file_id: optional string

The ID of the file.

file_size: optional number

Size of the file in bytes.

file_type: optional string

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

indexed_page_count: optional number

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

last_modified_at: optional string

The last modified time of the file.

name: optional string

Name of the file.

permission_info: optional map[map[unknown] or array of unknown or string or 2 more]

Permission information for the file.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
project_id: optional string

The ID of the project that the file belongs to.

resource_info: optional map[map[unknown] or array of unknown or string or 2 more]

Resource information for the file.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
status: optional "NOT_STARTED" or "IN_PROGRESS" or "SUCCESS" or 2 more

Status of the pipeline file.

"NOT_STARTED"
"IN_PROGRESS"
"SUCCESS"
"ERROR"
"CANCELLED"
status_updated_at: optional string

The last time the status was updated.

updated_at: optional string

When the pipeline file was last updated.