Energy
API endpoints for retrieving Energy report data
Note: Ardexa hosts clouds in multiple regions as subdomains of ardexa.com. Where you see a reference to mycloud
in this document, replace it with the appropriate subdomain for your cloud, eg: mycloud.ardexa.com -> app.ardexa.com or eur1.ardexa.com
Get Daily Energy
GET
https://[mycloud].ardexa.com/api/v1/orgs/:workgroupId/daily-energy
Returns daily energy values calculated within the Ardexa Cloud. Note: Daily energy values are calculated on a daily basis up to the previous day. Workgroup-specific date semantics are defined in the Daily Energy report configuration.
Path Parameters
Name | Type | Description |
---|---|---|
workgroupId | string | Workgroup ID |
Query Parameters
Name | Type | Description |
---|---|---|
devices | array | List of device IDs |
groupBy | string | 'source' => return results for individual sources |
startDate | string | Start of date range, format YYYY-MM-DD |
endDate | string | End of date range, format YYYY-MM-DD. Results will include energy produced on this day |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token, format 'Bearer $token' |
Get Budget Data
GET
https://[mycloud].ardexa.com/api/v1/orgs/:workgroupId/budget-data
Returns energy budget values uploaded to the Ardexa Cloud.
Path Parameters
Name | Type | Description |
---|---|---|
workgroupId* | string | Workgroup to retrieve budget data from |
Query Parameters
Name | Type | Description |
---|---|---|
timezone | string | Timezone identifier, specifying the timezone to align budget data to. Default: Etc/UTC |
endDate* | string | End of date range, YYYY-MM-DD format |
startDate* | string | Start of date range, YYYY-MM-DD format |
meterCodes | string | List of meter codes to retrieve budget data for |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | API token, format 'Bearer $token' |
Get Meter Data
GET
https://[mycloud].ardexa.com/api/v1/orgs/:workgroupId/meter-data
Path Parameters
Name | Type | Description |
---|---|---|
workgroupId* | String | Workgroup to retrieve meter data from. |
Query Parameters
Name | Type | Description |
---|---|---|
startDate* | String | Start of date range, YYYY-MM-DD format |
endDate* | String | End of date range, YYYY-MM-DD format |
timezone | String | Timezone identifier, specifying the timezone to align meter data to. Default: Etc/UTC |
meterCodes | Array[String] | List of meter codes to retrieve data for |
granularity | String | Data granularity: default 'daily'. Specify '15m' for 15-minute readings. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | API token, format 'Bearer $token' |
Last updated