List transaction anomalies
GET
/api/v1/anomalies
Return 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.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Query
-
severitystring -
Filter by severity: low, medium, high
-
anomaly_typestring -
Filter by anomaly type (e.g. duplicate_payment, unusual_amount)
-
show_dismissedboolean default:False -
Include previously dismissed anomalies
-
start_datestring · date -
Optional inclusive lower bound for anomaly date window (YYYY-MM-DD).
-
end_datestring · date -
Optional inclusive upper bound for anomaly date window (YYYY-MM-DD).
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
-