List Forecast Accuracy
GET/api/inventory-forecasting/accuracy
List a product's forecast-accuracy history across runs, paginated. Each entry compares a run's projected demand against the actual quantity sold in the evaluation window.
purchase-orders:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Query parameters:
- product_id (required): the product to read accuracy for.
- page (default 1), per_page (default 15).
Each entry reports ape (absolute percentage error), signed_bias with a bias_direction of over, under, or none, a tracking_signal, and is_drifting when the forecast is trending off.
forecast_quantity is the demand the run projected for the evaluation window: the stored line's inputs.daily_average multiplied by the window's days (not the line's order quantity). Saved scheduled runs are scored automatically by the nightly sku:forecasting:evaluate-accuracy sweep once 30 days have elapsed, over the 30 days after the run.
run_link is the app path of the scored forecast run, or null once that run has been purged (runs that created no purchase orders are deleted 37 days after they run; their accuracy scores are kept).
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.