Skip to main content

Evaluate Forecast Accuracy

POST 

/api/inventory-forecasting/accuracy/evaluate

Backtest a completed forecast run by comparing its projected demand against actual sales, and store the resulting accuracy metrics per product. The work runs in the background; the response returns immediately with a job reference to poll for progress.

Authentication: Requires Bearer token.

Body fields:

  • run_id (required): the forecast run to evaluate.
  • eval_start (optional, YYYY-MM-DD): start of the evaluation window; must be on or before eval_end.
  • eval_end (optional, YYYY-MM-DD): end of the evaluation window.

Returns a job reference (tracked_job_log_id).

Request

Responses

OK

Response Headers
    Content-Type