Retrieve consumption data by its id
Required capabilities:
projectsAcl:LIST
Retrieves consumption data by its meterId.
- Without
startandnumberOfDatapoints: Returns meter metadata. - With
startandnumberOfDatapoints: Returns historical time-series data with averaged values.
Authorizations
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Scopes
Path Parameters
Query Parameters
Response
The requested consumption data. Returns meter metadata unless 'start' and 'numberOfDataPoints' are provided. When they are provided, includes historical time-series data with averaged values.
A singular representation of the current consumption.