Skip to main content

Overview

Aifano accepts documents via public URLs, presigned URLs, or direct file uploads. Uploaded files receive an aifano:// 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 returned aifano:// reference:

Job Reference

Reuse results from a previous job to skip re-processing:
Using jobid:// references with Extract skips the parsing step entirely, saving time and credits when you’ve already parsed a document.

Uploading Files

Upload documents via POST /upload with multipart form data:

Upload Response

Supported File Types

File Size Limits

For documents over 50 pages, use the async endpoints (/parse_async, /extract_async, etc.) to avoid request timeouts.

File Extension Override

If your file URL doesn’t have a recognizable extension, specify it explicitly:

Best Practices

Upload once, then use the aifano:// reference for parse, extract, split, and edit. This avoids re-uploading the same file.
If you’ve already parsed a document and want to extract different data, use jobid://job_id as input to skip the parsing step.
Check that your file extension is in the supported list before uploading to avoid 400 errors.