List Demand Anomalies
GET/api/inventory-forecasting/anomalies
List a product's detected demand anomalies, most recent first, optionally scoped to a single resolution status.
Authentication: Requires Bearer token.
Query parameters:
- product_id (required): the product to list anomalies for.
- status (optional): filter by resolution status.
- detected: flagged, not yet actioned.
- excluded: dropped from the baseline (a build with exclude_detected_anomalies true removes these days).
- smoothed: replaced with the expected value before the baseline is computed.
- kept_tagged: kept in the baseline, optionally attributed to a promotion via promo_window_id.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Content-Type
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.