Skip to main content

Upload Document Content

POST 

/api/documents/:document_id/content

Add a document from specific content.

Request

Path Parameters

    document_id Document Idrequired

    The collection to add the document to.

Body

required

    content binaryrequired

    The document content.

Responses

Successful Response

Schema

    id

    object

    anyOf

    integer

    collection Collectionrequired

    extracted_text

    object

    anyOf

    string

    url

    object

    anyOf

    string

    ingest_state

    object

    anyOf

    string

    ingest_error

    object

    anyOf

    string

Loading...