Skip to main content
The Get Site Forecast endpoint returns the optimal forecast, constructed from multiple model outputs based on a priority scheme, as described here. If you need the raw output of a specific model, use the Get Model Output endpoint instead.

Step 1: Get the model IDs

Before querying a model’s output you need its unique identifier, the model ID. Retrieve it using the List Site Models endpoint. You can filter the results to only ML or physical models by setting the model_type parameter to ai or physical, respectively.
Get model IDs
Response example
The response is a list of models configured for the site, with the following fields:
id: The unique model identifier. Use this as model_id in Step 2.
name: The name of the forecasting model.
label: A short label for the model.
version: The version number of the model.
display_name: The name shown for the model in the platform.
priority: The model’s priority rank within the site’s forecast combination.
output_types: The output types the model produces.
state: The model’s training state history.

Step 2: Get the latest model output

Using the model ID from Step 1, query the latest output for that model with the Get Model Output endpoint. If no start_date is provided, the output is returned from today 00:00 UTC onwards.
Get latest model output
Response example
The response is a JSON object with the following fields:
model_id: The unique identifier of the model.
model_version: The version number of the model.
model_name: The name of the forecasting model.
model_label: The label of the model, i.e. the label field from Step 1.
priority: The model’s priority rank within the site’s forecast combination.
as_of: The reference time, i.e. the forecasts returned are the most recent ones that were available at this time.
forecast: It contains the forecast values.
valid_time: It contains the target times, i.e. the periods which are forecasted.
capacity: It contains the site capacity in kilowatts [kW] for each target period.

Query historical model output

Every model run is archived, so you can retrieve a model’s output as it was issued at an earlier point in time. This is the model level equivalent of the historical site forecast. You can provide the following request parameters. Start date start_date
Specify the starting target period of the forecast. If not provided, it defaults to today 00:00 UTC.
Example: "2025-08-02 15:00"
End date end_date
Specify the ending target period of the forecast.
Example: "2025-08-02 16:00"
Reference time as_of
Specify the reference time. The API will return the most recent model output which was available at the reference time and covers the period between start_date and end_date. If not provided, then by default the request time is considered as reference time.
Example: "2025-08-01 11:00"
Time zone tz
Specify the time zone. The default time zone is UTC.
Example: "CET"
Output type output_type
Specify which output of the model to return. The default is "forecast". "clearky" can be used for the physical models clearsky output.
Normalization handling normalization_handling
Specify if the output is returned in absolute values "auto" or normalized by the capacity "disabled". The default is "auto".
In the example below we want to query the output of the model with ID 1d567fa0-e356-467a-cd9f-5f78b901c345 for the period between 2025-08-02 15:00 and 2025-08-02 16:00 which was available at 11:00 in the morning the previous day, i.e. the day-ahead forecast. All times are in UTC.
Get historical model output
Response example