Cost
List the consumption cost datums for a specified date range and aggregate for all projects
Authorizations
Query parameters
startstring · date-timeRequired
The inclusive start date
endstring · date-timeRequired
The exclusive end date
aggregationstring · enumOptionalPossible values:
The aggregation to group the datums by
Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
/energy/datums/consumption/costGET /energy/datums/consumption/cost?start=2025-10-31T20%3A50%3A25.435Z&end=2025-10-31T20%3A50%3A25.435Z HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{
"projects": {
"ANY_ADDITIONAL_PROPERTY": {
"consumptionCost": {
"totalCost": 1,
"totalMeteredCost": 1,
"totalDemandCharge": 1,
"totalFixedCost": 1,
"aggregatedTotals": [
{
"meteredCost": 1,
"demandCharge": 1,
"fixedCost": 1
}
],
"sites": {
"ANY_ADDITIONAL_PROPERTY": {
"totalCost": 1,
"totalMeteredCost": 1,
"totalDemandCharge": 1,
"totalFixedCost": 1,
"aggregatedTotals": [
{
"meteredCost": 1,
"demandCharge": 1,
"fixedCost": 1
}
],
"systems": {
"ANY_ADDITIONAL_PROPERTY": {
"totalCost": 1,
"totalMeteredCost": 1,
"totalDemandCharge": 1,
"totalFixedCost": 1,
"aggregatedTotals": [
{
"meteredCost": 1,
"demandCharge": 1,
"fixedCost": 1
}
]
}
}
}
}
}
}
},
"range": {
"localStartDate": "2025-10-31T20:50:25.435Z",
"localEndDate": "2025-10-31T20:50:25.435Z"
},
"aggregation": "year"
}