---
title: "Changes to GET /sites/{siteId}/usage"
method: GET
path: "/sites/{siteId}/usage"
---

# Changes to GET /sites/{siteId}/usage

`GET /sites/{siteId}/usage`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 10 of 28 revisions.

- **2024-02-19** `8adde3b15a39` — 1 info
- **2024-02-19** `807291d1a356` — 1 info
- **2024-02-19** `744a2629bc70` — 2 breaking, 4 warning, 1 info
- **2024-02-19** `ccc4db008040` — 1 breaking, 6 info
- **2024-02-19** `74933103dd47` — 1 breaking, 4 warning, 1 info
- **2024-02-16** `ecefb836e757` — 2 info
- **2024-02-16** `5943d9176aaa` — 2 info
- **2024-02-16** `45e3397ba8e0` — 2 info
- **2024-02-16** `b22d50d1e47b` — 2 info
- **2024-02-16** `8c2cf08d700d` — 5 info

## Changes

- **2024-02-19** `8adde3b15a39` — 1 info
  - api operation id `getUsage` was added
- **2024-02-19** `807291d1a356` — 1 info
  - the response property `items/allOf[subschema #2]/channelIdentifier` became required for the status `200`
- **2024-02-19** `744a2629bc70` — 2 breaking, 4 warning, 1 info
  - the response property `items/allOf[subschema #2]/channelIdentifier` became optional for the status `200`
  - the `items/allOf[#/components/schemas/Interval]/tariffInformation` response's property type changed from `object` to no type for status `200`
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/block` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/demandWindow` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/period` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/season` from the response with the `200` status
  - added `#/components/schemas/TariffInformation` to the `items/allOf[#/components/schemas/Interval]/tariffInformation` response property `allOf` list for the response status `200`
- **2024-02-19** `ccc4db008040` — 1 breaking, 6 info
  - the `items/allOf[#/components/schemas/Interval]/tariffInformation` response's property type changed from no type to `object` for status `200`
  - added the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/block` to the response with the `200` status
  - added the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/demandWindow` to the response with the `200` status
  - added the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/period` to the response with the `200` status
  - added the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/season` to the response with the `200` status
  - removed `#/components/schemas/TariffInformation` from the `items/allOf[#/components/schemas/Interval]/tariffInformation` response property `allOf` list for the response status `200`
  - the response property `items/allOf[subschema #2]/channelIdentifier` became required for the status `200`
- **2024-02-19** `74933103dd47` — 1 breaking, 4 warning, 1 info
  - the `items/allOf[#/components/schemas/Interval]/tariffInformation` response's property type changed from `object` to no type for status `200`
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/block` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/demandWindow` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/period` from the response with the `200` status
  - removed the optional property `items/allOf[#/components/schemas/Interval]/tariffInformation/season` from the response with the `200` status
  - added `#/components/schemas/TariffInformation` to the `items/allOf[#/components/schemas/Interval]/tariffInformation` response property `allOf` list for the response status `200`
- **2024-02-16** `ecefb836e757` — 2 info
  - for the `query` request parameter `endDate`, the type was generalized from no type to `string`, and format from `date-time` to `date`
  - for the `query` request parameter `startDate`, the type was generalized from no type to `string`
- **2024-02-16** `5943d9176aaa` — 2 info
  - for the `query` request parameter `endDate`, the type was generalized from `string` to no type
  - for the `query` request parameter `startDate`, the type was generalized from `string` to no type
- **2024-02-16** `45e3397ba8e0` — 2 info
  - for the `query` request parameter `endDate`, the type was generalized from no type to `string`
  - for the `query` request parameter `startDate`, the type was generalized from no type to `string`
- **2024-02-16** `b22d50d1e47b` — 2 info
  - added `#/components/schemas/Interval` to the `items/` response property `allOf` list for the response status `200`
  - removed `subschema #1` from the `items/` response property `allOf` list for the response status `200`
- **2024-02-16** `8c2cf08d700d` — 5 info
  - api operation id `getUsage` removed and replaced with ``
  - for the `query` request parameter `endDate`, the type was generalized from `string` to no type, and format from `date` to `date-time`
  - for the `query` request parameter `startDate`, the type was generalized from `string` to no type
  - added `subschema #1, subschema #2` to the `items/` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/Interval, subschema #2` from the `items/` response property `allOf` list for the response status `200`

---

[Operation](https://skmtc.dev/amberelectric/apis/amber-electric-public-api/docs/sites/:siteId/usage/get.md) · [API](https://skmtc.dev/amberelectric/apis/amber-electric-public-api.md) · [Page](https://skmtc.dev/amberelectric/apis/amber-electric-public-api/changes/sites/:siteId/usage/get)
