POST
/
api
/
v1
/
task

Authorizations

Authorization
string
headerrequired

Body

multipart/form-data
file
file
required
model
enum<string>
required
Available options:
Fast,
HighQuality
json_schema
any | null
ocr_strategy
enum<string>
Available options:
Auto,
All,
Off
segmentation_strategy
enum<string>
Available options:
LayoutAnalysis,
Page
target_chunk_length
integer | null

Response

200 - application/json
configuration
object
required
created_at
string
required
message
string
required
status
enum<string>
required
Available options:
Starting,
Processing,
Succeeded,
Failed,
Canceled
task_id
string
required
expires_at
string | null
file_name
string | null
finished_at
string | null
input_file_url
string | null
output
object
page_count
integer | null
pdf_url
string | null
task_url
string | null