API Endpoints
Extract File Async
Starts an asynchronous job to extract content from a file at the given URL
POST
Large Document Response Structure
For documents exceeding 70 pages, the completed job result includes a URL structure:
Key Points:
- Documents over 70 pages return a URL containing the complete response
- URLs automatically expire after 24 hours
- No changes required to your API request structure
- For documents under 70 pages, the API continues to return results directly in the
result
field
Implementation Tips:
- Check if
result
contains"is_url": true
- If true, fetch the complete document data from the provided URL
- Store URLs securely as they contain your processed results
Authorizations
API key for authentication
Headers
API key for authorization
Available options:
application/json
Body
application/json
Example:
"PRESIGNED_URL"
JSON schema for processing
Example:
{}
Example:
true
Example:
true
Example:
"<chunking_string>"
When true, enables enhanced reasoning for higher accuracy with slightly increased processing time but superior extraction quality
Example:
false
Custom instructions, notes, or specifications for domain-specific extraction needs
Example:
""
Precise page selection for targeted extraction. Supports single pages (1,3,5), page ranges (1-5,7-9), or combinations (1,3-5,7,9-11)
Example:
""