Builds an AI-safe plan export server-side, runs Gemini Plan Analysis, persists lastPlanAnalysis* on the budget, records Activity History, and returns the review. Consumes one daily AI review slot (Pro 10/day, Ultra 20/day, shared with in-app Analyze and Transactions Analysis). Prefer get_plan_analysis first. Over quota → resource_exhausted (HTTP 429). Requires edit access.
POST
/v1/run_plan_analysisBody
| Veld | Type | Verplicht | Standaard | Beschrijving |
|---|---|---|---|---|
| budgetId | string | Ja | — | Budget to analyze. |
| locale | string | Nee | — | Optional locale for review language (see Locales). Defaults to user preferred language. |
Antwoord data
| Veld | Type | Beschrijving |
|---|---|---|
| status | string | Always current after a successful run. |
| analyzedAt | string | ISO-8601 timestamp of this run. |
| analysis | object | Fresh Plan Analysis payload including dataHash. |