Dashboard Type

Arrangement

Widget arrangement configuration on the dashboard layout.

Attributes:

widget_id: str
Unique identifier for the widget
x: int or float
Horizontal position coordinate
y: int or float
Vertical position coordinate
width: int or float
Widget width
height: int or float
Widget height
tab: Optional[str]
Tab identifier where the widget is located

DashboardCreateInfo

Information required to create a new dashboard.

Attributes:

label: str
Dashboard label/name
arrangement: list[Arrangement]
Layout configuration for widgets
tags: list[TagsObj]
Tags for dashboard categorization
visible: bool
Dashboard visibility status

icon

Dashboard icon configuration.

Attributes:

url: str
Icon URL
color: Optional[str]
Icon color Hexadecimal

conditions

Condition key-value pair for blueprint device filtering.

Attributes:

key: str
Condition key
value: str
Condition value

filter_conditions

Filter conditions for blueprint device selection.

Attributes:

blueprint_device: str
Blueprint device identifier
tag_key: str
Tag key for filtering
type: str
Filter type

shared

Dashboard sharing information.

Attributes:

id: str
Share identifier
email: str
Shared user email
name: str
Shared user name
free_account: bool
Whether the user has a free account
allow_tags: bool
Whether tags are allowed
expire_time: str
Share expiration time
allow_share: bool
Whether re-sharing is allowed

BlueprintDeviceConfig

Blueprint device configuration for dynamic dashboards.

Attributes:

conditions: list[conditions]
Device selection conditions
name: str
Blueprint name
id: str
Blueprint identifier
label: str
Blueprint label
filter_conditions: list[filter_conditions]
Filter conditions
theme: any
Theme configuration
setup: any
Setup configuration

DashboardInfo

Complete dashboard information.

Attributes:

Dashboard unique identifier
created_at: datetime
Dashboard creation timestamp
updated_at: datetime
Last update timestamp
last_access: datetime
Last access timestamp
group_by: list
Grouping configuration
tabs: list
Dashboard tabs
icon: icon
Dashboard icon
background: any
Background configuration
type: str
Dashboard type
blueprint_device_behavior: “more_than_one” or “always”
Blueprint device behavior mode
blueprint_selector_behavior: “open” or “closed” or “always_open” or “always_closed”
Blueprint selector behavior mode
blueprint_devices: BlueprintDeviceConfig
Blueprint device configuration
theme: any
Dashboard theme
setup: any
Dashboard setup
shared: shared
Sharing configuration

WidgetData

Widget data configuration.

Attributes:

origin: GenericID
Data origin identifier
qty: Optional[int or float]
Quantity of data points
timezone: Optional[str]
Timezone for data queries
variables: Optional[str]
Variables to query
bucket: Optional[GenericID]
Bucket identifier
query: Optional[“min” or “max” or “count” or “avg” or “sum”]
Query type
start_date: Optional[datetime or str]
Query start date
end_date: Optional[datetime or str]
Query end date
overwrite: Optional[bool]
Whether to overwrite existing data

WidgetResource

Widget resource filtering configuration.

Attributes:

filter: list[TagsObj]
Filter tags

DeviceResourceView

Available views for device resources in widgets.

Type:

Literal[f”tags.{str}”, f”param.{str}”, “name”, “id”, “bucket_name”, “network_name”, “connector_name”, “connector”, “network”, “bucket”, “last_input”, “created_at”, “active”]

WidgetDeviceResource

Device resource configuration for widgets.

Attributes:

type: “device”
Resource type
View configuration
editable: “name” or f”tags.{str}” or f”param.{str}”
Editable fields

EditDeviceResource

Device resource edit configuration.

Attributes:

device: GenericID
Device identifier
name: Optional[str]
Device name
active: Optional[bool]
Device active status
edit: dict[str, str or bool]
Fields to edit

EditResourceOptions

Options for editing resources.

Attributes:

identifier: Optional[str]
Resource identifier

WidgetInfo

Complete widget information.

Attributes:

analysis_run: Optional[GenericID]
Analysis run identifier
dashboard: Optional[GenericID]
Dashboard identifier
display: any
Display configuration
data: Optional[list[WidgetData]]
Widget data configuration
resource: Optional[list[WidgetDeviceResource]]
Widget resource configuration
id: Optional[GenericID]
Widget identifier
label: str
Widget label
realtime: Optional[bool]
Real-time update status
type: str
Widget type

DevicesRelated

Device information related to dashboard.

Extends BucketDeviceInfo with additional bucket field.

Attributes:

Device identifier
name: str
Device name
bucket: GenericID
Bucket identifier

AnalysisRelated

Analysis information related to dashboard.

Attributes:

Analysis identifier
name: str
Analysis name

PostDataModel

Model for posting data to widgets.

Attributes:

origin: GenericID
Data origin identifier
variable: str
Variable name

BlueprintDeviceOrigin

Blueprint device configuration with origin reference for widget data queries.

Attributes:

origin: GenericID
Origin identifier
Device identifier
bucket: Optional[GenericID]
Bucket identifier

widgetOverwrite

Widget data overwrite options.

Attributes:

start_date: Optional[any]
Override start date
end_date: Optional[any]
Override end date
timezone: Optional[any]
Override timezone

GetDataModel

Model for retrieving widget data.

Attributes:

overwrite: Optional[widgetOverwrite]
Overwrite options
blueprint_devices: Optional[list[BlueprintDeviceOrigin]]
Blueprint devices list
page: Optional[int or float]
Page number for pagination
amount: Optional[int or float]
Amount of items per page

PublicKeyResponse

Response containing dashboard public access token.

Attributes:

Public access token
expire_time: ExpireTimeOption
Token expiration time

EditDataModel

Model for editing widget data.

Extends: PostDataModel

Additional Attributes:

Data record identifier

widgetOverwriteOptions

Available options for widget data override.

Type:

Literal[“start_date”, “end_date”, “timezone”]