Forecast Data
Upload prediction data with maximum 366 rows at the variable resolution
Changed onOperation used to upload generated prediction data. Resolution of datapoints must match expected resolution of variable. The total amount of data rows must not exceed 366.
post/v2/forecasts/predicted-data
Request
- Base URLhttps://api.quinyx.com
- Auth
- OAuth 2Client credentialsToken URL/oauth/tokenScopesforecast.external.prediction:write
- or OAuth 2Client credentialsToken URL/oauth/tokenScopesforecast.external.prediction:update
- or OAuth 2Client credentialsToken URL/oauth/tokenScopesforecast.external.prediction:create
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"requests": [
{
"externalForecastVariableId": "var-1",
"externalForecastConfigurationId": "config-1",
"externalUnitId": "unit-1",
"externalSectionId": "section-1",
"runIdentifier": "run-1",
"runTimestamp": "2026-01-15T12:00:00Z",
"forecastDataPayload": [
{
"data": 100,
"timestamp": "2026-01-15T12:00:00Z"
}
]
}
]
}Response
Data successfully uploaded
Changes
- info
the security scope
forecast.external.prediction:writewas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
forecast.external.prediction:createwas removed from the endpoint's security schemeOAuth2ClientCredentials
- info
- info
the security scope
forecast.external.prediction:writewas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
forecast.external.prediction:createwas removed from the endpoint's security schemeOAuth2ClientCredentials
- info