GET
/
jobs
/
{UUID}
/
cost
cURL
curl "https://api.ionq.co/v0.4/jobs/0197379a-c3b8-7548-9da4-bbb7067311c1/cost" \
  -H "Authorization: apiKey your-api-key"
{
  "dry_run": false,
  "estimated_cost": {
    "value": 24.83,
    "unit": "usd"
  },
  "cost": {
    "value": 24.83,
    "unit": "usd"
  }
}
Retrieve the billing information for a specific job, including both estimated and actual cost in USD. This shows how much usage time the job consumed and the corresponding charges based on your contract rates. Learn more about billing and budgets.

Authorizations

Authorization
string
header
required

API keys are associated with a user and can be created on the IonQ Quantum Cloud application. To authenticate, prefix your API Key with apiKey and place it in the Authorization request header. Ex: Authorization: apiKey your-api-key

Path Parameters

UUID
string
required

Response

200 - application/json

Successfully retrieved the cost of a job.

The response is of type object.