Skip to navigation

Start Job

View as Markdown

Legacy API. The /doc-digitization/job/v1 endpoints remain available for existing integrations. For new integrations, use the Document Intelligence API under /doc-ai/v1.

Validates the uploaded file and starts processing.

Validation Checks:

  • File must be uploaded before starting
  • File size must not exceed 200 MB
  • PDF must be parseable by the PDF parser
  • ZIP must contain only JPEG/PNG images
  • ZIP must be flat (no nested folders beyond one level)
  • ZIP must contain at least one valid image
  • Page/image count must not exceed 10 (returns 400 with invalid_request_error if exceeded)
  • User must have sufficient credits

Processing: Job runs asynchronously. Poll the status endpoint for completion.

Authentication

api-subscription-keystring
API Key authentication via header

Path parameters

job_idstringRequiredformat: "uuid"
The unique identifier of the job

Response

Successful Response
job_idstringformat: "uuid"

Job identifier (UUID)

job_stateenum
Current job state
created_atstringformat: "date-time"

Job creation timestamp (ISO 8601)

updated_atstringformat: "date-time"

Last update timestamp (ISO 8601)

storage_container_typeenum
Storage backend type
Allowed values:
total_filesintegerOptionalDefaults to 0

Total input files (always 1)

successful_files_countintegerOptionalDefaults to 0
Files that completed successfully
failed_files_countintegerOptionalDefaults to 0
Files that failed
error_messagestringOptionalDefaults to

Job-level error message

job_detailslist of objectsOptional

Per-file processing details with page metrics

Errors

400
Bad Request Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error