Submit Job
Submit an input file as a raw request body, streamed to disk.
Accepted formats (sniffed from the file signature, the Content-Type header is ignored): PDF, PNG, JPEG, TIFF.
The optional X-Filename header sets the job’s display name (percent-
decoded, basename only — see JobStore.create); it does not affect where
bytes land.
curl -X POST —data-binary @doc.pdf -H ‘Content-Type: application/pdf’
-H ‘X-Filename: doc.pdf’ http://host:8200/jobs
Headers
x-filename
Optional display name for the job, percent-encoded as UTF-8. Metadata only; does not affect processing.
Response
Successful Response
job_id
filename
mime_type
Allowed values:
state
Allowed values:
bytes_received
status_url
result_url
Errors
422
Unprocessable Entity Error

