Submit a document
Submit one document as the raw request body and start a job.
Poll status_url until state is done or failed, then fetch
result_url.
X-Filename sets the job’s display name. It does not affect
processing. X-Output-Type sets the text format of tables in the
result. X-Header-Footer-Marker sets whether the result wraps page
header and footer text in tags. Idempotency-Key de-duplicates
submissions in your organization. When a job with the same key exists,
the response is 200 with that job’s status, and the server does not read
the body. The key becomes free again when its job is deleted or expires.
Authentication
An emtelligent API key, sent as Authorization: Bearer <key>.
Headers
Optional display name for the job, percent-encoded as UTF-8. Metadata only; does not affect processing.
Optional de-duplication key, scoped to your organization. A repeat submission with the same key answers 200 with the existing job’s status and skips the upload. A repeat with a different output type answers 422.
Optional text format for tables in the result’s text fields: markdown, plaintext or alignedtext. Text that is not in a table does not change. When omitted, the server’s default type applies. The job status shows the type of the job.
Request
The raw bytes of one PDF, PNG, JPEG or TIFF file. Do not use multipart/form-data. The server ignores the Content-Type header and identifies the file type from its signature (its leading bytes).
Response
Idempotent replay: a job with this Idempotency-Key already exists in your organization. Its current status is returned and no job is created.
Per-page timings for the render and OCR stages.

