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

severity string

Filter by severity: low, medium, high

anomaly_type string

Filter by anomaly type (e.g. duplicate_payment, unusual_amount)

show_dismissed boolean default: False

Include previously dismissed anomalies

start_date string · date

Optional inclusive lower bound for anomaly date window (YYYY-MM-DD).

end_date string · date

Optional inclusive upper bound for anomaly date window (YYYY-MM-DD).

Responses

200 Successful Response

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object