Create extract job

Authentication

Authorizationstring

Use the API key format: api-key <token>.

Request

This endpoint expects an object.
documentobjectRequired
hubIdstringOptionalformat: "^[0-9a-fA-F]{24}$"=24 characters
Optional Document Insights hub identifier. Omit hubId to let Document Insights route the job automatically using metadata or default hub configuration.
metadatamap from strings to stringsOptional

Client-provided string metadata echoed back on the job for correlation and reconciliation. Keys and values must be non-empty strings. Maximum: 50 entries, 64 characters per key, 512 characters per value. When hubId is omitted, Document Insights may also use metadata to determine the extraction hub.

Response

Accepted
idstring
operationenum
Allowed values:
statusenum
Allowed values:
outputAvailableboolean
createdAtdatetime
updatedAtdatetime
startedAtdatetime
completedAtdatetime
errorobject
Terminal failure details. Present only for failed or rejected jobs and runs.
hubIdstring
hubNamestring
metadatamap from strings to strings
documentobject
Document summary used inside Document Insights job and event payloads. Page count is reported only when known by the source document metadata.