Documentation Index
Fetch the complete documentation index at: https://docs.documind.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
API key for authentication. Your unique API key.
Request Parameters
One or more document files to upload. Maximum 100 files per request.Supported formats:
application/pdf(.pdf)application/msword(.doc)application/vnd.openxmlformats-officedocument.wordprocessingml.document(.docx)image/jpeg(.jpg, .jpeg)image/png(.png)
Response
Array of UUID v4 document identifiers. Use these IDs for extraction requests.
Examples
File Size & Limits
- Maximum file size: 50 MB per file
- Maximum files per request: 100 files
- Total request size: 500 MB
Storage Duration
Uploaded documents are stored for 30 days after upload. After this period, documents are automatically deleted. Extraction results remain accessible indefinitely.Processing Time
Document upload is typically completed within:- Single page PDF: < 1 second
- 10-page PDF: 2-3 seconds
- Large image (10MB): 3-5 seconds
Error Responses
400 Bad Request
Invalid file format or size:- Unsupported file format (e.g., .txt, .xls)
- Corrupt or invalid file
- File size exceeds 50 MB
402 Payment Required
Insufficient credits:/usage/credits and upgrade if needed.
413 Payload Too Large
Request exceeds size limits:500 Internal Server Error
Server-side processing error:Best Practices
Batch Upload for Efficiency
Batch Upload for Efficiency
Upload multiple documents in a single request to reduce API calls:
Handle File Handles Properly
Handle File Handles Properly
Always close file handles after upload:
Validate Files Before Upload
Validate Files Before Upload
Check file format and size before uploading:
Store Document IDs
Store Document IDs
Map document IDs to original filenames for tracking:
Next Steps
After uploading documents, you can:Generate Schema
Auto-generate extraction schema from a sample document
Extract Data
Extract structured data using a schema
List Documents
View and manage uploaded documents