V2
Parse
Parse File
Parse 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.
post/api/v2/parse
Query parameters
project_idstring uuid nullable
organization_idstring uuid nullable
Cookies
sessionstring nullable
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"
}