Upload a file to a collection
Files
Upload a file to a collection
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.
POST
Upload a file to a collection
Documentation Index
Fetch the complete documentation index at: https://docs.aigmented.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Pass your API key as a Bearer token. Example: Authorization: Bearer sk-xxxxxxxxxxxx
Path Parameters
Collection ID
Body
multipart/form-data
The file to upload. Field name must be file. Supported types: PDF, DOCX, DOC, TXT, MD, CSV, XLSX. Max 50 MB.