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
Body
application/json
URL of the file to process
JSON schema for structured data extraction
Page range to process
Custom chunk size in characters
Extract figures and images
Generate AI descriptions for figures
Return HTML instead of markdown
Custom prompt for schema extraction