Overview
Aifano accepts documents via public URLs, presigned URLs, or direct file uploads. Uploaded files receive anaifano:// reference that can be used across all endpoints.
Input Methods
Public URL
Pass any publicly accessible URL directly:Presigned URL
Use presigned URLs from S3, GCS, Azure Blob, or any cloud storage:Aifano File Reference
Upload a file first, then use the returnedaifano:// reference:
Job Reference
Reuse results from a previous job to skip re-processing:Uploading Files
Upload documents viaPOST /upload with multipart form data:
Upload Response
Supported File Types
| Format | Extensions | Notes |
|---|---|---|
.pdf | Full support including scanned documents | |
| Images | .png, .jpg, .jpeg, .tiff | OCR applied automatically |
| Word | .docx | Microsoft Word documents |
| PowerPoint | .pptx | Presentation slides |
File Size Limits
| Limit | Value |
|---|---|
| Maximum file size | 50 MB |
| Maximum pages (sync) | Recommended < 50 pages |
| Maximum pages (async) | No hard limit |
File Extension Override
If your file URL doesn’t have a recognizable extension, specify it explicitly:Best Practices
Prefer aifano:// references for multiple operations
Prefer aifano:// references for multiple operations
Upload once, then use the
aifano:// reference for parse, extract, split, and edit. This avoids re-uploading the same file.Use jobid:// to skip re-parsing
Use jobid:// to skip re-parsing
If you’ve already parsed a document and want to extract different data, use
jobid://job_id as input to skip the parsing step.Validate file types before uploading
Validate file types before uploading
Check that your file extension is in the supported list before uploading to avoid 400 errors.