Runs
Cancel a run
Cancel a queued/running run — stops the provider job (if submitted), refunds the charge, and marks it cancelled. Cancelling a run that is already terminal returns it unchanged.
post/v1/runs/{id}/cancel
Request
- Base URL: https://api.roroquantum.com
- URL: https://api.roroquantum.com/v1/runs/{id}/cancel
- Auth: HTTP bearer
Path parameters
idstring required
Response
The cancelled run
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.