Detect Anomalies
detect_anomaliesIdentify unusual transactions in your YNAB budget by detecting abnormal amounts, large charges from new payees, and potential duplicates using statistical baselines.
Instructions
Find unusual transactions: abnormal amounts for known payees, large charges from new payees, and potential duplicates. Compares each transaction against a baseline built from that payee's other transactions (the transaction itself is excluded). For payees whose history is near-constant the comparison scale is floored, in which case scale_basis is "floor" and scale_multiple is a multiple of that floor rather than a standard deviation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_id | No | Budget ID. Omit to use the last-used budget. | |
| since_date | No | Start of detection window in YYYY-MM-DD format. Defaults to 30 days ago. | |
| sensitivity | No | Detection sensitivity: low (3-sigma), medium (2-sigma), high (1.5-sigma). | medium |
| history_months | No | Months of history to build baseline statistics from. |