Upload Demand Data
Upload your demand data as CSV, line-delimited JSON or JSON.
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
An existing Beam Analysis ID.
Content type of the uploaded payload.
Note that application/x-ldjson is deprecated please use application/x-ndjson.
text/csvPossible values: A single demand data point consisting of a date and a positive numeric demand value.
ISO8601 Date format (YYYY-MM-DD)
2023-01-01Number value (float or integer, must be a positive number).
12.235Successful Response
Invalid request body or demand data
Bearer token scope insufficient
Analysis not found
A data conflict has occurred due to the analysis being modified elsewhere. Please retry your call later.
Validation Error
No content
Error Codes
Examples
OpenAPI Spec
Guides
Last updated
Was this helpful?