Skip to content
Pasqal Documentation

Get Total Job Device Frequency Statistics

GET
/api/v1/jobs/statistics/device-frequency

Return a data structure detailing how many jobs have been scheduled within a certain scope of time for a specific device.

Scope of time is limited to HOUR, DAY or MONTH and it returns based on total jobs inside a project.

Parameters

Query Parameters

project_id
required
Project Id
string format: uuid
scope
required
Scope
string

Responses

200

Successful Response

NonPaginatedResponse[ProducedJobDeviceFrequencyStatisticsResponse]

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
ProducedJobDeviceFrequencyStatisticsResponse
object
count
required
Count
Array<object>
ProducedJobDevicePerDayFrequencyModel
object
datetime
required
Datetime
string
devices
required
Devices
object
key
additional properties
integer
job_date_scope
required
Job Date Scope
string

422

Validation Error

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