Trigger an on-demand anomaly rescan
POST
/api/v1/anomalies/rescan
Start a Temporal workflow that re-runs the anomaly detection engine for the current business and refreshes the cached scan results. Returns immediately; clients should refetch GET /anomalies shortly afterwards. Rate-limited to one rescan per business every 5 minutes.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Responses
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-