Upload Demand Data
Upload historical demand data for an existing forecast model.
Authorizations
Path parameters
model_idstringRequired
Body
Responses
201
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
POST /v1/forecasts/models/{model_id}/demand HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer $API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"demand": [
{
"date": "2025-06-27",
"demand": 1
}
]
}
No content
OpenAPI Spec
The OpenAPI spec for Forecasts API can be found here.
Guides
Last updated
Was this helpful?