Skip to content
Pasqal Documentation

Get Queue Size

GET
/api/v1/devices/{dt_name}/queue-size

Parameters

Path Parameters

dt_name
required
DeviceTypeName

Enumeration of allowed and legacy device type names

string
Allowed values: EMU_FREE EMU_SV EMU_TN EMU_C FRESNEL EMU_FRESNEL EMU_MPS

Responses

200

Successful Response

NonPaginatedResponse[ProducedManyQueueSizesResponse]

Represents a response with either a list of items or a single item in a single page.

Generic Parameters: - A (TypeVar): The type bound to this class, which can be a single BaseModel, a list of BaseModels, or None.

Usage: - To respond with an unpaginated list of FooResponse items from an API endpoint, ensure that your function returns NonPaginatedResponse[List[FooResponse]].

- To respond with a single `FooResponse` item from an API endpoint,
  make sure that your function returns `NonPaginatedResponse[FooResponse]`
  and that Python recognizes it.
object
data
ProducedManyQueueSizesResponse
object
device_queues
required
Device Queues
Array<object>
ProducedDeviceQueueSize
object
queue
required
Queue
string
number_of_batches
required
Number Of Batches
integer
number_of_jobs
Number Of Jobs
integer
number_of_shots
Number Of Shots
integer

422

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string