Document API
Upload Document
Upload a document to a knowledge base
POST
After uploading, the document status is
pending. You need to manually call Process Document to trigger processing.
string
required
Bearer JWT Token
string
required
multipart/form-datastring
required
Knowledge base ID
file
required
The document file to upload. Supported formats: PDF, Word (
.doc/.docx), Excel (.xls/.xlsx), PowerPoint (.ppt/.pptx), Markdown, CSV, plain textstring
Document unique identifier
string
Document status,
pending after uploadstring
File name