Parse File
Changed onParse a file by file ID or URL.
Provide either file_id (a previously uploaded file) or source_url (a publicly accessible URL). Configure parsing with options like tier, target_pages, and lang.
Tiers
- fast — rule-based, cheapest, no AI
- cost_effective — balanced speed and quality
- agentic — full AI-powered parsing
- agentic_plus — premium AI with specialized features
The job runs asynchronously. Poll GET /parse/{job_id} with expand=text or expand=markdown to retrieve results.
Request
- The document declares no server URL.
- Auth: HTTP bearer
Query parameters
Cookies
Request body
Example request
{
"processing_options": {
"auto_mode_configuration": [
{
"parsing_conf": {
"tier": "agentic",
"version": "latest"
},
"table_in_page": true
}
]
},
"webhook_configurations": [
{
"webhook_events": [
"parse.success",
"parse.error"
],
"webhook_output_format": "json"
}
],
"output_options": {
"additional_outputs": [
"stripped_md",
"concatenated_stripped_txt",
"word_bbox"
],
"granular_bboxes": [
"word",
"line",
"cell"
]
}
}Response
Successful Response
Example response
{
"id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"project_id": "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "Q4 Financial Report",
"tier": "fast"
}Changes
- breaking
removed the enum value
2026-05-28of the request property////// - breaking
removed the enum value
2026-05-28of the request property/ - breaking
removed the enum value
2026-06-01of the request property////// - breaking
removed the enum value
2026-06-01of the request property/ - info
added the new optional request property
/ - info
added the new
2026-06-04enum value to the request property////// - info
added the new
2026-06-04enum value to the request property/ - info
added the new
2026-06-05enum value to the request property////// - info
added the new
2026-06-05enum value to the request property/ - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- breaking
removed the enum value
2026-05-21of the request property////// - breaking
removed the enum value
2026-05-21of the request property/ - info
added the new
2026-06-01enum value to the request property////// - info
added the new
2026-06-01enum value to the request property/
- breaking