Power Forecast
Query power generation forecast data for renewable energy sources (Solar, Wind, etc.).
Query power forecast prediction data for renewable energy generation (Solar, Wind, etc.) and electricity demand (Load).
Dimensions:
zone_key: Country/region code (e.g. "DE")psr_type: Generation source type (e.g. "Solar", "Wind Onshore") or "Load" for electricity demand. Load is currently available for Germany ("DE") only.
Query Modes (mutually exclusive):
Horizon mode (init_time-centric):
init_time: Specific init time(s) or relative tokens (latest,latest-N)max_prediction_timedelta: Limit forecast horizon (minutes)
Time range mode (time-centric):
start_time/end_time: Filter by computed forecast time
Model version and regime:
Omit
version(orversion: "stable") to follow the packaged stable pointer — this moves when Jua promotes a new checkpoint.regimeselects which product those aliases resolve against.curtailed(default) is actual production.uncurtailedis potential. A concrete run id ignoresregime.To freeze today's stable (safe across promotes): call
GET /versions, take the row withis_stable: true(curtailed) oris_stable_uncurtailed: true, then pass that run id asversion.version: "latest"follows the packaged latest pointer forregime.version_pinsoverrides specific (zone, psr) cells in one request.
Response Formats:
json: Columnar JSON format{column: [values], ...}arrow: Apache Arrow IPC stream for efficient processing
Authentication: Requires API key.
Response format: 'json' or 'arrow'
jsonPossible values: When true, JSON responses are wrapped in {data, units}. Units are always sent via X-Variable-Units header regardless.
falseQuery parameters for power forecast data.
Supports two mutually exclusive query modes:
Horizon mode (init_time-centric): - Specify init_time as datetime(s) or relative tokens (latest/latest-N) - Optionally limit by max_prediction_timedelta
Time range mode (time-centric): - Specify start_time / end_time - Computed time = init_time + prediction_timedelta * 60s
Common filters: - zone_keys: List of zone codes (e.g. ["DE", "FR"]) - psr_types: List of generation types (e.g. ["Solar", "Wind Onshore"])
Version selection:
- version is the default for every (zone, psr) cell
- regime selects which packaged product those aliases resolve
against (curtailed = actual production, default; uncurtailed
= potential). A concrete run id ignores regime.
- version_pins overrides specific cells so one request can mix
e.g. DE Solar pinned + FR Wind on stable
List of zone codes (e.g. ['DE', 'FR'])
["DE"]List of PSR types (e.g. ['Solar', 'Wind Onshore'])
["Solar","Wind Onshore"]Default model version for all (zone, psr) cells: 'stable' (default), 'latest', or a run id from GET /versions. Overridden per cell by version_pins. Aliases resolve against regime.
stableWhich packaged product version aliases resolve against. 'curtailed' (default) is actual production. 'uncurtailed' is potential. A concrete run id ignores this.
curtailedExample: curtailedPossible values: Init time selection for horizon mode. Accepts datetime(s), 'latest', or 'latest-N'.
latestOffset from latest forecast (0 = latest, 1 = second latest, etc.)
Maximum prediction horizon in minutes (horizon mode)
Start of time range (inclusive, time range mode)
2025-12-01T00:00:00ZEnd of time range (exclusive, time range mode)
2025-12-07T00:00:00ZTemporal aggregation for returned rows. None and native return raw 15-minute rows; hourly/daily/weekly average value within buckets. init_time stays a group key so multi-run comparisons remain separated.
nativePossible values: IANA time zone name for time formatting (e.g. 'Europe/Berlin'). When aggregation_period is daily or weekly, also sets the bucket boundary timezone (hourly aggregation ignores this).
UTCApply leakage-safe walk-forward additive MW debias. Wind uses an eight-week fitting window, solar uses four weeks, and both retain a seven-day exclusion gap. Opt in explicitly; raw predictions remain the API default.
falseSuccessfully retrieved power forecast data
Invalid query parameters
Authentication required
Insufficient permissions
Validation Error
POST /v1/power-forecast/data HTTP/1.1
Host: query.jua.ai
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"zone_keys": [
"DE"
],
"psr_types": [
"Solar"
],
"init_time": "latest"
}{
"zone_key": [
"DE",
"DE"
],
"psr_type": [
"Solar",
"Solar"
],
"init_time": [
"2025-12-01T00:00:00Z",
"2025-12-01T00:00:00Z"
],
"prediction_timedelta": [
60,
120
],
"time": [
"2025-12-01T01:00:00Z",
"2025-12-01T02:00:00Z"
],
"value": [
1250.5,
1320.3
]
}Get a list of available zone codes that have power forecast data.
This is a metadata endpoint. Authentication is optional: credentials are honoured for caller attribution when present, and the endpoint remains callable anonymously for backwards compatibility with released SDK versions.
Successfully retrieved zone list
Result for available zones query.
Validation Error
GET /v1/power-forecast/zones HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"zones": [
"DE"
]
}Get a list of available PSR (Production Source) types for power forecasts.
This is a metadata endpoint. Authentication is optional: credentials are honoured for caller attribution when present, and the endpoint remains callable anonymously for backwards compatibility with released SDK versions.
Optional zone key(s) to filter PSR types by
When true, return only PSR types produced in every given zone (intersection). Default returns the union across zones.
falseSuccessfully retrieved PSR type list
Result for available PSR types query.
Validation Error
GET /v1/power-forecast/psr-types HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"psr_types": [
"Load",
"Solar",
"Wind Onshore"
]
}Catalog of pin-able run ids per zone/PSR.
description is packaged metadata for a known run id. Historical versions without retained metadata return null.
Freeze today's stable (recommended for promote-safety):
Call this endpoint (optionally filter with
zone_key/psr_type).For each cell you care about, take
model_versionwhereis_stableis true.Pass that run id as
versiononPOST /power-forecast/data(whole request) or inversion_pins(per cell).
version: "stable" follows live promotes. A concrete run id does not.
is_latest marks the curtailed preview alias (version=latest). is_stable_uncurtailed / is_latest_uncurtailed mark the uncurtailed sibling maps.
Requires power-forecast model entitlement (same as POST /data): the catalog exposes internal checkpoint / WandB run ids used for pinning.
Optional zone key(s) to filter versions by
Optional PSR type(s) to filter versions by
Successfully retrieved version catalog
Catalog of pin-able model versions, optionally filtered by zone/PSR.
Validation Error
GET /v1/power-forecast/versions HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"versions": [
{
"model_version": "rv7orbtm",
"description": "Adds EPT 2.1 Helios to the Germany solar forecast (2026-07-09)",
"zone_key": "DE",
"psr_type": "Solar",
"is_stable": true,
"is_latest": true,
"earliest_init_time": "2025-05-31T23:45:00Z",
"latest_init_time": "2026-07-11T08:30:00Z"
}
]
}Check whether the most recent power forecast was generated using fallback initial conditions (i.e. ENTSO-E source data was unavailable).
Returns {"is_fallback": true} when the latest forecast used synthetic history, and {"is_fallback": false} otherwise.
This is a metadata endpoint. Authentication is optional: credentials are honoured for caller attribution when present, and the endpoint remains callable anonymously for backwards compatibility with released SDK versions.
Optional zone key to check (e.g. 'DE'). If omitted, checks across all zones.
Fallback status
Validation Error
GET /v1/power-forecast/fallback-status HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"is_fallback": false
}Return init times whose forecasts were generated with fallback (estimated) initial conditions. The frontend uses this to flag specific model runs in the chart legend as potentially degraded.
This is a metadata endpoint. Authentication is optional: credentials are honoured for caller attribution when present, and the endpoint remains callable anonymously for backwards compatibility with released SDK versions.
Optional zone key to filter by (e.g. 'DE'). If omitted, returns fallback init times across all zones.
List of fallback init times
Validation Error
GET /v1/power-forecast/fallback-init-times HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"fallback_init_times": [
"2026-03-24T14:00:00Z",
"2026-03-25T06:00:00Z"
]
}Get available forecast init times with their max prediction horizon.
Used by the dashboard to populate the init_time dropdown when creating a power forecast data source. Results are ordered newest-first.
When include_availability=true is passed along with zone_key and psr_type filters, the response includes an availability_by_init_time field that maps each init_time to the list of (zone_key, psr_type) combinations that are available for it. This allows determining which specific combinations are missing for excluded init times without additional API calls.
total_count, archive_earliest_init_time, and archive_latest_init_time come from a separately cached archive-stats query (900 s logical TTL + 180 s stale-while-revalidate). They can lag the listing by up to 1080 s, and all three are null together when a cold archive-stats miss hits the request deadline or fails. The listing is still returned in that case. A cached all-null stats block also means the scope has no complete run; clients cannot distinguish those two cases on the wire.
dissemination_time is the instant the run's current values were written (the latest of its cells). dissemination_time_source is recorded when every cell has a stored write time, and scheduled when at least one cell has none: the time is then the scheduled publication time and the run was produced after the fact (a backfill).
This is a metadata endpoint. Authentication is optional: credentials are honoured for caller attribution when present, and the endpoint remains callable anonymously for backwards compatibility with released SDK versions.
Zone key(s) to filter init times by
PSR type(s) to filter by. When multiple are given, only init_times available for ALL of them are returned.
Maximum number of init times to return. Ignored only when BOTH start_time and end_time are provided (the half-open window [start_time, end_time) then bounds the listing instead of the row count). With a single bound the limit still applies, since the other side is open.
192Sort direction for init_time: 'desc' (newest first, default) or 'asc' (oldest first)
descPossible values: Inclusive lower bound on init_time (ISO-8601, UTC). When set together with end_time, all init_times in the half-open window [start_time, end_time) are returned regardless of the limit/1000 row cap; on its own the limit still applies.
Exclusive upper bound on init_time (ISO-8601, UTC): init_time < end_time. On its own the limit still applies (the lower side is unbounded).
When true and zone_key/psr_type are provided, include per-init-time availability breakdown showing which zone/PSR combinations are available for each init_time.
falseModel version: 'stable' (default), 'latest', or a run id from GET /versions. Same semantics as POST /data.
Product map version aliases resolve against. 'curtailed' (default) is actual production. 'uncurtailed' is potential. Same semantics as POST /data.
curtailedPossible values: Successfully retrieved init times
Result for available init times query.
Validation Error
GET /v1/power-forecast/init-times HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"init_times": [
{
"init_time": "2025-12-01T18:00:00Z",
"max_prediction_timedelta": 3720,
"dissemination_time": "2025-12-01T19:07:12Z",
"dissemination_time_source": "recorded"
},
{
"init_time": "2025-12-01T12:00:00Z",
"max_prediction_timedelta": 3720,
"dissemination_time": "2025-12-01T13:06:48Z",
"dissemination_time_source": "recorded"
}
]
}Last updated