Forecast Data

Upload prediction data with maximum 366 rows at the variable resolution

Changed on

Operation 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 URL
    https://api.quinyx.com
  • Auth
    • OAuth 2
      Client credentials
      Token URL/oauth/token
      Scopesforecast.external.prediction:write
    • or OAuth 2
      Client credentials
      Token URL/oauth/token
      Scopesforecast.external.prediction:update
    • or OAuth 2
      Client credentials
      Token URL/oauth/token
      Scopesforecast.external.prediction:create
  • TypeScript
    A 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:write was added to the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast.external.prediction:create was removed from the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast.external.prediction:write was added to the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast.external.prediction:create was removed from the endpoint's security scheme OAuth2ClientCredentials