v1

latestOpenAPI 3.1.02026-07-2342137210.8 KB
Models

Replace Model

Replaces the full configuration of an existing forecast model. This is a full replacement — all mutable fields should be provided. Changes to location, demand_type, forecast_window, algo, or generate_baseline are blocked while the model is in preparing, training, or forecasting status. Changing any of those fields sets the model to stale status, requiring re-training to take effect.

put/v1/forecasts/models/{model_id}

Path parameters

model_idstring required

The unique identifier of the forecast model.

Request body

namestring required

Name for the forecast model.

external_idstring nullable

User-provided external identifier for cross-referencing with other systems.

forecast_window'1d' | '7d' | '14d' | '28d' | '30d' | '60d' | '90d'
labelstring[] nullable

Set of labels you can use to better identify or group your forecast models.

algo'phq-xgboost'

Algorithm to use for forecasting.

Response

Successful Response