Skip to content

GetMQTTStatisticsParams

Defined in: src/types/mqtt_statistics.ts:74

Query parameters for retrieving MQTT usage statistics.

optional aggregate?: string

Defined in: src/types/mqtt_statistics.ts:86

Aggregation measure (e.g. count).


optional aggregation_interval?: string

Defined in: src/types/mqtt_statistics.ts:88

Aggregation interval aligned with dashboard stats (e.g. day, week).


optional end_time?: number

Defined in: src/types/mqtt_statistics.ts:96

End of the time range as a Unix timestamp (seconds).


optional fw_version?: string

Defined in: src/types/mqtt_statistics.ts:84

Filter by node firmware version.


optional group_by?: string

Defined in: src/types/mqtt_statistics.ts:100

Group results (e.g. topic_name, node_id).


optional node_id?: string

Defined in: src/types/mqtt_statistics.ts:82

Filter by node id for GET /admin/mqtt_stats (query key node_id).


optional num_records?: string | number

Defined in: src/types/mqtt_statistics.ts:90

Maximum number of records to return per page.


optional start_id?: string

Defined in: src/types/mqtt_statistics.ts:92

Pagination cursor from the previous response (next_id).


optional start_time?: number

Defined in: src/types/mqtt_statistics.ts:94

Start of the time range as a Unix timestamp (seconds).


optional timezone?: string

Defined in: src/types/mqtt_statistics.ts:98

Timezone for the statistics data.


optional topic_name?: string

Defined in: src/types/mqtt_statistics.ts:78

Filter by MQTT topic pattern for GET /admin/mqtt_stats (query key topic_name).