API

Run transactions analysis

Run Transactions Analysis and persist the cache.

Builds a 30-day linked-account outflow snapshot, runs Gemini plan-vs-reality matching, persists lastTransactionsReview*, prunes out-of-window dismissals, and returns insights. Consumes one daily AI review slot. Prefer get_transactions_analysis first. Over quota → resource_exhausted (HTTP 429). Requires edit access and at least one linked account with evidence.

POST/v1/run_transactions_analysis

Body

FeldTypErforderlichStandardBeschreibung
budgetIdstringJa—Budget to analyze.
includeDismissedbooleanNein—When true, return insights without filtering ignores.

Antwort-data

FeldTypBeschreibung
statusstringAlways current after a successful run.
analyzedAtstringISO-8601 timestamp of this run.
analysisobjectFresh plan-vs-reality payload including dataHash.

Verwandt