← API reference
Mutation / aiml

forecastMLModel

Forecast future values using a trained time-series model. Requires mlmodelconfig:execute permission.

Arguments

ID of the trained time-series model config to forecast with

horizonInt!

Number of steps ahead to forecast

levelFloat

Optional confidence level (0–1) for prediction intervals

Returns ForecastMLModelPayload!

Explore in a view

AI and ML
View exact SDL
"""
Forecast future values using a trained time-series model. Requires mlmodelconfig:execute permission.
"""
forecastMLModel(
  """ID of the trained time-series model config to forecast with"""
  id: MLModelConfigID!
  """Number of steps ahead to forecast"""
  horizon: Int!
  """Optional confidence level (0–1) for prediction intervals"""
  level: Float
): ForecastMLModelPayload! @topic(names: ["aiml"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.