Get Demand Data
Get previously uploaded demand data.
Authorizations
AuthorizationstringRequired
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
Path parameters
model_idstringRequired
Query parameters
date.gtstring · dateOptional
Filters demand after the specified date (exclusive).
Expected format: YYYY-MM-DD
date.gtestring · dateOptional
Filters demand on or after the specified date.
Expected format: YYYY-MM-DD.
Example: 2025-01-01
date.ltstring · dateOptional
Filters demand before the specified date (exclusive).
Expected format: YYYY-MM-DD.
date.ltestring · dateOptional
Filters demand on or before the specified date.
Expected format: YYYY-MM-DD.
Example: 2025-01-07
limitintegerOptionalDefault:
Limit the number of results.
10offsetintegerOptionalDefault:
Offset the results.
0Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
/v1/forecasts/models/{model_id}/demandOpenAPI Spec
Guides
Last updated
Was this helpful?