Devices

Retrieve a single device by its QRN.

get/devices/{device_qrn}

Request

  • Base URL
    https://api-v2.qbraid.com/api/v1
  • URL
    https://api-v2.qbraid.com/api/v1/devices/{device_qrn}
  • Auth
    API key in header X-API-KEY

Path parameters

device_qrnstring required
Example:aws:tn1:qpu:device-name

The device qrn (qBraid Resource Name).

Response

Success.

successboolean required

Example response

{
  "data": {
    "pricing": {
      "perTask": 10,
      "perShot": 10,
      "perMinute": 10
    }
  }
}

Changes

    • breaking

      for the path request parameter device_qrn, the minLength was increased from 0 to 1

    • info

      api operation id get_device_devices__device_qrn__get removed and replaced with getDevice

    • info

      api tag Devices added

    • info

      api tag devices removed

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status