Upload Demand Data

Upload historical demand data for an existing forecast model.

Upload Demand Data

post
Authorizations
Path parameters
model_idstringRequired
Body
Responses
201
Successful Response
application/json
Responseany
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?