Skip to main content

Get Bulk Space Aggregated Metrics

GET 

/spaces/aggregated-metrics/:metrictype/:granularity

Retrieves aggregated metrics for up to 40 spaces in a single request, with configurable granularity (hourly, daily, weekly, monthly).

Specify a comma-separated list of space UUIDs via the spaceUuids query parameter.

Supported metric types: electricity, heating, water, gas, cooling, temperature, co2, humidity, occupancy.

Note: hourly granularity only supported for temperature, co2, and humidity metrics.

If a Space belongs to a Cluster, utility metrics reflect cluster-wide consumption; otherwise, they reflect the individual Space.

Spaces that cannot be found are returned in the errors array.

Request

Responses