Skip to main content

Get Pipeline Document

GET 

/api/v1/pipelines/:pipeline_id/documents/:document_id

Return a single document for a pipeline.

Request

Path Parameters

    document_id Document Idrequired
    pipeline_id uuidrequired

Cookie Parameters

    session any

Responses

Successful Response

Schema

    text Text (string)required
    metadata objectrequired
    excluded_embed_metadata_keys string[]
    Default value: []
    excluded_llm_metadata_keys string[]
    Default value: []

    page_positions

    object

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

    anyOf

  • Array [

  • integer

  • ]

  • id Id (string)required