v1

latestOpenAPI 3.0.2Apache 2.02026-07-1739106293.5 KB
Data Processing
Batch Jobs

Full metadata for a batch job

Lists all information about a submitted batch job.

get/jobs/{job_id}

Response

Full job information.

idstring required

Per-back-end unique identifier of the batch job, generated by the back-end during creation. MUST match the specified pattern.

titlestring nullable

A short description to easily distinguish entities.

descriptionstring commonmark nullable

Detailed multi-line description to explain the entity.

CommonMark 0.29 syntax MAY be used for rich text representation.

status'created' | 'queued' | 'running' | 'canceled' | 'finished' | 'error' required

The current status of a batch job.

The following status changes can occur:

  • POST /jobs: The status is initialized as created.
  • POST /jobs/{job_id}/results: The status is set to queued, if processing does not start instantly.
    • Once the processing starts the status is set to running.
    • Once the data is available to download the status is set to finished.
    • Whenever an error occurs during processing, the status MUST be set to error.
  • DELETE /jobs/{job_id}/results: The status is set to canceled if the status was running beforehand and partial or preliminary results are available to be downloaded. Otherwise the status is set to created.

The following state diagram shows the possible status changes:

State diagram

progressnumber

Indicates the process of a running batch job, in percent. Can also be set for a job which stopped due to an error or was canceled by the user. In this case, the value indicates the progress at which the job stopped. This property may not be available for the status codes created and queued. Submitted and queued jobs only allow the value 0, finished jobs only allow the value 100.

createdstring date-time required

Date and time of creation (for batch jobs: the status 'created' was set), formatted as a RFC 3339 date-time.

updatedstring date-time

Date and time of the last status change, formatted as a RFC 3339 date-time. If the status is error, canceled or finished, this is the time when the job has ended.

queuedstring date-time

Date and time of queueing the batch job (i.e., when the status 'queued' was set), formatted as a RFC 3339 date-time.

startedstring date-time

Date and time when the batch job started processing (i.e., when the status 'running' was set), formatted as a RFC 3339 date-time.

unpublishedstring date-time

Time until which the batch job results are stored on the back-end, in UTC. Formatted as a RFC 3339 date-time.

planstring

The billing plan to process and charge the job or service with.

Billing plans MUST be handled in a case insensitive manner.

The plans can be retrieved from GET /, but the value returned here may not be in the list of plans any longer.

costsnumber nullable

An amount of money or credits. The value MUST be specified in the currency the back-end is working with. The currency can be retrieved by calling GET /. If no currency is set, this field MUST be null.

budgetnumber nullable

Maximum amount of costs the request is allowed to produce. The value MUST be specified in the currency of the back-end. No limits apply, if the value is null or the back-end has no currency set in GET /.

log_level'error' | 'warning' | 'info' | 'debug'

The minimum severity level for log entries that the back-end stores for the processing request.

The order of the levels is as follows (from low to high severity): debug, info, warning, error. That means if warning is set, the back-end will only store log entries with the level warning and error.

The default minimum log level is info. Users need to specifically set this property to debug to capture all log entries. It is RECOMMENDED that users set the level at least to "warning" in production workflows.