After uploading, the document status is pending. You need to manually call Process Document to trigger processing.
The document file to upload. Supported formats: PDF, Word (.doc/.docx), Excel (.xls/.xlsx), PowerPoint (.ppt/.pptx), Markdown, CSV, plain text
Document unique identifier
Document status, pending after upload
curl --request POST \
--url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents \
--header 'Authorization: Bearer <token>' \
--form 'file=@/path/to/document.pdf'
{
"document_id": "doc_xyz789",
"status": "pending",
"file_name": "document.pdf"
}