Upload documents to the Knowledge Base

Upload up to 20 documents in one request to be converted and added to the Knowledge Base. Repeat the files part once per document. All files in the request form ONE batch — one batch_id to poll, and the Admin the token was issued for gets ONE email when the whole batch is done. Validation is all-or-nothing: if any file is invalid (bad extension, empty, over 10 MB, or the request exceeds 40 MB total), nothing is imported and the error lists every problem file. The legacy single file field remains supported.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
files
array of files
length ≤ 20

The documents (repeat this part per file). Each filename must carry a supported extension (pdf, docx, xlsx, pptx, txt, md). Max 10 MB per file, 20 files and 40 MB total per request.

file

Legacy single-file field — still accepted; equivalent to one files entry.

Responses

Language
Credentials
Bearer
okm_token
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json