Create Model
Create a forecast model.
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
Name for the forecast model.
External identifier for the forecast model. If you have an ID for the location/store/property/product-group in your other platforms, use the same ID here to easily connect this specific forecast model.
Number of days into the future to forecast.
When true, generates a baseline model using historical demand data only - without PredictHQ demand intelligence - for benchmarking accuracy against the enhanced model.
falseSet of labels you can use to better identify or group your forecast models.
Currently we offer one algorithm based on XGBoost. In the future we may offer additional algos.
phq-xgboostSuccessful Response
Bad Request
Unauthorized
Payment Required
Forbidden
OpenAPI Spec
Guides
Last updated
Was this helpful?