document

Upload Documents

Upload multiple documents to a workspace with encryption. Documents are queued for processing, parsed, and indexed for vector search.

Requires active subscription (paid/trial/dev) if Stripe is configured.

post/api/document/upload

Query parameters

workspace_ext_idstring required
sharedboolean

Whether the document should be shared with workspace members

Whether the document should be shared with workspace members

config_ext_idstring nullable

Configuration to use for processing

Configuration to use for processing

Headers

workspace-keystring

Response

Successful Response

doc_ext_idsstring[] required

Changes

Changed in 6 of the 34 revisions of this API.44

  • 7073d865238611See the full diff
    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • added the required property doc_ext_ids to the response with the 200 status

      response-required-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional header request parameter workspace-key

      new-optional-request-parameter

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added optional request body

      request-body-added-optional

    • removed the request body

      request-body-removed

    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter config_ext_id

      new-optional-request-parameter

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog