For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Job Status

Understand the parameters and response schema of the jobs endpoints

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.

Endpoints and methods

Method
Endpoint
Description

GET

/jobs

Get bulk job status for a given job type and ID.

GET

/jobs/search

Search jobs based on user permissions and ownership.

GET

/jobs/summary

Get a summary of jobs based on user.

POST

/jobs/statuses

Get job status and output.

GET /jobs

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

curl \
  --request GET \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer dea464c07bd07300095caa8" \
  https://your-immuta-url.com/jobs?bulkId=example-bulk-id

Query parameter

Parameter
Description
Required or optional

bulkId string

The bulk ID of the jobs to search for.

Required

Response

Returns the status of the requested jobs.

Response attributes

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.

Search jobs based on user permissions and ownership.

Query parameters

Parameter
Description
Required or optional

jobType array

List of job types to filter by.

Optional

state string

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

Optional

startDate string

The start date to filter jobs from.

Optional

endDate string

The end date to filter jobs to.

Optional

offset integer

The number of results to skip for pagination.

Optional

size integer

The maximum number of results to return.

Optional

Response

Returns a list of job objects.

GET /jobs/summary

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

Query parameters

Parameter
Description
Required or optional
Accepted values

jobType array

List of job types to filter by.

Optional

  • updatePolicies

  • updateDataPolicies

  • updateSubscriptionPolicies

  • createPolicySearchRecord

startDate string

The start date to filter jobs from.

Optional

-

endDate string

The end date to filter jobs to.

Optional

-

Response

Returns a detailed list of job status organized by job type.

POST /jobs/statuses

Get the status and output of the provided jobs.

Payload

Body parameters

Parameter
Description
Required or optional
Default values
Accepted values

jobIds array

List of job IDs.

Required

-

-

wait integer

Number of seconds to wait before returning if all jobs have not yet completed. Use -1 to wait indefinitely.

Optional

0

-

pollInterval integer

Number of seconds to wait between subsequent polls. Ignored if not using wait.

Optional

1

The minimum is 1

Response

Returns the state and output for the requested jobs.

Job object attributes

Attribute
Description

id string

The job's globally unique identifier.

name string

The internal job type or queue name associated with the job.

state string

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

createdon timestamp

The date and time when the job was created or queued.

startedon timestamp

The date and time when execution of the job started. This value may be unavailable if the job has not started.

data object

The input payload and execution context of the job.

output object

The output of the job, if it exists.

Last updated

Was this helpful?