Get Job Status
Understand the parameters and response schema of the jobs endpoints
This page describes the jobs endpoint.
Endpoints and methods
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-idQuery parameter
bulkId string
The bulk ID of the jobs to search for.
Required
Response
Returns the status of the requested jobs.
Response attributes
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.
GET /jobs/search
Search jobs based on user permissions and ownership.
Query parameters
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
jobType array
List of job types to filter by.
Optional
updatePoliciesupdateDataPoliciesupdateSubscriptionPoliciescreatePolicySearchRecord
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
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
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?

