get
https://{app-url}{}/api/v2/forecast/tasks//history
Get forecast results history per task
This call gets all the forecast results for a specific metric regardless of the task.
| Field | Type | Description / Example |
|---|---|---|
| taskID | string ($uuid) | Unique identifier of the forecast task. Retrieve this ID using the Get Forecast Tasks endpoint. |
| for_date | timestamp (epoch) | Date for which to retrieve historical forecast results, specified as a Unix epoch timestamp. |
Response Fields:
The response is built of two arrays:
- An array of Actual values - the actual values of the metric split into the relevant time stamps.
- An array of forecast results. A forecast result will be a set of predicted data points per metric. A data point has a value and a lower band and upper band of forecast, all at a given time stamp. See GET Forecast Results for the details.
