document

Upload Documents

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Query parameters

workspace_ext_idstring required
sharedboolean

Whether the document should be shared with workspace members

config_ext_idstring nullable

Configuration to use for processing

Headers

workspace-keystring

Request body multipart/form-data

filesstring[] required

Multiple files to upload

Response

Successful Response

doc_ext_idsstring[] required

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the required property to the response with the status

    • info

      added the new optional header request parameter workspace-key