Skip to main content
The GET /metrics/model-performance endpoint returns a side-by-side comparison of accuracy metrics for different model versions over a specified date range, helping you understand how the forecasting models have evolved. Each entry in the response corresponds to one model version that was active during the requested window, along with its MAE, RMSE, and MAPE computed against official OMIE settled prices.

Endpoint


Query Parameters

string
default:"day-ahead"
The market session to evaluate. Must be one of day-ahead, intraday-1, intraday-2, or intraday-3.
string
required
Start of the comparison window, in YYYY-MM-DD format. Must be earlier than date_to.
string
required
End of the comparison window, in YYYY-MM-DD format. Both dates are inclusive.

Request Example

The examples below compare all model versions that served day-ahead forecasts during Q1 2024.

Response

A successful request returns HTTP 200 OK with metadata about the query and an array of per-version accuracy objects, ordered by active_from ascending (oldest version first).
string
The market session the comparison applies to (e.g. "day-ahead").
string
The start of the evaluated window in YYYY-MM-DD format, as supplied in the request.
string
The end of the evaluated window in YYYY-MM-DD format, as supplied in the request.
array
Ordered list of model versions active during the requested date range. Each element contains accuracy metrics computed only from the days that specific version was active.

Example Response

The response below shows two model versions that were active during Q1 2024, with the newer v2.4.0 outperforming v2.3.0 across all three metrics.

Error Responses

Run this endpoint after Nexenergie deploys a model update — you’ll notice model_version changing in forecast responses — to confirm the new version performs as well or better on your target market before relying on it for high-stakes procurement decisions.
Model versions are managed entirely by Nexenergie and updated automatically. You can monitor version changes and their impact on accuracy through this endpoint, but you cannot select or pin a specific version for new forecasts.