Energy Forecast
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
customerBuildingIdstringRequiredPattern:
^[a-zA-Z0-9:._-]{1,100}$Query parameters
eventTypestring · enumRequiredExample:
Target energy forecast event type, which defines what data to select.
ENERGY_CONSUMPTION_FORECAST_24HPossible values: frominteger · int64RequiredExample:
The starting time (inclusive) in epoch seconds of the forecast time window.
Remark: The time window between from and to must not exceed one month.
1739408400tointeger · int64RequiredExample:
The final time (exclusive) in epoch seconds of the forecast time window.
1739494800Responses
200
OK
application/json
timestampinteger · int64Optional
forecastTimestampinteger · int64Optional
valuenumber · floatOptional
get/buildings/{customerBuildingId}/energy-forecast/v1
GET /buildings/{customerBuildingId}/energy-forecast/v1?eventType=ENERGY_CONSUMPTION_FORECAST_1H&from=1&to=1 HTTP/1.1
Host: api.moost.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
[
{
"timestamp": 1,
"forecastTimestamp": 1,
"value": 1
}
]Relationship to Context Services
Dashboard Usage
Last updated

