Skip to main content
POST
Upload a document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

Body

multipart/form-data
file
file
required

PDF, TXT or DOCX, up to 20 MB.

Response

source
object
required
trainingRequired
boolean
required

True when the change reaches the agent only after the next training run.