Method 1: Python (Recommended)
Install dependencies:"pages" → "content"
fields of the response.
Method 2: Pre-signed File URL
Instead of uploading a file directly, you can pass a publicly accessible or pre-signed file URL:Method 3: cURL
If you prefer the command line:Request Parameters
- file (required if no
fileUrl
): PDF or image file to process - fileUrl (required if no
file
): Publicly accessible URL to file - startPage (optional, default: 1): Start processing from this page
- ephemeral (optional, default: false): If
true
, results are not stored
Sample Response
Next Steps
- Try our other endpoints! Build end-to-end pipelines using all of our endpoints.