Runs
Submit a run
Validates the circuit, prices it, debits your credits, and executes it. Simulator runs complete inline and come back completed; hardware runs come back queued — poll GET /v1/runs/{id}, subscribe to GET /v1/runs/{id}/stream, or use an SDK's wait helper. A malformed circuit is rejected with 400 before anything is created or charged.
post/v1/runs
Request
- Base URL: https://api.roroquantum.com
- URL: https://api.roroquantum.com/v1/runs
- Auth: HTTP bearer
Request body
Example request
{
"machineTargetId": "roro.sim.sv",
"targetId": "roro.sim.sv",
"shots": 5000,
"qasm": "OPENQASM 2.0; include \"qelib1.inc\"; qreg q[2]; creg c[2]; h q[0]; cx q[0],q[1]; measure q -> c;",
"tags": {
"user": "u_42"
},
"resilience": {
"level": 1,
"zne": {
"observable": "ZZ"
}
}
}Response
The created run (already terminal for simulators)
Example response
{
"id": "8f3a1c2e-…",
"machineTargetId": "roro.sim.sv",
"machineName": "RoRo Statevector Simulator",
"shots": 5000,
"status": "completed",
"cost": 25,
"counts": {
"11": 2500,
"00": 2500
},
"probabilities": {
"11": 0.5,
"00": 0.5
},
"createdAt": "2026-06-05T00:00:00Z",
"effectiveShots": 5000,
"resilience": {
"circuits": 5,
"effectiveShots": 11264
}
}Changes
No recorded changes to this operation across all 1 revision of this API.