Estimate, submit, follow and cancel jobs, and fetch their results. Every request needs an API key and the EO-Protocol-Version header.
Submit a job
Submits a job to run on a device. Send a JobRequest body and an Idempotency-Key header. The router checks the request, holds the job's estimated cost from your balance and answers 202 with the new job in status queued. Follow it with GET /v1/jobs/{job_id}.
When the job ends, you are charged its actual cost (vendor cost plus the EigenOrbit fee) and the rest of the hold is returned. actual_cost_usd_micro on the job shows the charge. On a QPU, a job that runs every requested shot costs exactly its estimate. On a simulator you pay for the device time the job used.
After a timeout or a 503, retry with the same Idempotency-Key and the same body. The router then answers 200 with the job it already created and the header Idempotent-Replayed: true, and never creates a second job. The same key with another body answers 409 idempotency_conflict. A job rejected for the balance (402 insufficient_balance or negative_balance) answers the same rejection for its key again: use a new key after topping up.
IBM Quantum jobs run on the IBM Quantum account you connected in the router web app. They are free on the router: no funds are held and nothing is charged. IBM bills your IBM Quantum instance for the quantum time.
Some devices are in limited preview. A job on one is free on the router, and a submit from an account outside the preview answers 403 device_access_restricted.
Submits are rate limited per API key and per account. Over the limit the call answers 429 rate_limited with a Retry-After header: wait that many seconds, then retry with the same Idempotency-Key. A body or a job larger than the router accepts answers 413 request_too_large.
Headers
Idempotency-Key^[A-Za-z0-9._:-]{1,1… · requiredRequired. A key you choose for this submit: 1 to 128 characters from A-Z, a-z, 0-9 and ._:-. Use a new key for each new job and the same key for every retry of it. A missing key answers 400 idempotency_key_required.
EO-Protocol-VersionRequired. The protocol version your client speaks, as an integer. This router accepts 1. A missing or unsupported version answers 426 protocol_unsupported.
Submit a job › Request Body
The circuit, as eigenkit produces it: its router provider builds this value. The format is not specified here.
device^[a-z0-9]+/[a-z0-9_-… · requiredA device ID from GET /v1/devices, for example braket/sv1 or ibm/ibm_fez.
The circuit's input values, one number per input, or [] when the circuit has none. Send a flat array, as for weights. With photonic_sample it may be a 2-D array, one row per run: the job runs every row and returns one result per row. More rows than the device takes answer 422 batch_not_supported with the limit in details.max_rows.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
The observables, as eigenkit produces them: its router provider builds this value. The format is not specified here. At least one for every method except photonic_sample, which takes [].
shotsShots for the vendor task. 0 asks a simulator for exact results with run, probabilities and zero_state_probability. GET /v1/devices lists the shots each method accepts on each device. For photonic_sample it is the samples asked for and the shot limit of each run, and a lossy device returns fewer samples than shots.
The circuit's weight values, one number per weight. Send a flat array: a device runs one parameter set per job, and a 2-D array answers 422 batch_not_supported.
Qiskit Runtime options, for an IBM Quantum device only. Any other device answers 422 validation_error. Absent or null sends no option.
Submit a job › Responses
The job this Idempotency-Key already created: a replay.
actual_cost_usd_microWhat the job cost you: null while billing is held or null, the charged amount once settled, and 0 once released.
billingThe job's hold on your balance. Null when no hold was ever placed, as for a job that is free on the router or a job rejected for the balance.
completed_atWhen the job reached a terminal status. Null until then.
created_atdeviceWhy the job failed or was rejected. Null for any other status.
estimate_usd_microThe job's estimated cost at submission, in micro-USD. A job that is charged has a hold of this amount placed on your balance.
fee_usd_microThe EigenOrbit fee inside actual_cost_usd_micro. Null until billing is settled or released.
idThe job ID.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
price_versionThe price version the job was admitted with, for example braket/sv1@1.
shotsstatusThe status of a job. queued: accepted, not yet running at the vendor. running:
the vendor is running it. completed: the result is available. failed: the vendor
or the router could not produce a result, and error says why. cancelled: the job
was cancelled, normally at your request. rejected: refused before it reached the
vendor, and error says why. completed, failed, cancelled and rejected are
terminal.
updated_atvendor_cost_usd_microThe vendor's cost inside actual_cost_usd_micro. Null until billing is settled or released.
credential_sourceown: the job ran on the IBM Quantum account you connected. organization: Reserved. Null for an Amazon Braket job.
ibm_usage_secondsThe IBM quantum time the job used, in seconds with millisecond precision, as IBM reports it. Null until IBM reports it, and for a job on any other vendor's device.
result_expires_atWhen the job's result and request are, or were, deleted. Set once the job is terminal and null while it runs. The job itself, with its status and costs, stays readable after the deletion.
Estimate a job
Prices a job without running it. Send the same body as to POST /v1/jobs; no Idempotency-Key is needed. The router runs the checks a submit runs and answers with the amount a submit would hold from your balance (estimate_usd_micro), its split into vendor cost and EigenOrbit fee, and your available balance. The call creates no job, holds no funds and is free.
would_reject_reason is null when a submit would be accepted now. Otherwise it is the error code the submit would be refused with. These reasons cover the device's status, the method and its shots on the device, the router terms, your IBM Quantum connection, a device in limited preview, your jobs in flight, your API key's budget and your balance, and the call answers 200 for each of them, except a photonic method on a device that is not photonic, or another method on a photonic device, which answers 422 method_not_supported. A request that is invalid on its own, such as an unknown device or a malformed circuit, answers 422 as a submit would.
The estimate is a snapshot: a submit can still be refused if your balance changes in between. IBM Quantum jobs and jobs on a device in limited preview are free on the router, so their estimate and available_usd_micro are 0. Amounts are integers in micro-USD: 1000000 is $1.
Estimates are rate limited per API key and per account. Over the limit the call answers 429 rate_limited with a Retry-After header: wait that many seconds. A body or a job larger than the router accepts answers 413 request_too_large.
Headers
EO-Protocol-VersionRequired. The protocol version your client speaks, as an integer. This router accepts 1. A missing or unsupported version answers 426 protocol_unsupported.
Estimate a job › Request Body
The circuit, as eigenkit produces it: its router provider builds this value. The format is not specified here.
device^[a-z0-9]+/[a-z0-9_-… · requiredA device ID from GET /v1/devices, for example braket/sv1 or ibm/ibm_fez.
The circuit's input values, one number per input, or [] when the circuit has none. Send a flat array, as for weights. With photonic_sample it may be a 2-D array, one row per run: the job runs every row and returns one result per row. More rows than the device takes answer 422 batch_not_supported with the limit in details.max_rows.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
The observables, as eigenkit produces them: its router provider builds this value. The format is not specified here. At least one for every method except photonic_sample, which takes [].
shotsShots for the vendor task. 0 asks a simulator for exact results with run, probabilities and zero_state_probability. GET /v1/devices lists the shots each method accepts on each device. For photonic_sample it is the samples asked for and the shot limit of each run, and a lossy device returns fewer samples than shots.
The circuit's weight values, one number per weight. Send a flat array: a device runs one parameter set per job, and a 2-D array answers 422 batch_not_supported.
Qiskit Runtime options, for an IBM Quantum device only. Any other device answers 422 validation_error. Absent or null sends no option.
Estimate a job › Responses
The estimate.
available_usd_microYour balance minus your active holds, at the time of the call. 0 for a job that is free on the router, whose estimate does not read the balance.
deviceestimate_usd_microThe amount a submit would hold from your balance. 0 for a job that is free on the router: an IBM Quantum job, or a job on a device in limited preview.
fee_usd_microThe EigenOrbit fee inside the estimate.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
price_versionThe price version used, <device>@<version>, for example braket/sv1@1. A job keeps the version it was admitted with.
shotsvendor_cost_usd_microThe vendor's cost inside the estimate, rounded up.
would_reject_reasonNull when a submit would be accepted now. Otherwise the error code the submit would be refused with, the first that applies of device_unavailable, method_not_supported, shots_invalid, terms_not_accepted, ibm_connection_invalid, ibm_account_not_connected, device_access_restricted, concurrency_limit_exceeded, key_budget_exceeded, negative_balance and insufficient_balance.
Get a job
Returns one of your jobs: its status, its billing state and costs, and the error of a failed or rejected job. Poll it until status is terminal: completed, failed, cancelled or rejected. Back off between polls, for example 1 s, then 5 s, then 30 s. The call is free.
Another user's job answers 404 job_not_found, the same as an unknown ID.
path Parameters
job_idThe job's id, as POST /v1/jobs returned it.
The job's id, as POST /v1/jobs returned it.
Headers
EO-Protocol-VersionRequired. The protocol version your client speaks, as an integer. This router accepts 1. A missing or unsupported version answers 426 protocol_unsupported.
Get a job › Responses
The job.
actual_cost_usd_microWhat the job cost you: null while billing is held or null, the charged amount once settled, and 0 once released.
billingThe job's hold on your balance. Null when no hold was ever placed, as for a job that is free on the router or a job rejected for the balance.
completed_atWhen the job reached a terminal status. Null until then.
created_atdeviceWhy the job failed or was rejected. Null for any other status.
estimate_usd_microThe job's estimated cost at submission, in micro-USD. A job that is charged has a hold of this amount placed on your balance.
fee_usd_microThe EigenOrbit fee inside actual_cost_usd_micro. Null until billing is settled or released.
idThe job ID.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
price_versionThe price version the job was admitted with, for example braket/sv1@1.
shotsstatusThe status of a job. queued: accepted, not yet running at the vendor. running:
the vendor is running it. completed: the result is available. failed: the vendor
or the router could not produce a result, and error says why. cancelled: the job
was cancelled, normally at your request. rejected: refused before it reached the
vendor, and error says why. completed, failed, cancelled and rejected are
terminal.
updated_atvendor_cost_usd_microThe vendor's cost inside actual_cost_usd_micro. Null until billing is settled or released.
credential_sourceown: the job ran on the IBM Quantum account you connected. organization: Reserved. Null for an Amazon Braket job.
ibm_usage_secondsThe IBM quantum time the job used, in seconds with millisecond precision, as IBM reports it. Null until IBM reports it, and for a job on any other vendor's device.
result_expires_atWhen the job's result and request are, or were, deleted. Set once the job is terminal and null while it runs. The job itself, with its status and costs, stays readable after the deletion.
Cancel a job
Asks the router to cancel one of your jobs that has not ended, and answers 202 with the job as it is right after the request. A 202 means the cancel was requested, not that the job is cancelled.
A job that has not reached the vendor is cancelled at once and its whole hold is returned. A job at the vendor ends as the vendor reports. If the vendor stops it, it ends cancelled and you are charged what the vendor billed for it plus the EigenOrbit fee, often nothing. If the vendor finishes it first, it ends completed and is charged like any completed job. There is no cancel fee.
Cancelling a cancelled job changes nothing. A completed, failed or rejected job answers 409 job_not_cancellable. Keep polling GET /v1/jobs/{job_id} until status is terminal: only that status says how the job ended.
path Parameters
job_idThe job's id, as POST /v1/jobs returned it.
The job's id, as POST /v1/jobs returned it.
Headers
EO-Protocol-VersionRequired. The protocol version your client speaks, as an integer. This router accepts 1. A missing or unsupported version answers 426 protocol_unsupported.
Cancel a job › Responses
The cancel was requested. The body is the job as it is now.
actual_cost_usd_microWhat the job cost you: null while billing is held or null, the charged amount once settled, and 0 once released.
billingThe job's hold on your balance. Null when no hold was ever placed, as for a job that is free on the router or a job rejected for the balance.
completed_atWhen the job reached a terminal status. Null until then.
created_atdeviceWhy the job failed or was rejected. Null for any other status.
estimate_usd_microThe job's estimated cost at submission, in micro-USD. A job that is charged has a hold of this amount placed on your balance.
fee_usd_microThe EigenOrbit fee inside actual_cost_usd_micro. Null until billing is settled or released.
idThe job ID.
methodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
price_versionThe price version the job was admitted with, for example braket/sv1@1.
shotsstatusThe status of a job. queued: accepted, not yet running at the vendor. running:
the vendor is running it. completed: the result is available. failed: the vendor
or the router could not produce a result, and error says why. cancelled: the job
was cancelled, normally at your request. rejected: refused before it reached the
vendor, and error says why. completed, failed, cancelled and rejected are
terminal.
updated_atvendor_cost_usd_microThe vendor's cost inside actual_cost_usd_micro. Null until billing is settled or released.
credential_sourceown: the job ran on the IBM Quantum account you connected. organization: Reserved. Null for an Amazon Braket job.
ibm_usage_secondsThe IBM quantum time the job used, in seconds with millisecond precision, as IBM reports it. Null until IBM reports it, and for a job on any other vendor's device.
result_expires_atWhen the job's result and request are, or were, deleted. Set once the job is terminal and null while it runs. The job itself, with its status and costs, stays readable after the deletion.
Get a job result
Returns the result of a completed job: the method's output in result and what ran at the vendor in execution. The result is available as soon as status is completed, even while the charge is still being settled. The call is free.
A job whose status is not completed answers 409 job_not_completed with the job's status. Results are deleted after the retention period, at the job's result_expires_at, and the call then answers 410 result_expired. Download a result you need to keep before then.
path Parameters
job_idThe job's id, as POST /v1/jobs returned it.
The job's id, as POST /v1/jobs returned it.
Headers
EO-Protocol-VersionRequired. The protocol version your client speaks, as an integer. This router accepts 1. A missing or unsupported version answers 426 protocol_unsupported.
Get a job result › Responses
The result.
bit_orderjob_idmethodWhat the job computes. run: one expectation value per observable. sample:
measurement counts. probabilities: the probability of every basis state.
zero_state_probability: the probability of the all-zeros state.
photonic_sample: the photon counts of a linear-optical circuit, sampled on a
photonic device.
What the router ran on the vendor for one job: one transpiled or compiled program.
initial_layout[i] is the physical qubit logical qubit i starts on. final_layout[i] is the physical qubit holding logical qubit i at the end, where its measurement and observables are read. active_qubits are the sorted physical qubits any non-barrier operation touched. ibm_options are the dynamical decoupling and twirling options IBM stored with the job, null when it stored none. For Braket, vendor_job_id is the task id (the task ARN without its prefix). transpiled_qasm3 is the OpenQASM 3 program an IQM or AQT device compiled, and compiled_quil the Quil program a Rigetti device compiled, both as Braket returned them. final_layout is read from that compiled program's measure statements: final_layout[i] is the physical qubit classical bit i was measured on, null when they do not measure each of the job's bits exactly once into one register. active_qubits are the physical qubits of transpiled_qasm3, or those the gate and measure instructions of compiled_quil act on. Braket's Quil may leave gate angles as compiler parameters (braket_compiler_ssa_N) whose values Braket does not return, so compiled_quil is not a complete record of what ran. initial_layout and the transpiler, library and option fields are for IBM only. Every field except vendor_job_id may be null when the router could not read it.