Skip to main content
POST
Create a load forecast

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Load forecast input

scope
enum<string>
required

Reference point for the load forecast

Available options:
subscription
Example:

"subscription"

subscription
string
required

Required subscription ID when scope is 'subscription'

Example:

"sub_123456789"

resolution
enum<string>
required

Time resolution of the load forecast data points

Available options:
15min
Example:

"15min"

unit
enum<string>
required

Unit of measurement for the forecast values. Load forecasts are power curves: each data point is the average power draw in kilowatts (kW) during its 15-minute interval, not the energy consumed. The energy per interval in kWh equals the value divided by 4.

Available options:
KW
Example:

"KW"

data
object[]
required

Array of load forecast data points. Must be strictly consecutive with exactly 15-minute intervals and without overlaps or gaps and can only contain one data point per 15-minute interval.

Example:

Response

Positive response

scope
enum<string>
required

Reference point of the stored load forecast

Available options:
subscription
subscription
string
required

ID of the subscription the forecast was stored for

start
string<date-time>
required

Start of the first forecast interval (UTC)

end
string<date-time>
required

End of the last forecast interval (UTC)

total
number
required

Sum of the submitted power values in kW across all 15-minute intervals. This is a checksum for the submission, not an energy amount. To convert to total energy in kWh, divide by 4.