Skip to main content

Add Files To Pipeline

PUT 

/api/v1/pipelines/:pipeline_id/files

Add files to a pipeline.

Request

Path Parameters

    pipeline_id uuidrequired

Cookie Parameters

    session any

Body

array

required

  • Array [

  • file_id uuidrequired

    The ID of the file

    custom_metadata

    object

    Custom metadata for the file

    anyOf

    property name*

    object

    anyOf

    object

  • ]

Responses

Successful Response

Schema

  • Array [

  • id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    name

    object

    anyOf

    string

    Possible values: non-empty and <= 3000 characters

    file_size

    object

    Size of the file in bytes

    anyOf

    integer

    file_type

    object

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

    anyOf

    string

    Possible values: non-empty and <= 3000 characters

    project_id uuidrequired

    The ID of the project that the file belongs to

    last_modified_at

    object

    The last modified time of the file

    anyOf

    string

    resource_info

    object

    Resource information for the file

    anyOf

    property name*

    object

    anyOf

    object

    permission_info

    object

    Permission information for the file

    anyOf

    property name*

    object

    anyOf

    object

    data_source_id

    object

    The ID of the data source that the file belongs to

    anyOf

    string

    file_id

    object

    The ID of the file

    anyOf

    string

    pipeline_id uuidrequired

    The ID of the pipeline that the file is associated with

    custom_metadata

    object

    Custom metadata for the file

    anyOf

    property name*

    object

    anyOf

    object

    config_hash

    object

    Hashes for the configuration of the pipeline.

    anyOf

    property name*

    object

    anyOf

    object

    indexed_page_count

    object

    The number of pages that have been indexed for this file

    anyOf

    integer

  • ]