Projects
List the consumption cost datums for a specified date range and aggregate for a project
Authorizations
Path parameters
projectIdstringRequired
The ID of the project
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/cost/projects/{projectId}GET /energy/datums/consumption/cost/projects/{projectId}?start=2025-10-30T15%3A37%3A26.463Z&end=2025-10-30T15%3A37%3A26.463Z HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{
"projectDatums": {
"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-30T15:37:26.463Z",
"localEndDate": "2025-10-30T15:37:26.463Z"
},
"aggregation": "year"
}