Cancel Jobs
Cancel a subset of jobs within a batch based on filter criteria. Only the batch owner can perform this operation.
Only jobs in a cancelable state (PENDING, RUNNING) are affected. Already completed or errored jobs are left unchanged.
Returns: The list of successfully canceled jobs and the list of job IDs that could not be canceled, with their error explained.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Unique id for the job
Unique id for the job
First characters of the job id
First characters of the job id
Owner batch of the job
Owner batch of the job
Owner project of the job
Owner project of the job
Owner user of the job
Owner user of the job
Job status type enum
Job status type enum
Minimum number of times the pulser sequence is repeated
Minimum number of times the pulser sequence is repeated
Maximum number of times the pulser sequence is repeated
Maximum number of times the pulser sequence is repeated
Whether errors were returned when executing the job
Whether errors were returned when executing the job
Origin of the job
Origin of the job
Time when the emulator or QPU indicated a job was started
Time when the emulator or QPU indicated a job was started
Time when the emulator or QPU indicated a job finished, failed or was cancelled
Time when the emulator or QPU indicated a job finished, failed or was cancelled
Responses
Section titled “ Responses ”Successful Response
object
Response to a request for cancelling a bunch of jobs without the results of the jobs.
object
Jobs that were successfully canceled.
Response to a request for a job.
This schema defines all the fields that can be publicly shared by the API and do not require significant computational resources. For example, ‘logs_links’ or ‘results link’.
object
Unique identifier for the job.
ID of the original job if created from a retry (rebatch).
Current job status.
Number of times the pulse sequence is repeated.
ID of the batch this job belongs to.
ID of the project this job belongs to.
Timestamp when the job was created.
Timestamp of the last job update.
Timestamp when the QPU or emulator started processing.
Timestamp when the QPU or emulator finished, errored, or canceled the job.
Variable assignments used to build the pulse sequence.
object
Errors returned during job execution.
Job progress percentage (0-100).
The built pulse sequence for the job.
Position in the creation order within the batch.
Example
{ "id": "00000000-0000-0000-0000-000000000003", "status": "DONE", "runs": 100, "batch_id": "00000000-0000-0000-0000-000000000002", "project_id": "00000000-0000-0000-0000-000000000001", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:35:00Z", "start_timestamp": "2025-01-15T10:31:00Z", "end_timestamp": "2025-01-15T10:35:00Z", "variables": { "omega": 5 }, "progress": 100, "creation_order": 1}Job IDs that could not be canceled, with error details.
object
Example
{ "jobs": [ { "id": "00000000-0000-0000-0000-000000000003", "status": "CANCELED", "runs": 100, "batch_id": "00000000-0000-0000-0000-000000000002", "project_id": "00000000-0000-0000-0000-000000000001", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:40:00Z", "end_timestamp": "2025-01-15T10:40:00Z", "variables": { "omega": 5 }, "creation_order": 0 } ], "errors": {}}Validation Error
