200Successful Response
Schema: SuccessEnvelope_ListAnomaliesResponse_
successbooleanmessagestringcodestringdataListAnomaliesResponse
/api/v1/anomaliesReturn the latest pre-computed anomaly scan for the current business. Results are written by background jobs (daily cron & post-sync). Dismissed anomalies are excluded by default.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
severitystringFilter by severity: low, medium, high
anomaly_typestringFilter by anomaly type (e.g. duplicate_payment, unusual_amount)
show_dismissedbooleandefault: FalseInclude previously dismissed anomalies
start_datestring · dateOptional inclusive lower bound for anomaly date window (YYYY-MM-DD).
end_datestring · dateOptional inclusive upper bound for anomaly date window (YYYY-MM-DD).
Schema: SuccessEnvelope_ListAnomaliesResponse_
successbooleanmessagestringcodestringdataListAnomaliesResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject