Skip to content

Results are limited to the current section: Cloud services

Product news

Get Queue Size

GET
/api/v1/devices/{dt_name}/queue-size
curl --request GET \
--url https://example.com/api/v1/devices/EMU_FREE/queue-size \
--header 'Authorization: Bearer <token>'
dt_name
required
DeviceTypeName

Enumeration of allowed and legacy device type names

string
Allowed values: EMU_FREE EMU_SV EMU_TN EMU_C FRESNEL FRESNEL_CAN1 FRESNEL_SA1 FRESNEL8 EMU_FRESNEL FRESNEL_RD EMU_MPS

Successful Response

Media typeapplication/json
NonPaginatedResponse[ProducedManyQueueSizesResponse]
object
data
Any of:
ProducedManyQueueSizesResponse
object
device_queues
required
Device Queues
Array<object>
ProducedDeviceQueueSize
object
queue
required
Queue
string
number_of_jobs
Any of:
integer
number_of_shots
Any of:
integer
Examplegenerated
{
"data": {
"device_queues": [
{
"queue": "example",
"number_of_jobs": 1,
"number_of_shots": 1
}
]
}
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}