Upload multiple documents.
Request Body (multipart/form-data):
files: List of files to upload (required)categories (optional): List of category names to organize documentsReturns:
list[str] containing:
Supported File Types:
File Size Limit:
Maximum 100 MB per file
Example Request:
POST /api/v3/documents
Headers: {"Authorization": "Bearer <api_key>"}
Content-Type: multipart/form-data
Form Data:
files: [report.txt, analysis.md]
categories: ["financial", "2024-q1"]
Example Response:
[
01KKBB7NPTMXM12,
01KKBB7NPTJDK43
]
Documentation Index
Fetch the complete documentation index at: https://docs.nugen.in/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns a list of task IDs for the uploaded documents. This endpoint handles the upload of multiple documents, creates id for each document, and returns their unique task identifiers for tracking the upload and processing status.