GetCombinedMetrics

View as Markdown

Historical, aggregated candles (pull).

GetCombinedMetricsRequest

Request
This endpoint expects an object.
device_selectorobject
Select devices by ID or all devices in org
measurement_typeslist of enums
e.g., TEMPERATURE, HASHRATE Defaults to all types
aggregationslist of enums
e.g., AVERAGE, MIN, MAX Defaults to all aggregations
granularityobject
e.g., 1m, 5m, 1h defaults to 10s
start_timeobject
inclusive
end_timeobject
page_tokenstring
for pagination
page_sizeinteger
max 1000, default 100

GetCombinedMetricsResponse

Response
This endpoint returns an object.
metricslist of objects
next_page_tokenstring
for pagination
temperature_status_countslist of objects
Temperature status distribution across the fleet
uptime_status_countslist of objects
Uptime status distribution across the fleet