Pipelines

Upsert Batch Pipeline Documents

Changed on

Batch create or update a document for a pipeline.

put/api/v1/pipelines/{pipeline_id}/documents

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}/documents
  • Auth: HTTP bearer

Path parameters

pipeline_idstring uuid required

Query parameters

project_idstring uuid nullable

Cookies

sessionstring nullable

Request body

textstring required
metadataobject required
excluded_embed_metadata_keysstring[]
excluded_llm_metadata_keysstring[]
page_positionsinteger[] nullable

indices in the CloudDocument.text where a new page begins. e.g. Second page starts at index specified by page_positions[1].

idstring nullable

Response

Successful Response

textstring required
metadataobject required
excluded_embed_metadata_keysstring[]
excluded_llm_metadata_keysstring[]
page_positionsinteger[] nullable

indices in the CloudDocument.text where a new page begins. e.g. Second page starts at index specified by page_positions[1].

idstring required
status_metadataobject nullable

Changes

    • info

      endpoint deprecated

    • info

      added the new optional query request parameter project_id

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status