---
title: "Time series data for all sites"
method: GET
path: "/v1/sites/timeSeries"
tags: ["Consumption"]
---

# Time series data for all sites

`GET /v1/sites/timeSeries`

Retrieves time series energy data across all sites

## Query parameters

- `granularity` 'hour' | 'day' | 'month' | 'year'
- `from` string, date-time
- `to` string, date-time
- `lookback` string

## Response `200`

Time series data retrieved successfully

- TimeSeries[] — unresolved $ref

## Other responses

- `4XX` — Client error response

## Changes

- **2025-11-17** `1ecbbc9bbafb` — 1 breaking, 3 warning, 2 info
  - the `items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `items/data` from the response with the `200` status
  - removed the optional property `items/granularity` from the response with the `200` status
  - removed the optional property `items/siteId` from the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/voltview/apis/voltview-api/changes/v1/sites/timeSeries/get.md)

---

[API](https://skmtc.dev/voltview/apis/voltview-api.md) · [All operations](https://skmtc.dev/voltview/apis/voltview-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/voltview/voltview-api/revisions/1ecbbc9bbafb/schema)
