Get Devices
const url = 'https://example.com/api/v2/devices?order_by=created_at&order_by_direction=ASC&limit=100&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v2/devices?order_by=created_at&order_by_direction=ASC&limit=100&offset=0' \ --header 'Authorization: Bearer <token>'Retrieve the list of devices accessible to the authenticated user.
Returns both QPU and emulator devices. Use query parameters to filter by device type, availability, or public visibility. Results include each device's current status, supported features, and specifications.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Filter devices by availability status. Omit to skip filter.
Responses
Section titled “ Responses ”Successful Response
object
Device visible to the authenticated user.
object
Unique identifier for the device.
Deprecated. Same value as device_type.
Type identifier of the device (e.g. FRESNEL).
Current operational status of the device.
Average wait time (seconds) before a job of this device type is processed, measured over the last hour.
Whether the device is an emulator.
Result types the device can produce.
Result types the device uses by default when none are specified.
Deprecated. Use availability instead.
Whether usage of this device is billed.
Availability status of the device.
Whether the device provides execution logs.
Pagination information
object
Example
{ "status": "success", "message": "OK.", "code": "200", "data": [ { "active": true, "allowed_result_types": [ "counter", "run" ], "availability": "ACTIVE", "average_queue_time": 42, "bill_usage": true, "channels": [ "rydberg_global", "rydberg_local" ], "default_result_types": [ "counter" ], "description": "Fresnel QPU", "device_type": "FRESNEL", "has_execution_logs": false, "id": "00000000-0000-0000-0000-000000000010", "is_emulator": false, "max_atom_num": 100, "name": "FRESNEL", "status": "UP" } ]}Validation Error
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}