Skip to content

Sustainability-Insight-Center (v1beta1)

The HPE Sustainability Insight Center API enables users to manage power consumption data that helps to reduce costs and achieve IT sustainability goals.

Download OpenAPI description
Overview
License

HPE License

Languages
Servers
Mock server

https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/sustainability/public/openapi/sustainability-insight-ctr-latest/

https://us-west.api.greenlake.hpe.com/

https://eu-central.api.greenlake.hpe.com/

https://ap-northeast.api.greenlake.hpe.com/

usages

Aggregate usage data

Operations

coefficients

Create and retrieve custom coefficients for locations

Operations

ingests

Upload and retrieve records of 3rd party ingests

Operations

datasources

Retrieve information about where data comes from

Operations

Get all information for SIC data sources.

Request

This returns information such as name and data collection times for each SIC data source.

Security
bearer
curl -i -X GET \
  https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/sustainability/public/openapi/sustainability-insight-ctr-latest/sustainability-insight-ctr/v1beta1/datasources \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
itemsArray of objects(datasource)required
items[].​idstringrequired

ID of the returned datasource record

items[].​typestringrequired

Type of returned datasource

items[].​generationintegerrequired

Monotonically increasing update counter

items[].​createdAtstringrequired

The server-side creation time of this resource in ISO8601 format.

items[].​updatedAtstringrequired

The server-side last updated time of this resource in ISO8601 format.

items[].​namestring

Name of the datasource

items[].​providerstring

Provider name

items[].​lastCollectionTimestring

Time of the last collected data for this datasource in ISO8601 format.

items[].​firstCollectionTimestring

Time of the first collected data for this datasource in ISO8601 format.

countintegerrequired
totalintegerrequired
Response
application/json
{ "items": [ {} ], "count": 5, "total": 10 }

Get information for a SIC data source.

Request

Get information such as name and data collection times for a SIC data source.

Security
bearer
Path
idstringrequired

ID of the data source

Examples:

ID for the data source being accessed is "00000000-0000-0000-0000-0000000000000"

00000000-0000-0000-0000-0000000000000
curl -i -X GET \
  'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/sustainability/public/openapi/sustainability-insight-ctr-latest/sustainability-insight-ctr/v1beta1/datasources/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
idstringrequired

ID of the returned datasource record

typestringrequired

Type of returned datasource

generationintegerrequired

Monotonically increasing update counter

createdAtstringrequired

The server-side creation time of this resource in ISO8601 format.

updatedAtstringrequired

The server-side last updated time of this resource in ISO8601 format.

namestring

Name of the datasource

providerstring

Provider name

lastCollectionTimestring

Time of the last collected data for this datasource in ISO8601 format.

firstCollectionTimestring

Time of the first collected data for this datasource in ISO8601 format.

Response
application/json
{ "id": "00000000-0000-0000-0000-0000000000000", "type": "sustainability-insight-ctr/datasource", "name": "HPE Aruba Central", "provider": "HPE", "lastCollectionTime": "2024-01-01T00:00:00.000Z", "firstCollectionTime": "2024-01-01T00:00:00.000Z", "generation": 0, "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }