Upload multiple files (up to 10) to knowledge base.
Supported file types: PDF, DOCX, DOC, PPTX, PPT, TXT, CSV, XLSX, XLS, RTF, MD, HTML, XML Max file size: 21MB per file
Request:
Returns:
Each file is processed independently. If some files fail, successful ones are still stored in the knowledge base.
Example:
curl -X POST "http://localhost:8000/v1/knowledge-base/files" \
-H "Authorization: Bearer <token>" \
-F "[email protected]" \
-F "[email protected]"