Get Spending Trends
get_spending_trendsAnalyze multi-month spending trends grouped by category, payee, or category group, and detect increasing or decreasing patterns in your budget.
Instructions
Multi-month spending time series with trend detection. Groups spending by category, payee, or category group and identifies increasing/decreasing patterns. The in-progress current month is included in the series marked partial, but excluded from trend labels, monthly averages, and moving averages. Trend fields are null when fewer than two complete months are available rather than reporting a fabricated flat trend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top entities to include in results. | |
| months | No | Number of months to analyze (2-12). | |
| group_by | No | How to group spending data. | category |
| budget_id | No | Budget ID. Omit to use the last-used budget. | |
| category_ids | No | Limit analysis to specific category IDs. |