Skip to main contentIBM Quantum Documentation

Metrics


Gets metrics of specified job

Get job metrics as an admin

Path Parameters

Name, TypeDescription
id
Required
string

HTTP Response Status Codes

Status codeDescription
200Various metrics about the execution of a job
401Unauthorized
403Forbidden
404Not found

Code samples

GET
/admin/jobs/{id}/metrics
curl -X GET \
  https://api.quantum-computing.ibm.com/runtime/admin/jobs/{id}/metrics \
  -H 'Authorization: Bearer YOUR-TOKEN' \
  -H 'Accept: application/json'

Responses

{
  "bss": {
    "seconds": 1
  },
  "usage": {
    "quantum_seconds": 10,
    "seconds": 10
  },
  "timestamps": {
    "created": "2022-06-20T12:55:20.268427Z",
    "finished": "2022-06-20T12:55:20.268427Z",
    "running": "2022-06-20T12:55:20.268427Z"
  },
  "executions": 10,
  "num_circuits": 10,
  "num_qubits": [
    1,
    2,
    3
  ],
  "circuit_depths": [
    1,
    2,
    3
  ],
  "qiskit_version": "0.36.2",
  "estimated_start_time": "2022-06-20T12:55:20.268427Z",
  "estimated_completion_time": "2022-06-20T12:55:20.268427Z",
  "position_in_queue": 10,
  "position_in_provider": 10
}
Was this page helpful?
Report a bug or request content on GitHub.