Skip to main content

Get device consumption data

GET 

/devices/:deviceuuid/consumption/:metrictype

Retrieves time-series consumption data from a device for a specific metric type.

Specify an interval to aggregate the data into time buckets. If no interval is specified, the default is 1 hour.

The maximum allowed period between fromDateTime and toDateTime is 24 hours.

Where there is no data for a specified interval, null will be returned.

Request

Responses