POST
/
parse
/
parsepdf

Headers

api-subscription-key
string
default:

Body

multipart/form-data
pdf
file
required

PDF file to parse. This needs to be passed as a form input if using multipart/form-data

page_intervals
string
required

Use the following JSON format to specify a list of page intervals to process. Pass the JSON encoded string. [ {"start_page": 1, "end_page": 1}, {"start_page": 2, "end_page": 2} ]

sarvam_mode
string | null
default: large

Mode of parsing. Use 'large' for high accuracy and 'small' for low cost

Response

200 - application/json
task_id
string
required

The task ID of the submitted job. The task ID can be used to query the status of the task.