Energy Consumption
Time series data for all sites
Changed onRetrieves time series energy data across all sites
Scoped API keys require consumption:read and effective site access.
API key: requires the consumption:read scope.
get/v1/sites/timeSeries
Request
- Base URLhttps://api.voltview.co.uk
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
granularity'hour' | 'day' | 'month' | 'year'
Data aggregation granularity
fromstring date-time
Example:2024-01-01T00:00:00.000Z
Start date and time (ISO 8601)
tostring date-time
Example:2024-12-31T23:59:59.999Z
End date and time (ISO 8601)
lookbackstring
Example:1y
Time period to look back (e.g. 1d, 1w, 1m, 1y for day, week, month, year)
Response
Time series data retrieved successfully
Changes
- info
the endpoint scheme security
apiKeyAuthwas added to the API - info
the endpoint scheme security
sessionJwtwas added to the API
- info
- breaking
the
response's property type changed from no type toobjectfor status
5 more changes in this revision
- breaking