Get Job Status

Jobs API reference guide

This page describes the jobs endpoint.

Additional fields may be included in some responses you receive; however, these attributes are for internal purposes and are therefore undocumented.

Search job information

Get bulk job status

GET /jobs

Gets the bulk job status for a given job type and ID.

Query parameter

Attribute
Description
Required

bulkId

string The bulk ID of the jobs to search for.

Yes

Response parameters

Attribute
Description

id

string The job's globally unique identifier.

state

string The job state: active, cancelled, completed, created, expired, failed, or retry.

output

string The output of the job, if it exists.

Request example

The following request checks the status of the job specified in the request.

Response example

Get jobs based on user

GET /jobs/search

Search jobs based on user permissions and ownership.

Query parameters

Attribute
Description
Required

jobType

array List of job types to filter by.

No

state

string The job state to filter by: active, cancelled, completed, created, expired, failed, or retry.

No

startDate

string The start date to filter jobs from.

No

endDate

string The end date to filter jobs to.

No

offset

integer The number of results to skip for pagination.

No

size

integer The maximum number of results to return.

No

Response parameters

Attribute
Description

jobs

array List of job objects containing job details.

next

string Nullable string for pagination to get the next set of results.

Request example

The following request finds jobs in Immuta based on the requesting user's privileges.

Response example

Get a summary of jobs based on user

GET /jobs/summary

Get a summary of jobs based on user permissions and ownership.

Query parameters

Attribute
Description
Required

jobType

array List of job types to filter by.

No

startDate

string The start date to filter jobs from.

No

endDate

string The end date to filter jobs to.

No

Response parameters

Attribute
Description

jobType

array Details about each job type, including the number of jobs in each state for each job type.

Request example

The following request finds jobs in Immuta based on the requesting user's privileges.

Response example

Get job status and output

POST /jobs/statuses

Get the status and output of the provided jobs.

Payload parameters

Attribute
Description
Required

jobIds

array List of job IDs.

Yes

wait

integer Number of seconds to wait before returning if all jobs have not yet completed. Use -1 to wait indefinitely. The default is 0.

No

pollInterval

integer Number of seconds to wait between subsequent polls. Ignored if not using wait. The default is 1. The minimum is 1.

No

Response parameters

Attribute
Description

id

string The job's globally unique identifier.

state

string The job state: active, cancelled, completed, created, expired, failed, or retry.

output

string The output of the job, if it exists.

Request example

The following request checks the status of the job specified in the payload.

Payload example

Response example

Last updated

Was this helpful?