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.

Operation ID: list_anomalies_api_v1_anomalies_get·View as markdown·OpenAPI slice

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_dismissedbooleandefault: 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

200Successful Response

successboolean
messagestring
codestring
dataListAnomaliesResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject