Uploads a source document (PDF, DOCX, TXT, CSV, XLSX, etc.) directly to a collection. The file is stored in S3 and immediately queued for parsing and knowledge extraction. Max file size: 50 MB.
Pass your API key as a Bearer token. Example: Authorization: Bearer sk-xxxxxxxxxxxx
Collection ID
The file to upload. Field name must be file. Supported types: PDF, DOCX, DOC, TXT, MD, CSV, XLSX. Max 50 MB.