← Docs

Tool reference

query modes

The first mode whose trigger matches wins, in this order.

  • digest:true → daily flag briefing
  • health:true → data-quality dashboard
  • explain:true+transaction_id → why this name/category
  • plan_status:true → annual plan vs actuals
  • vested_interest:true → private holdings register
  • subscriptions:true → subscriptions by kind, competing, paid twice, Apple bill
  • recurring:true → bills & subscriptions
  • forecast:true|forecast_months|scenario → projected balance runway
  • paychecks:true → income streams
  • account_summary:true → per-account rollup
  • flows:true → money between own accounts
  • reimbursables:true → money owed back & payouts
  • tag_report:true → per-tag project ledger
  • tax_ledger:true → taxes paid/refunded
  • tax_documents:true → expected tax forms
  • investment_tax:true → recorded 1099 figures
  • tax_packet:true → tax season, open items
  • clusters:true → merchant dedup candidates
  • detail:true → individual transactions
  • by+granularity → P&L matrix
  • granularity alone → trend over time
  • by alone → aggregate with pct
  • period alone → income/expenses/net summary

admin entities

  • category — global taxonomy, READ-ONLY (list, plus this household's own tags/notes on it). Reads: list. Writes: add_tag, remove_tag, set_note, remove_note.
  • category_group — its parent groups, list only. Reads: list. Writes: none.
  • party — merchants. Reads: aliases, list. Writes: remove_alias, set_note, remove_note, create, rename, merge, merge_cluster, delete.
  • tag — transaction tags. Reads: list. Writes: create, rename, delete.
  • account — rename, hide/unhide, tag, note. Reads: list. Writes: add_tag, remove_tag, set_note, remove_note, rename, hide, unhide.
  • recurring_series — bills & subscriptions. Reads: list. Writes: create, update, reject, rename, delete.
  • rule — transaction rules (preview, then create with the returned token). Reads: list, preview. Writes: create, update, delete.
  • plan — the annual plan (propose a draft from actuals, then upsert). Reads: propose, get, list. Writes: upsert, delete.
  • adjustment — overlay entries that normalize reported actuals without touching transactions. Reads: list. Writes: create, update, delete.
  • transfer_link — match two legs of one transfer. Reads: list. Writes: confirm, reject, link.
  • document — Paper Trail: file, find, read_text, version, link, tie_out, substantiate, export. Reads: request_upload, list, get, read_text, export, substantiate, tie_out. Writes: create, delete, link, unlink, reconstruct.
  • import — bank statements (OFX/QFX/QBO + Apple Card, Apple Savings, Rocket Money, Wells Fargo, Monarch, Copilot Money CSVs). Reads: list, request_upload, get. Writes: import, undo.
  • bank_connection — list, sync or disconnect bank connections. Reads: list. Writes: sync, disconnect.
  • feedback — file a bug/feature/ux note. Reads: none. Writes: create.
  • position — private holdings (angel checks, fund commitments, advisor equity). Reads: get, list. Writes: create, update, delete.
  • position_event — what moved one (commitment, call, distribution, fee, mark…). Reads: list. Writes: create, update, delete, review_mark, split_opening_balance.
  • investment_tax_record — what a filed brokerage 1099 prints, gated. Reads: get, list. Writes: create, delete.
  • person — who a transaction counts toward (people, a business, their rules). Reads: list. Writes: create, update, delete, add_rule, remove_rule.

Prompts

  • analyze_spending (Analyze spending): A spending review for a period, optionally focused on one area.
  • review_recurring (Review subscriptions & recurring bills): A subscription review — what you pay for by kind, competing services, anything paid twice, the Apple bill — then your recurring bills.

Parameters

Generated from each tool's input schema: the same one the server sends with tools/list, so it is as current as the tools.

query

period "this_month" | "last_month" | "last_30d" | "last_90d" | "this_year" | "last_year" | "trailing_12m" | "all"
Named time period. 'all' = no date filtering.
start string (date)
Custom range start (YYYY-MM-DD)
end string (date)
Custom range end (YYYY-MM-DD)
date_basis "source" | "posted" | "authorized"
Transaction date basis for detail, summary, grouped and time series. Omitted/source preserves the existing source ledger date. posted uses the source settlement date when supplied, otherwise the ledger date (pending dates remain provisional). authorized uses only source authorization dates: missing dates are excluded even for period:'all', so coverage may be incomplete. Filters, time buckets and date sorting use the selected basis; detail keeps dt and exposes authorized_dt, posted_dt and basis_dt. Cannot reveal pending transactions the source has not delivered.
granularity "daily" | "weekly" | "monthly" | "quarterly" | "yearly"
Group results by day, week, month, quarter, or year. Triggers time series mode.
periods integer, 1–90
Number of rolling periods (requires granularity). Cap is 90 so 'last 90 days daily' fits; for longer ranges use a coarser granularity.
end_date string (date)
Anchor date for the time window — shifts named periods and rolling buckets to end on/around this date instead of today. Applies in every mode.
type "income" | "expense" | "financing" | "pnl" | "cashflow" | "all", default "cashflow"
income, expense, financing (cash advances + EWA repaid from bank), pnl (income+expenses side-by-side, excludes transfers/investments/financing; its net is the OPERATING net = income − expenses, while a pnl trend's change_in_cash and savings_rate still count every kind), cashflow (default; rows and row totals exclude transfers, and net — one number in summary, grouped, time series and the matrix — is the change in cash = income − expenses + investments + financing + the transfers line, which is non-zero when a transfer's other leg isn't in view), all (full ledger, no kind filter — includes transfers)
category string | string[]
Category name(s) — exact match, case-insensitive
group string | string[]
Category group name(s) — exact match, case-insensitive
party string | string[]
Party name(s) — exact match, case-insensitive
account string
Account name or display name — exact match, case-insensitive
tag string | string[]
Transaction tag name(s) — exact match
account_tag string | string[]
Account tag name(s) — restricts to transactions in accounts carrying any of the tags. Canon: operating, bills, emergency-fund, savings-goal, brokerage, retirement.
category_tag string | string[]
Category tag name(s) — restricts to transactions whose category carries any of the tags. Canon: essential, discretionary.
exclude_category string | string[]
Exclude category name(s)
exclude_group string | string[]
Exclude category group name(s)
exclude_party string | string[]
Exclude party name(s)
person string | string[]
Who the rows count toward (admin entity person): name(s), "me" or "shared" (no person)
exclude_person string | string[]
Drop rows counting toward these people (name, "me" or "shared"); Shared rows stay unless "shared" is listed
exclude_tag string | string[]
Exclude transaction tag name(s) — drops rows carrying any of these normalized tags (none-of-any, exact match). Other labels and untagged rows remain; [] excludes nothing.
country string | string[]
Merchant country — ISO alpha-2 ("GR"), alpha-3 ("GRC") or English name ("Greece"), any case. The merchant's country as the bank or card network reports it; rows with no known country never match.
city string | string[]
Merchant city — exact match, case-insensitive. Only where the bank reports one (mostly linked accounts).
amount_min number
Minimum absolute amount (household's currency)
amount_max number
Maximum absolute amount (household's currency)
search string
Text search across display name, party name, description, and check number
is_recurring boolean
Filter recurring transactions
recurring_series_id string (uuid)
Only transactions linked to this recurring series ID, from query { recurring: true }. Matches membership, not merchant or series name. Use period:'all' for its full history.
is_uncategorized boolean
Filter uncategorized transactions
is_transfer boolean
Filter transfers
is_ignored boolean
Return ONLY ignored (hidden) transactions — they're excluded from every query by default. To see ignored rows ALONGSIDE normal ones (e.g. a search that greys them out), use include_ignored instead.
include_ignored boolean
Include ignored (hidden) transactions ALONGSIDE normal ones instead of excluding them; each ignored row is flagged with ign:true so a caller can de-emphasize (grey out) rather than drop it. Unlike is_ignored:true (only ignored), this returns both. Ignored still stays out of all aggregate totals.
is_pending boolean
Filter by pending status — true = only pending, false = only posted. Omitted: transaction detail shows both; summaries and reports show posted only
is_flagged boolean
Filter flagged transactions
direction "inflow" | "outflow"
Filter by transaction direction
has_url boolean
Filter by receipt URL presence (true=has, false=missing)
include_hidden boolean
Include hidden account transactions (excluded by default)
by "group" | "category" | "party" | "account" | "tag" | "category_tag" | "country" | "city" | "person"[]
Aggregate by dimension(s). Triggers grouped mode. category/group put each selected transaction in one bucket, including Uncategorized; their full buckets add up before top truncation. Any grouping containing transaction tag has overlapping buckets: a transaction can carry several tags or none. Read each tag independently; never sum across tags. Grouped tag results omit total/pct and can include Untagged; tag_report gives standalone per-tag figures without Untagged. category_tag is different: its canonical essential / discretionary / untagged buckets do partition the selected transactions; most useful with type=expense. country groups by merchant country (ISO alpha-2), city by merchant city; rows with none land in "Unknown".
top integer, 1–50
Top-N coverage, not a complete report: limits grouped results to N rows (1–50, default 50); grouped comparisons rank by absolute change and include rows with only prior activity. In the time-series matrix (by + granularity) it caps every section's rows: expense groups past N fold into "Other" so groups still sum to the total (over by:tag, whose buckets overlap, the extra tags are dropped, not folded); nest.top caps the items under each group.
nest object
Nested sub-grouping within each group
nest.by required · "category" | "party" | "account" | "tag" | "category_tag" | "country" | "city" | "person"
Sub-grouping dimension within each group
nest.top integer, 1–20, default 5
Top N items per sub-group. In the time-series matrix the rest fold into a summed "Other" item, except under nest by tag: a charge with two tags sits under each, so the rest can't be summed and the group's more_items counts them instead. "Untagged" always comes first.
nest.nest object
In a group time-series matrix nested by tag, show all category children under each tag. Categories partition each tag; tags can overlap.
split_by "group" | "category" | "party" | "account" | "tag" | "category_tag" | "country" | "city" | "person"
Cross-tab: add a split map by this dimension to each grouped result
compare "prior_period" | "prior_year" | "prior_period_elapsed" | "prior_year_elapsed"
Add comparison to prior period or prior year. prior_period_elapsed compares only the same number of elapsed days of the prior period (apples-to-apples for an in-progress period like this_month); prior_year_elapsed does the same against the SAME span one year earlier (right for a partial year — H1-2026 vs H1-2025, not vs the preceding H2-2025). Both work in summary, grouped, and multi-dim time series.
detail boolean
Return individual transactions instead of aggregates
sort "date" | "-date" | "amount" | "-amount"
Sort field (detail mode): date, -date, amount, -amount. Default -date. Signed amounts: amount puts the most negative outflows first; -amount puts the most positive inflows first. For largest expenses use {detail:true, direction:"outflow", sort:"amount"}. A typo is a hard error, not a silent fall back to date.
limit integer, 1–200
Page size 1–200: detail and tag_report default 25, vested_interest defaults 50. Ignored in grouped mode — use top (1–50, default 50) there.
cursor string
Pagination cursor from previous response. Pass the exact cursor to fetch the next page. tag_report cursors require unchanged payment-date range, type, filters, household and viewer; limit may change. Its live totals can move during concurrent edits: restart for a fresh inventory.
since string
Detail mode only: transactions recorded on or after this ISO timestamp — the as_of from a previous run. The first page pins an upper recorded-time bound carried by its cursors, so later arrivals wait for the next run. Keep the original since and sort while paging; store as_of only after has_more is absent. Timestamp equality may replay boundary rows: deduplicate by transaction id.
count boolean
Detail mode only: also return matched — the total number of transactions matching the filter across ALL pages — so you can size the result before paging. Opt-in because it runs a second count scan (vested_interest always returns matched).
flows boolean
Net inter-account transfer matrix (from/to/net/gross). Includes transfers, investment flows, credit card payments.
reimbursables boolean
Outstanding receivables — outflows tagged 'reimbursable' and not yet 'reimbursed'. Returns the total you're owed plus the open items.
tag_report boolean
Per-tag project/tax ledger: each tag's total, count, date span (first/last), and top categories. A trip/project total across categories. Transactions can carry several tags or none: these totals overlap and exclude untagged transactions. Read each tag on its own; never sum across tags or expect them to reconcile to an overall total. Honors ledger filters; defaults to all time. Pages by absolute total descending, then tag: limit 1–200 (default 25), cursor and has_more. Finish when has_more is false for complete tag inventory in the selected payment-date window. coverage states payment_date and range (or all); it excludes untagged rows and prepaid trip charges outside that window, so this is not travel-date coverage. Per-tag totals include each transaction once. Live pagination: restart after concurrent edits.
tax_ledger boolean
What you paid the government this year: tax payments by category (Federal/State/Local/Property Tax), refunds from tax authorities, and net_paid. Returns an excludes note (e.g. paycheck withholding isn't visible in the bank feed) so a W2 user is never told they paid $0. Defaults to this_year. Organizes what happened to hand to a preparer — not tax advice. US households only.
tax_documents boolean
Which tax forms to expect, derived from the money Cashflow can see: wages→W-2, interest→1099-INT, dividends→1099-DIV (kept per issuer), plus categorized tuition/childcare/charitable → 1098-T/statement/acknowledgment. Each form carries its issuer, amount, and confidence (form vs issuer). Each expected row has a status (received / not_due / missing / unconfirmed), the filed documents that answer it, and candidates that might (shown, never attached); counts tallies them and missing_only trims to what is outstanding. Returns a cannot_see list (mortgage 1098, 1099-B, 1099-R, income we can't see…) so it's never read as exhaustive, and needs_review for possible-1099 income to chase. Defaults to the just-completed tax year (last_year Jan–Apr, else this_year); pass year/period to scope. A checklist to hand a preparer or reconcile against email — not a return, not tax advice. US households only.
missing_only boolean
tax_documents: list only what is still outstanding — expected rows that are missing or unconfirmed, K-1 and brokerage rows that are missing. The counts stay whole.
tax_packet boolean
The tax season in one read for a year: forms still outstanding (tax_documents open rows, K-1 and brokerage counts), the recorded 1099 totals per holder with every investment_tax gap and private exit, tax payments for the calendar year plus the next January (where a Q4 estimate lands), and next: what to do about each open item. Whole household (refuses ledger filters); include csv adds the Form 8949 CSV. US households only. Not a tax calculation.
investment_tax boolean
The year's brokerage 1099 figures as recorded (admin entity investment_tax_record), folded per holder: dividend and interest boxes, Form 8949 summary rows by category with term subtotals, 1099-R. Lists gaps a preparer would trip over: filed brokerage forms with no record, basis-not-reported rows, forms that printed no totals. cash_tie sets the forms' dividends and interest beside what the ledger saw land in the linked account (coverage, not a mismatch). Defaults like tax_documents; pass year. Not a tax calculation. US households only.
clusters boolean
Find groups of transactions that likely represent the same merchant but aren't unified under one party
cluster_months integer, 0–600
Clusters mode: lookback window in months (default 18). Pass 0 for all-time — use for a full dedup sweep of historical merchants, since merchants whose last activity predates the window are otherwise invisible.
digest boolean
Daily 'what should I flag' digest: a 30-day low-balance forecast, missed bills (late payments out, never moves between your own accounts), late income (paychecks and other deposits of $25 or more that haven't arrived), unusual charges (large/price-change/fees), plan exceptions when a plan exists (breached spending limits, missed income, over-budget events, off-pace spending), and broken bank connections, in one bounded read-only call. Built for a scheduled/cron agent — safe to run every morning.
health boolean
Data quality dashboard: accounts needing readable names, uncategorized transactions, suspected misclassified income, orphan parties, stale recurring
explain boolean
Provenance trace for a single transaction's naming and classification. Search selects the most recent match and returns matched (the full match count); use transaction_id for an exact selection.
transaction_id string (uuid)
Target transaction ID (for explain mode)
recurring boolean
List recurring bills/subscriptions from recurring_series table
subscriptions boolean
Subscription review: live subscriptions (Media + Gym categories) grouped by kind with monthly/yearly cost, competing services side by side, paid twice, stopped, charges that look like a new subscription, the Apple/Google bill and how much of it the list explains, and named services filed under another category
forecast_days integer, 0–365
Days to forecast (recurring mode default 30, forecast mode default 90, 0 to skip)
is_active boolean,null
Filter active/inactive series (recurring mode, null=all, default true)
forecast boolean
Chronological projected events from recurring series with running balance
forecast_months integer, 1–12
Forecast mode: return a month-by-month projection over N months (1-12) with a calibrated low/high (P10/P90) balance band, instead of the daily event list. Headline is first_negative_month — the first month the low-end (P10) balance goes negative (the runway-relevant stress point).
scenario object
Forecast decision-support: re-run the projection with these what-if changes to regular bills/income, and compare to the unchanged baseline. Answers 'can I afford X?' / 'what if income drops?'. Works with forecast or forecast_months; nothing is saved.
scenario.add object[]
New regular flows to add (e.g. a 600/mo rent increase). They hit the projected balance — the bills-tagged accounts when the forecast is narrowed to them
scenario.remove string[]
Drop existing recurring series whose name contains any of these (case-insensitive), or by exact series id
scenario.scale object[]
Scale matching recurring series' amounts (e.g. income -20%)
paychecks boolean
Income-side recurring series only (paychecks, regular deposits) with cadence labels, plus trailing-90d non-recurring income for variable comp
account_summary boolean
Per-account inflow/outflow/net/balance/n over a period — one row per active account
plan_status boolean
Annual plan vs actuals: income items, events (claimed spend + computed upcoming/underway/done), everyday-base pacing vs the household's seasonal shape, guardrails, exceptions, and the full-year forecast. Scoped by plan year (ignores period/filters).
year integer, 2000–2100
Year for plan_status (plan year), tax_documents, investment_tax and tax_packet (tax year). Default: current year.
vested_interest boolean
The register of private holdings (angel checks, fund commitments, advisor equity): per position committed / paid-in / unfunded / distributed / DPI / net cash, open and past-due capital-call notices, and the latest mark with its as-of date, a staleness flag, and whether it predates later cash. Pages (limit, default 50, + cursor); resolved positions are left out unless include_resolved, and their count is echoed as resolved_omitted. Filters: instrument, issuer, vehicle, currency, mark, search (name / issuer / vehicle). totals, matched and the alerts cover the WHOLE filtered set, not the page. Totals per currency, never combined; marks never summed. cost_basis (per position and in the totals) is what is still AT RISK — paid_in minus return_of_capital minus written_off — not what went in; return_of_capital / fees / written_off print beside it whenever they are non-zero, so a write-off is never a silent gap between the two. On a resolved position net_cash is the realized result and dpi the realized multiple. Ignores period and the ledger filters.
private_book boolean
Deprecated: renamed vested_interest. Still accepted, with a param_warning — send vested_interest.
rollup_by "segment" | "instrument" | "issuer" | "vehicle" | "holder" | "vintage"
vested_interest: return GROUPS instead of rows — per group its included position count, resolved_omitted count when resolved positions were left out, and its per-currency totals, and no positions at all. A resolved-only group has n:0 and empty totals; include_resolved counts those positions and omits resolved_omitted. The whole register in one call: 86 positions is ~78KB of rows and past most tool-result limits, where the same book by segment is a handful of lines. Each group names its DIMENSION as the key ({ segment: "syndicate", n, totals }), so the value can be sent straight back as that filter; a position with no value for the dimension buckets under "undeclared". Groups cover the whole filtered set, so limit and cursor do not apply — there are no rows to page.
include_resolved boolean
vested_interest: also list resolved (exited / written-off) positions — left out by default, as in admin position list.
exclude_position_ids string[]
vested_interest: hold named position IDs out of totals, alerts, matched count, and rollups. Echoed back in the envelope as excluded_n. Refuses by name if any named position ID does not exist in the household.
mark "none" | "stale" | "soft"
vested_interest: only positions with no settled mark (none), whose latest settled mark is stale (stale: older than 180 days, open positions only), or whose latest settled mark is soft (soft: estimate or unconfirmed, open positions only). A settled zero-dollar mark is marked; pending and superseded marks do not count. Uses the same status as include:["marks"] coverage and stale_marks / soft_marks. Composes with other book filters; totals, matched, alerts, resolved_omitted and rollups cover this filtered set before paging.
compact boolean
vested_interest: omit position notes, term notes and mark basis explanations from the rows. Keeps exact term values and their basis/document/page provenance, plus mark amounts, dates and sources. Opt-in, including with changed_since; use smaller limit pages for large books. Full prose remains available through compact:false or admin position get.
changed_since string (date) | string
vested_interest: latest currently matching positions with something RECORDED on or after this (inclusive): an event or position creation/update, with changes. Date and naive ISO mean UTC; offset timestamps keep their exact instant; at most 3 fractional digits and normalized UTC year 0000–9999. Page to completion before saving as_of, the FIRST request clock carried in a scoped versioned cursor. Keep changed_since and book filters unchanged; legacy changed-feed cursors require restarting without cursor from the original cutoff. Next review from as_of intentionally overlaps concurrent records: replace/upsert by position id, never add totals across pages/runs. Membership, folds, totals and alerts stay live; rollups have no feed cursor/as_of. Future row cutoff completes empty at the current clock. Timestamp order is not commit order: earlier-stamped late commits/backward clocks, event edits/deletes, position deletions and filter exits have no guaranteed notifications; position edits coalesce to updated:true without a diff.
instrument "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other"
vested_interest: only positions of this instrument (option, safe, private_equity_fund, …).
segment "employment" | "direct" | "fund" | "syndicate" | "other" | "undeclared" | null
vested_interest: only this book — employment, direct, fund, syndicate, other. The employment book in one call. "undeclared" returns the positions that declare NO segment — nothing else reaches those, since the column is nullable with no default and they match no other value.
vintage string | integer, 1800–2200 | string | integer, 1800–2200[] | null
vested_interest: only positions of this vintage year (calendar year of first settled cash-out, e.g. '2021' or 2021). One year or a list. 'undeclared' returns positions with no settled cash-out events.
terms_basis "document" | "assumed" | "missing" | "document" | "assumed" | "missing"[]
vested_interest: only positions carrying at least one term on any of these bases. One value or a list, so terms_basis:["assumed","missing"] is the whole what-only-you-can-confirm list in ONE call.
issuer string
vested_interest: only positions whose issuer (the company or fund) contains this text, case-insensitive.
vehicle string
vested_interest: only positions held through a vehicle whose name contains this text, case-insensitive. "undeclared" returns the positions held through NO vehicle (a direct deal, an employment grant).
holder string
vested_interest: only positions whose legal holder (the person, trust, LLC, IRA or nominee) contains this text, case-insensitive.
currency string
vested_interest: only positions in this currency (USD, NZD, …).
view "as_booked" | "adjusted", default "as_booked"
Reporting view (summary, grouped, time-series). 'as_booked' (default; alias 'actual') = recorded activity for cash/statement comparisons with the same account, dates and financial-kind scope. 'adjusted' applies reporting entries without changing those transactions, so it can differ from cash that moved in that range. Period sums use the exact selected dates even when calendar labels are wider. Under compare, adjusted compares to adjusted. category/group/tag filters (and their exclude_*) scope the overlay; other narrowing filters return as_booked. Adjusted single by:['tag'] rows include as_booked_amt and adjustment_amt; tags overlap, so never sum rows. A year-only adjustment keeps its year period (overlap, not a payment date). Manage entries via admin { entity: 'adjustment' }.
reconcile boolean
Attach a reconciliation bridge to summary or time-series OUTPUT: recorded as_booked activity vs adjusted reporting totals plus each entry's net effect within the exact selected dates. A modifier, not a mode of its own — it adds to whatever the other params select, and is scoped by period/start/end like any other query (never by year). Works with either view; vs_prior follows view, not the bridge.
include "stats" | "warnings" | "accounts" | "transfers" | "investments" | "financing" | "fi" | "targets" | "marks" | "performance" | "documents" | "csv"[]
Extra sections to include in output. transfers/investments/financing: include in pnl time series output. fi: FIRE primitives (annual_spend, fi_number_25x, lean/chubby/fat targets, years_to_fi) on summary. targets: 80/20 framework defaults on summary — emergency-buffer target sized by income shape (with months-short) and a savings-rate anchor vs the household's actual rate. marks: mark COVERAGE on vested_interest — marked_n, unmarked_n, stale_n, soft_n, undeclared_confidence_n, predates_cash_n and the as_of span of the marks that exist, per currency. Counts and dates only: marks are recorded opinions of different ages and are never summed into a total, so it answers how much of the book carries a current opinion, not what the book is worth. performance: return performance figures on marks on vested_interest — tvpi, rvpi, and irr_on_marks per position and per rollup group, per currency. Opt-in only; marks are never summed or folded into totals or net worth by default. documents: on vested_interest, each position's declared expected documents (admin position expected_documents) beside what was filed — per expectation the latest period, its due date and status (received / due / overdue / no_start), overdue_periods, last_received and undated filings — and in the envelope the book's due and overdue list with one mail search per issuer or vehicle channel (platform and senders). csv: on investment_tax, the year's 1099-B rows as a Form 8949 CSV.
filter object
Do NOT use — filters go at the top level (e.g. { tag: 'wechat' }). A nested wrapper is flattened, with a param_warnings nudge.

annotate

action required · "categorize" | "set_party" | "tag" | "untag" | "annotate" | "set_recurring" | "mark_transfer" | "mark_ignored" | "detect_recurring" | "apply_rules" | "infer_categories" | "set_metadata" | "remove_metadata" | "revert" | "set_person" | "split" | "unsplit"
Action to perform
transaction_ids string (uuid)[]
Target specific transactions by ID
filter object
Target transactions by filter
filter.period "this_month" | "last_month" | "last_30d" | "last_90d" | "this_year" | "last_year" | "trailing_12m" | "all"
Named time period (same values as query). Cannot be combined with start/end.
filter.category string | string[]
Category name(s) — exact match, case-insensitive
filter.group string | string[]
Category group name(s) — exact match, case-insensitive
filter.party string | string[]
Party name(s) — exact match, case-insensitive
filter.account string
Account name or display name — exact match, case-insensitive
filter.tag string | string[]
Transaction tag name(s) — exact match
filter.exclude_tag string | string[]
Drop transactions carrying any of these tags
filter.account_tag string | string[]
Account tag name(s) — normalized (case-insensitive, hyphenated)
filter.category_tag string | string[]
Category tag name(s) — normalized (case-insensitive, hyphenated)
filter.country string | string[]
Merchant country — ISO alpha-2 ("GR"), alpha-3 ("GRC") or English name ("Greece")
filter.city string | string[]
Merchant city — exact match, case-insensitive
filter.person string | string[]
Who the rows count toward: name(s), "me" or "shared"
filter.exclude_person string | string[]
Drop rows counting toward these people
filter.start string (date)
Range start (YYYY-MM-DD)
filter.end string (date)
Range end (YYYY-MM-DD)
filter.search string
Text search across display name, party name, description, and check number
filter.amount_min number
Minimum absolute amount (household's currency)
filter.amount_max number
Maximum absolute amount (household's currency)
filter.direction "inflow" | "outflow"
Filter by transaction direction
filter.is_uncategorized boolean
Filter uncategorized transactions
filter.is_recurring boolean
Filter recurring transactions
filter.is_transfer boolean
Filter transfers
filter.is_ignored boolean
Include ignored transactions (excluded by default)
filter.is_pending boolean
Include pending transactions (excluded by default)
filter.is_flagged boolean
Filter flagged transactions
filter.has_url boolean
Filter by receipt URL presence (true=has, false=missing)
filter.include_hidden boolean
Include hidden account transactions (excluded by default)
detect_start string (date)
Start date for detect_recurring lookback (default: 18 months ago). A narrower window re-estimates every matched series from less history and UNLINKS its auto-linked charges older than the window — preview:true first
category_id string
Category to assign
category_name string
Category name — must be an existing category (the taxonomy is a fixed set; use admin category list)
group_id string
Category group ID
group_name string
Category group name
party_id string (uuid)
Party to assign
party_name string
Party name (creates if needed)
party_type "subscription" | "biller" | "bnpl" | "other"
Party type classification
person string,null
set_person: a person's name, id or "me" (admin entity person); null clears the manual choice so person rules apply again
tag_name string
Tag name
notes string
Notes to add
url string (uri)
Receipt URL to attach
key string
Metadata key (for set_metadata/remove_metadata)
value string
Metadata value (for set_metadata/remove_metadata)
recurring_series_id string (uuid)
Link to recurring series
is_transfer boolean
Mark as transfer
is_ignored boolean
Mark as ignored (excluded from all reports)
parts object[]
split: the parts of ONE charge (transaction_ids with a single id), 2-50, which must sum exactly to it: [{ amount, category_name?, party_name?, display_name?, notes? }]. Replaces any earlier split of that charge
preview boolean
Preview without writing: matched transactions and validated will_set targets for filter-based targeting (creates_party reports whether a requested party name needs creation), or for detect_recurring the series it would create/update/deactivate and the links it would add/clear. Only a filter-targeted preview returns a token
token string
REQUIRED to execute a filter-based write. Get it from a prior preview:true call (the response includes token) and pass it back unchanged. It binds the action + the exact set of matched transactions, so the write is rejected if that set, the scope, or the household changed since the preview (including a same-count swap). Not needed when targeting explicit transaction_ids, nor for detect_recurring or a filterless apply_rules (their previews return no token).
period not accepted
Do not use: period belongs inside filter: { filter: { period: ... } }
start not accepted
Do not use: start belongs inside filter: { filter: { start: ... } }
end not accepted
Do not use: end belongs inside filter: { filter: { end: ... } }
dry_run not accepted
Do not use: use preview: true (there is no dry_run param)
rule_ids string (uuid)[]
Limit which rules to apply
overwrite_manual boolean
Overwrite manual enrichments when applying rules

admin

entity required · "category" | "category_group" | "party" | "tag" | "account" | "recurring_series" | "rule" | "feedback" | "bank_connection" | "plan" | "adjustment" | "import" | "transfer_link" | "document" | "position" | "position_event" | "investment_tax_record" | "person"
Entity type
action required · "aliases" | "remove_alias" | "add_rule" | "remove_rule" | "list" | "create" | "update" | "rename" | "merge" | "merge_cluster" | "delete" | "undo" | "preview" | "hide" | "unhide" | "sync" | "disconnect" | "add_tag" | "remove_tag" | "set_note" | "remove_note" | "propose" | "upsert" | "get" | "import" | "request_upload" | "confirm" | "reject" | "link" | "unlink" | "export" | "read_text" | "substantiate" | "reconstruct" | "tie_out" | "reconcile" | "verify" | "split_opening_balance" | "review_mark"
Action to perform. "reconcile" and "verify" are RETIRED document spellings — call "substantiate" and "tie_out" instead; the old names remain only to return that redirect.
frequency "weekly" | "biweekly" | "semimonthly" | "monthly" | "quarterly" | "semiannual" | "annual"
Recurring series create: REQUIRED cadence, even for one selected charge. Detection preserves this declared cadence.
transaction_ids string (uuid)[]
Recurring series create: 1–200 selected posted, nonignored transactions in one direction/currency, not already assigned. Name and frequency required. Use annotate set_recurring with recurring_series_id to assign to an existing series.
active boolean
For action=update on rules: true reactivates, false deactivates. On recurring_series: false marks a real bill ended (history stays linked), true explicitly affirms the series as recurring until the user ends or rejects it.
expected_amount number, 0–999999999999.99
Recurring series update: known next charge amount in the household's currency, including zero. Applies once, then clears when paid or seven days after next_date.
next_date string (date)
Recurring series update: known next charge date YYYY-MM-DD, today or later and before the following automatic occurrence. Omit to use the next inferred date.
clear_expectation boolean
Recurring series update: clear the saved next-charge amount and date, restoring the latest estimates. Cannot combine with expected_amount or next_date.
id string
Entity ID. A UUID for party/account/rule/recurring_series; the global SLUG for category (e.g. "food/coffee") and category_group (e.g. "food") — list them via admin { entity: 'category', action: 'list' }.
ids string (uuid)[]
Position_event review_mark: mark event IDs to review in batch (1–100). Mutually exclusive with id.
reviewed_date string (date)
Position_event review_mark: date the mark was reviewed (YYYY-MM-DD). Defaults to today in user timezone.
review_note string
Position_event review_mark: note explaining why the mark still holds (can also pass as 'note'). Appended to existing review note if present.
name string
Entity name (for lookup or create). entity=feedback: this is the REQUIRED title, max 200 characters — a feedback create without it is refused.
new_name string
Rename party/tag/recurring_series: new name (not name). Account rename also accepts display_name. Supply id from a list result.
display_name string
Display name (for account rename)
alias_kind "name" | "entity"
Party remove_alias: name or entity, exactly as aliases returns it.
alias_key string
Party remove_alias: exact key from aliases. Revokes this saved key durably; does not undo previous merges.
party_type "subscription" | "biller" | "bnpl" | "other"
Party type
person string
Person entity: a person's name, id, or "me"
person_kind "adult" | "dependent" | "business"
Person create/update: adult (default), dependent, or business
include_archived boolean
Person list: include archived people
merge_into_id string (uuid)
Party merge target: the existing party id to KEEP. id is the party being merged away; merge_cluster uses member_ids instead. List/search parties first; never invent IDs.
member_ids string (uuid)[]
Party IDs to merge into merge_into_id (entity=party, action=merge_cluster) — batch form of merge, for a diagnostic-clusterer cluster confirmed as one merchant.
period "this_month" | "last_month" | "this_year" | "all", default "this_month"
Period for category/party list usage n (default this_month). Party eff/auto and tag n/provenance remain lifetime counts.
search string
Substring match. Parties and rules: by name. Documents: across the metadata a filer typed (title, issuer, filename, note, provenance) AND each document's own text, so a portfolio company named on page 10 of a fund report is found. A body hit carries text_match: {page_n, pages, lines} — how many pages contain the term, the first few of them and a line of context; read_text with find reads the rest. Composes with doc_type, issuer, tax_year, start/end and account; superseded editions are skipped unless include_superseded. The response counts what body search may miss: text_queued (awaiting indexing; old pages may remain searchable during reindexing) and text_unsearchable (scans, photos — no text layer). Narrow with search_scope.
search_scope "metadata" | "text" | "all"
Document list/export: where search looks — "metadata" (what the filer typed), "text" (the documents' own text only), or "all" (default).
audit boolean
Rule list: return a duplicate/overlap/shadowed audit instead of the rule list.
include_matches boolean
Rule list: also return matches (how many transactions each listed rule's conditions match now — the same number rule preview's total gives) and last_match (the newest one's date). Counted fresh over every transaction, so pair it with search or a small limit.
limit integer, 1–500, default 50
Max results for list and document export (default 50, max 500). Paged (limit + cursor/has_more): party, rule, tag, recurring_series, position, position_event, adjustment, document. Capped by limit, no cursor: transfer_link, import, investment_tax_record. Always the full set: category, category_group, account, plan, bank_connection, person
cursor string
Pagination cursor from a prior page of the same list or document export, with the same filters (paged responses return it with has_more:true)
include_hidden boolean
Include hidden accounts in account lists and their transactions in category/party usage n (excluded by default). Party membership and lifetime eff/auto are unchanged.
include_empty boolean
Party list: also include parties that aren't the effective (displayed) party of any transaction — orphans and rule-overridden auto parties — for finding a rename-collision target or auditing fragmentation. Requires search to stay bounded.
tag string
Tag value for add_tag/remove_tag. Lowercased and hyphen-joined; reuses canon tags when possible (essential, discretionary on categories; operating, bills, emergency-fund, savings-goal, brokerage, retirement on accounts).
note string
Note text for set_note. Single note per entity; set_note replaces any existing note. Trimmed; empty/whitespace rejected.
description_pattern string
Rule condition: substring (or regex) matched against the cleaned description, then the raw bank memo as a fallback — raw-anchored, so it survives Plaid merchant/party churn. Preferred over party_pattern for consolidation/renaming.
is_regex boolean
Rule: treat description_pattern as regex
party_pattern string
Rule condition: case-insensitive substring vs the DERIVED party name. Fragile: Plaid can rename an entity-backed merchant on resync, silently breaking the rule (#1211). For consolidation/renaming prefer description_pattern (raw-anchored).
direction "inflow" | "outflow"
Rule condition: transaction direction
amount_min number
Rule condition: minimum absolute amount (household's currency), >= 0 and <= amount_max. Partial updates are checked against the stored opposite bound.
amount_max number
Rule condition: maximum absolute amount (household's currency), >= 0 and >= amount_min. Partial updates are checked against the stored opposite bound.
account_id string (uuid)
Rule condition: specific account
set_category_name string
Rule action: set category by exact name (not group name). List categories first via admin { entity: 'category', action: 'list' }.
set_category_id string
Rule action: set category by global slug (e.g. "food/coffee").
set_party_name string
Rule action: set party by name
set_party_id string (uuid)
Rule action: set party by ID
set_is_transfer boolean
Rule action: mark/unmark as transfer (true sets, false clears; when applied, overrides automatic transfer classification on future syncs).
set_is_ignored boolean
Rule action: mark as ignored
set_is_flagged boolean
Rule action: mark as flagged
set_tag_name string
Rule action: set tag by name
remove_tag_name string
Rule action: remove tag by name from matches (system/auto+rule tags only; not a user's manual tag). Mutually exclusive with set_tag_name.
set_metadata_key string
Rule action: metadata key to set on matches (advanced; set_tag_name covers the common case). Requires set_metadata_value.
set_metadata_value string
Rule action: metadata value to set on matches. Requires set_metadata_key.
preview boolean
Rule create/update: return matches and a token without writing; token required to apply. recurring_series create: preview the declaration and estimates without writing; omit preview to apply (no token). Other writes given preview:true are refused.
token string
Preview token from a prior preview (action:'preview' or preview:true). REQUIRED to apply a rule create OR update — a write without it is rejected, not silently previewed. The token binds the exact conditions AND actions previewed; changing either invalidates it.
confirm_broad boolean
Required to create/update a rule with NO description_pattern/party_pattern (it would match broadly by direction/amount/account alone, on every future sync).
confirm_duplicate boolean
Rule: create/update a rule even though one with identical conditions already exists.
preview_limit integer, 1–200, default 25
Rule action=preview ONLY: max results per page (default 25, max 200). Not used by create/update with preview:true; omit it there.
preview_cursor string
Rule action=preview ONLY: pagination cursor. Not used by create/update with preview:true.
year integer, 2000–2100
Plan year (entity=plan). Defaults to the current year for get/delete.
document object
Plan document for upsert (entity=plan). Amounts in the household's currency; category/group/party/account referenced by id; tags by name.
document.year required · integer, 2000–2100
document.income object[]
document.events object[]
document.base required · object
document.guardrails object[]
document.floors any[]
Deprecated; accepted and ignored. Removed in favor of forecast lowest_bal.
document.exclusions object[]
reason string
Why the plan is changing — REQUIRED when upserting over an existing plan (creates a dated revision).
revision integer, 1–9007199254740991 | "original" | "diff"
For plan get: a revision number, 'original' (revision 1, the plan as written), or 'diff' (original vs latest + reason trail). Default: latest.
adjustment object
Adjustment payload for create/update (entity=adjustment). Amounts in the household's currency; category/group/funding account referenced by id; periods YYYY|YYYY-MM|YYYY-MM-DD.
adjustment.type "accrual" | "imputation" | "reclass"
accrual = period-shift (move flow from source_period to target_period); imputation = book an off-feed expense funded by an investment withdrawal; reclass = exclude/remove a flow from the series ('exclude' accepted as an alias).
adjustment.status "applied" | "pending" | "retired"
applied (default) folds into adjusted reports; pending/retired do not.
adjustment.direction "inflow" | "outflow"
Direction of the underlying flow being adjusted (inflow = income/credit, outflow = expense/debit).
adjustment.amount number
Amount in the household's currency (> 0).
adjustment.category_id string
Category this adjustment targets, by id. Determines its income/expense/transfer/investment/financing kind AND scopes reclass/imputation in the category breakdown (top_cats, grouped by:category). Or pass category_name.
adjustment.category_name string
Category this adjustment targets, by exact name (resolved to an id). Alias: category.
adjustment.group_id string
Category group this adjustment targets, by id (used when no category).
adjustment.group_name string
Category group this adjustment targets, by name (resolved to an id). Alias: group.
adjustment.source_period string
Period the flow is moving OUT of (accrual only). YYYY | YYYY-MM | YYYY-MM-DD.
adjustment.target_period string
Period the flow lands in. Required for every type.
adjustment.funding_account_id string (uuid)
Optional: the off-feed account an imputed expense was paid from. Validated if provided, but not required — the offsetting investment-withdrawal leg is booked regardless.
adjustment.note string
Why this adjustment exists — a free-text label (aliases: memo, rationale).
adjustment.tags string[]
Household transaction tags (for example a trip slug). Replaces the full set; omit to preserve, [] to remove all. Normalized like transaction tags. Applies to both the expense and funding legs; expense reports show the expense only.
adjustment.reversible boolean
Whether the entry can be reversed (default true).
status "applied" | "pending" | "retired" | "settled" | "superseded"
Filter adjustment list (applied, pending, retired) or position_event list (pending, settled, superseded) by status.
position object
Position payload for create/update (entity=position): { name, issuer, holder, vehicle?, instrument?, segment?, ticker?, k1?, currency?, status?, funding_account_id?, strike?, expiry?, terms?, note?, holder_kind?, issuer_kind?, beneficial_owner? }. Issuer, holder and vehicle are matched exactly by name within the household or created; strike/expiry are option and warrant terms; segment says which book it belongs to; terms are the typed terms with their provenance, upserted by term (remove_terms deletes one).
position.name string
What this holding is called ("Series Seed SAFE", "Fund III LP interest").
position.issuer string
The company or fund, by name. Matched EXACTLY within the household (case and punctuation folded) or created — never resolved to a party.
position.issuer_kind "company" | "fund" | "other"
position.issuer_channel object
How the issuer's documents arrive — { platform?, senders? }. Set on the issuer's registry row, so every position under it shares it.
position.holder string
Who legally holds it — a person, trust, LLC, IRA or nominee, by name. A registry row, so four positions under the wrong holder is a rename, not four edits.
position.holder_kind "person" | "joint" | "trust" | "llc" | "ira" | "nominee" | "other"
joint = more than one person (JTWROS); nominee = holds for a beneficial_owner.
position.beneficial_owner string | null
For a nominee holder: who it holds for, by holder name.
position.vehicle string | null
The legal wrapper the interest is held through, by name — an AngelList syndicate SPV, a series of an LP ("PR Fund I, a series of Coelius Capital, LP"), a fund. What the K-1 and statements come from, as distinct from the company (issuer). Matched EXACTLY within the household or created, like issuer and holder; omit for a direct deal or an employment grant. null clears.
position.vehicle_channel object
How the vehicle's documents arrive — { platform?, senders? } — when they come from its administrator rather than the issuer. Needs a vehicle on the position.
position.instrument "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other"
Plaid Security.subtype names where one exists; default other.
position.strike number | null
option / warrant / advisor_equity only: the per-share exercise price in the position's currency, kept exactly as typed (sub-cent strikes are fine). Exercise cost = vested shares × strike.
position.expiry string (date) | null
option / warrant / advisor_equity only: YYYY-MM-DD the terms are forfeited — the grant's term, a post-termination exercise window, or a warrant's acceptance deadline.
position.currency string
Per position; event amounts are in this currency. Totals never cross currencies.
position.status "open" | "resolved"
resolved = exited, written off or otherwise closed; it stays in the book.
position.segment "employment" | "direct" | "fund" | "syndicate" | "other" | null
Which BOOK this belongs to — employment (a grant from an employer or an advisory role), direct (an angel cheque straight into the company), fund, syndicate (an SPV), other. Declared, never inferred, and left unset rather than defaulted: it is what makes "my startup equity" one query instead of four by instrument. null clears.
position.ticker string | null
For a holding in a LISTED issuer: the public symbol. It carries no price — marks are still recorded events and nothing here fetches a quote; this is so whoever fetches one knows what to ask for. null clears.
position.k1 "expected" | "none" | null
Does this interest send the household a K-1? Leave unset and query { tax_documents } infers it (its k1 block says why each position is or is not expected). Declare "none" for one it wrongly expects (an LLC taxed as a corporation, a foreign fund) or "expected" for one it wrongly rules out; the declaration wins both ways. null clears it back to inferred.
position.remove_terms "grant_quantity" | "strike" | "vesting" | "expiry" | "post_termination_window" | "early_exercise" | "acceptance_deadline" | "commitment" | "nav"[]
Update only: terms to DELETE — for one recorded by mistake. A term you looked for and could not find is not a removal: record it as { term, basis: "missing" } so the book keeps that fact. A term cannot be written and removed in the same call.
position.terms object[]
The instrument's typed terms WITH their provenance — [{ term, value, basis, document_id?, page?, note? }]. UPSERT by term: one row per term, so re-reading a document replaces that term rather than appending. Record a term you could not find as { term, basis: "missing" } — that is the fact worth keeping.
position.expected_documents object[]
Documents this position is declared to send — [{ kind, every, due_days, label? }]. UPSERT by (kind, every): declaring one again replaces it. query { vested_interest, include: ["documents"] } sets each beside what was filed: received, due or overdue.
position.remove_expected_documents object[]
Update only: expected documents to DELETE, by { kind, every } — one the position no longer sends.
position.funding_account_id string (uuid) | null
The account this position's capital calls are paid from (one of the household's accounts). Lets an open call notice project against that account in the forecast; leave unset when calls go out from an account the ledger cannot see.
position.intake "agent" | "user"
Who is declaring this: an agent (default) or the person directly.
position.note string | null
event object
Event payload for create/update (entity=position_event): { position_id, kind, amount, effective_date, date_precision?, status?, settled_date?, quantity?, entry_valuation?, entry_valuation_basis?, transaction_id?, document_id?, supersedes_id?, mark_source?, mark_basis?, mark_confidence?, verbatim?, note? }. In the position's currency; kind carries the sign; entry_valuation is the post-money a contribution or conversion came in at.
event.position_id string (uuid)
The position this event belongs to.
event.kind "commitment" | "contribution" | "distribution" | "return_of_capital" | "fee" | "conversion" | "write_off" | "vest" | "exercise" | "mark"
commitment (what you owe on demand) · contribution (a capital call — pending = the notice, settled = the wire) · distribution · return_of_capital (reduces basis) · fee (an out-of-pocket wire NOT already inside a contribution — paid-in, but it never draws the commitment down, so a fee charged AGAINST the commitment is recorded as part of that call's contribution) · conversion (with instrument_from / instrument_to and the shares received as quantity; the position's own instrument is not changed by it — update the position too, and the write warns when it still reads the old form) · write_off · vest (a tranche, with quantity — one dated in the FUTURE is the schedule: the register derives vested / unvested / next_vest / exercise_cost from them and the strike, and reports unvested as UNKNOWN rather than 0 until a future tranche is on record, so record the whole schedule) · exercise (strike paid, with quantity) · mark (a valuation opinion — needs mark_source; recorded, never summed).
event.amount number
In the position's currency, >= 0. The kind carries the sign. 0 for a non-cash event (vest, conversion).
event.quantity number,null
Units/shares for vest, exercise, conversion. Not money. A vest's quantity is the GROSS tranche the schedule counts.
event.fmv_per_share number | null
kind=vest or exercise: fair market value per share on the vest or purchase date, in the position's currency, as the vest confirmation or the broker's supplemental statement prints it. What fixes an RSU / ESPP 1099-B basis. Declared, never inferred.
event.income_recognized number | null
kind=vest or exercise: the compensation income that date put on the W-2 (vest: shares × FMV; NQSO: the spread; ESPP: the discount when the broker reports it). 0 for an ISO exercise, which reports no regular income.
event.shares_delivered number | null
kind=vest or exercise: shares that reached the brokerage after shares withheld for tax (sell-to-cover). Leave quantity as the gross tranche; the basis check uses this when present.
event.status "pending" | "settled"
pending = a call NOTICE (announced, due on effective_date, not yet wired) — it goes into the forecast and past-due checks, not into paid-in. Default settled. Settled cash counts immediately: a future effective_date or settled_date warns but is still recorded (vest/exercise are exempt).
event.effective_date string (date)
YYYY-MM-DD: the record date, a notice's DUE date, or a mark's AS-OF date. The register's latest mark is by as-of; a mark dated EARLIER than the position's current latest is recorded with a warning naming the mark it sits behind (backdating a market close is legitimate), and the register flags the earlier-dated, later-recorded one as newer_recorded.
event.settled_date string (date) | null
YYYY-MM-DD: the value date the money actually moved, when it differs.
event.opening_balance boolean
kind=contribution: this row SUMMARISES cash paid in before the book started (cumulative paid-in as one row dated to a statement) — counted as paid-in, never as period activity, and not a wire to look for. Use action:"split_opening_balance" to replace it with dated calls once known.
event.held_since string (date) | null
With opening_balance: when that cash first went out (the commitment closing, the first call). The holding period starts here, not on the summary's date.
event.instrument_from "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other" | null
kind=conversion: the instrument before (e.g. safe).
event.instrument_to "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other" | null
kind=conversion: the instrument after (e.g. preferred_equity).
event.entry_valuation number | null
kind=contribution or conversion: the POST-MONEY company valuation the money came in at, in the position's currency (a pre-money cap: add the round size first). The denominator for turning a later company valuation into a mark — the book holds it, it computes nothing from it.
event.entry_valuation_basis "priced_round" | "cap" | null
With entry_valuation: priced_round (a priced round's post-money) or cap (a SAFE / note cap).
event.transaction_id string (uuid) | null
The bank transaction that settled this event (must be in this household).
event.document_id string (uuid) | null
The Paper Trail document that evidences it (must be filed in this household).
event.supersedes_id string (uuid) | null
For a settled contribution: the pending notice this wire funds. That notice is marked superseded in the same write.
event.mark_source string | null
kind=mark: whose opinion ("Fund Q2 2026 capital account statement", "409A", "secondary bid"). REQUIRED for a mark.
event.mark_basis string | null
kind=mark: on what basis (NAV, last round, 409A, comparable…).
event.mark_confidence "statement" | "priced_round" | "transaction" | "estimate" | "unconfirmed" | null
kind=mark: statement (statement from the fund/issuer) · priced_round (priced round) · transaction (secondary or arms-length deal) · estimate (derived estimate or term sheet) · unconfirmed (unconfirmed by owner). Unset reads as undeclared, not as firm. Estimates and unconfirmed marks are flagged as soft.
event.reviewed_date string (date) | null
kind=mark: the date this mark was reviewed and verified still current. Staleness uses max(as_of, reviewed_date).
event.review_note string | null
kind=mark: review note recording why the mark still holds.
event.verbatim string | null
The statement's own line for this event, kept as the audit trail.
event.intake "agent" | "user"
event.note string | null
positions object[]
Position create: a BATCH — one full position payload per entry (a portfolio's worth of syndicate rows in one call). ALL-OR-NOTHING: every entry is validated and every funding account checked before anything is written; a refusal names the entry by index. Issuer / holder / vehicle names repeated across entries resolve to one registry row. Answers with terse rows { id, name, issuer, issuer_id, vehicle?, vehicle_id?, instrument, ccy }.
events object[]
Event create: a BATCH — one entry per event, e.g. a statement's whole activity. ALL-OR-NOTHING: every reference is validated and statement_check (if given) must tie before anything is written. A top-level position_id is the default for entries that omit their own. Answers with terse rows { id, position_id, kind, status, amt, dt } — the full row is on get/list.
calls object[]
Position_event split_opening_balance: the dated settled contributions replacing the opening-balance event — [{ effective_date, amount, document_id?, note? }].
statement_check object
Event create (batch): the capital account statement's six printed figures, in the position's currency — { beginning, contributions, distributions, fees, change_in_unrealized, ending }. The write is refused unless beginning + contributions − distributions − fees ± change_in_unrealized = ending EXACTLY; all six are required, none is derived.
statement_check.beginning required · number
statement_check.contributions required · number
statement_check.distributions required · number
statement_check.fees required · number
statement_check.change_in_unrealized required · number
statement_check.ending required · number
statement_check.other_changes object[]
Further printed lines the six figures do not name (net operating income, realized gain, carried interest accrued…), each signed as printed. They feed the identity under their own labels instead of being lumped into change_in_unrealized.
statement_check.scope "itd" | "period" | "arithmetic"
Also compare the statement WITH THE BOOK: itd = contributions and distributions are inception-to-date, compared to the position's settled events after this batch; period = they cover start..end, compared to the events dated inside it; arithmetic = the identity only, book deliberately not compared. Omitted: a statement whose beginning is 0 covers the position from inception and is compared as itd; otherwise only the arithmetic is checked, and the response says which.
statement_check.start string (date)
scope=period: first day of the statement period.
statement_check.end string (date)
scope=period: last day of the statement period.
investment_tax_record object
Investment tax record payload for create (entity=investment_tax_record): what a filed brokerage 1099 PRINTS — { document_id, form, tax_year?, issuer?, account_ref?, account_id?, holder?, holder_kind?, supersedes_id?, dividends?, interest?, sales?, sale_totals?, totals_printed?, market_discount_convention?, retirement?, note? }, in dollars. Refused unless the form's own arithmetic ties to the cent; dry_run:true returns the verdict without writing.
investment_tax_record.document_id string (uuid)
The filed Paper Trail document this is read from (doc_type tax_form). One record per document and account_ref: recording the same pair again REPLACES it.
investment_tax_record.form "consolidated_1099" | "1099_b" | "1099_div" | "1099_int" | "1099_da" | "1099_r"
What the document is: consolidated_1099 (one statement holding DIV, INT and B), or a single 1099_b / 1099_div / 1099_int / 1099_da / 1099_r.
investment_tax_record.tax_year integer, 1990–2100
Defaults to the document's tax_year.
investment_tax_record.issuer string
The payer as printed ("Apex Clearing"). Defaults to the document's issuer.
investment_tax_record.account_ref string
The account number as the form prints it ("…6925"). Needed only when one PDF prints two accounts — it is half of the record's key.
investment_tax_record.account_id string (uuid) | null
The household's linked account this form reports, when one is linked — what lets dividends and interest be tied to the cash that landed.
investment_tax_record.holder string
Whose return this belongs on, by an existing Vested Interest holder's name (person, joint, trust, IRA…). Created only when holder_kind is given too.
investment_tax_record.holder_kind "person" | "joint" | "trust" | "llc" | "ira" | "nominee" | "other"
With holder: create the holder when no holder has that name.
investment_tax_record.currency "USD"
IRS forms print US dollars; USD is the only value.
investment_tax_record.supersedes_id string (uuid)
A corrected form: the record (from another document) this one replaces. That record is marked superseded in the same write.
investment_tax_record.dividends object
The 1099-DIV boxes.
investment_tax_record.interest object
The 1099-INT boxes.
investment_tax_record.sales object[]
The 1099-B / 1099-DA summary: one row per Form 8949 category the form prints (zero rows may be left out). Each must tie: proceeds − basis + wash sale (± market discount) = gain, to the cent.
investment_tax_record.sale_totals object
The form's printed "Total Short-term" / "Total Long-term" / "Total Undetermined-term" lines. REQUIRED for every term that has rows — the categories must sum to them column by column, which is what catches a dropped or doubled row.
investment_tax_record.totals_printed boolean
false ONLY when the form prints no term totals at all (a bank's one-line 1099-B). The record keeps it and the report flags it.
investment_tax_record.equity_sales object[]
The employer's stock rows from the 1099-B detail pages (RSU, ESPP, option shares). Not part of the arithmetic gate — each must sit inside a sales row of the same category — but what lets query { investment_tax } flag a basis the broker left at $0 or understated, from the vest and exercise records in Vested Interest.
investment_tax_record.market_discount_convention "added" | "subtracted" | "excluded"
Required when any sale row has market discount: does the form's net gain add it, subtract it, or exclude it? One answer for the whole form.
investment_tax_record.retirement object
The 1099-R boxes (form 1099_r only).
investment_tax_record.intake "agent" | "user"
investment_tax_record.note string
position_id string (uuid)
Position id: filters position_event list; the default position for a create batch.
position_ids string (uuid)[]
Position_event list: filter by multiple position ids.
include_resolved boolean
Position list: include resolved (exited / written-off) positions, excluded by default.
pending_only boolean
Position_event list: only open call notices (status pending).
kind string | string[]
Position_event list: filter by event kind (one kind or a list, e.g. ['contribution', 'distribution']). Valid kinds: commitment, contribution, distribution, return_of_capital, fee, conversion, write_off, vest, exercise, mark.
cash_only boolean
Position_event list: filter for only events that moved cash (cash-moving kinds with status settled; implies status:"settled").
compact boolean
Position_event list: drop note, verbatim and mark_basis to shrink payload size.
segment "employment" | "direct" | "fund" | "syndicate" | "other" | "undeclared" | null
Position_event list: filter by position segment (employment, direct, fund, syndicate, other, undeclared).
currency string
Position_event list: filter by position currency (3-letter ISO code, e.g. USD).
transfer_link_id string (uuid)
Transfer link ID (for confirm/reject; from action=list).
outflow_txn_id string (uuid)
Outflow leg transaction ID (for action=link).
inflow_txn_id string (uuid)
Inflow leg transaction ID (for action=link).
link_status "suggested" | "confirmed" | "rejected"
Filter transfer-link list by status (default: all).
type "bug" | "feature" | "ux"
Feedback type (for feedback entity)
description string
Feedback description — the details behind the title, max 2000 characters.
tool "query" | "annotate" | "admin"
Which tool triggered this feedback
context string
JSON context: what the agent was doing
csv_content string
Raw statement text — an OFX/QFX/QBO file, or an Apple Card / Rocket Money / Monarch / Copilot Money / Wells Fargo CSV; the format is auto-detected from the content. file_content is the same field under a name that doesn't say CSV. Small files only; for anything larger use request_upload + upload_id so the bytes don't go through context.
file_content string
Alias for csv_content, for non-CSV imports (OFX/QFX/QBO). Pass exactly one of file_content, csv_content or upload_id.
upload_id string
Import: reference to a file staged via request_upload + the returned PUT URL (keeps bytes out of context). Provide exactly one of csv_content or upload_id. Document: same staging flow; a PUT of already-filed bytes returns already_filed:true with the EXISTING document's id as upload_id, and create with that id updates the document's metadata in place — the sanctioned correction path for a mis-typed period or title.
filename string
request_upload: original filename, the only required file metadata. Import extensions pick the transport content type (.ofx/.qfx/.qbo vs .csv); documents use a binary transport type and recognize PDF/JPEG/PNG bytes on receipt. It labels the stored file.
content_length integer, 0–9007199254740991
request_upload: optional byte size hint.
dry_run boolean
Import: validate + report (rows, duplicates, sample mapped rows) without writing anything. Also adjustment create, document reconstruct and investment_tax_record create (the gate's verdict, nothing written). Any other write given dry_run:true is refused and writes nothing.
account_map object
Import (Monarch, Copilot Money): map an account string, exactly as the import preview lists it (e.g. Monarch "Savings" or "X1 Credit Card (...5316)", Copilot "Everyday Checking ...4821"), to an existing account id. The only way to land a maskless Monarch account on a specific real account (dead-feed backfills), or to pin an account whose name and number match none of yours.
account string
Import: target account id or exact name for SINGLE-account formats. Optional for Apple Card (defaults to its canonical account) and for a single-statement OFX (which names its own institution); REQUIRED for Wells Fargo because its export omits account identity. Connected targets require allow_connected. Rejected for Rocket Money and for a multi-statement OFX, both of which resolve accounts from the file.
allow_connected boolean
Import: allow importing into accounts that are also connected via Plaid, to backfill history. OFF by default. When on, rows overlapping the bank's synced window are de-duplicated while CSV-only history is retained. Applies to Apple Card overrides, Wells Fargo targets, and Rocket Money connected accounts.
doc_type "statement" | "receipt" | "invoice" | "tax_form" | "policy" | "contract" | "disclosure" | "notice" | "other"
Document: what kind of document this is. DECLARED, never inferred — there is no classifier, so this is whatever the filer says it is. Also filters list.
title string
Document: a human title ("Chase statement, March 2026").
issuer string
Document: who issued it, as free text ("Chase", "Blue Cross"). NOT resolved to a party — issuer-to-party matching is deliberately not attempted. Also filters list (substring).
period_start string (date)
Document: first day the document covers (YYYY-MM-DD). A single-dated document (a receipt) sets period_start and period_end to the same day. For a statement PDF, PREFER OMITTING both: the billing cycle is read off the document itself (period_source:"extracted" in the response). A typed (or already-stored) period always wins, and if it disagrees with the document's own cycle the response says so via period_extracted/period_note.
period_end string (date)
Document: last day the document covers (YYYY-MM-DD).
tax_year integer, 1900–2100
Document: the tax year this belongs to. Also filters list.
intake "agent" | "user"
Document: how it arrived. Defaults to "agent"; pass "user" when a person handed it over directly.
supersedes_id string (uuid)
Document create: the id of the document this one replaces (a corrected 1099, a re-issued statement). The old document is marked superseded and its links move to the new one.
mime_type string
Document create: content type of the original, if the upload did not declare one. Metadata only — it is never echoed as a response header.
link_transaction_ids string (uuid)[]
Document: transaction ids this document is evidence for. Explicit linkage — nothing is inferred.
provenance string
Document: where the filer got it — a Gmail thread id, a Google Drive file id, a portal URL. Free text, recorded as given and never interpreted; searchable as metadata. Inherited by every entry of a batch, like the other document fields.
link_account_ids string (uuid)[]
Document: account ids this document belongs to (a statement's account). Explicit linkage — nothing is inferred.
link_position_ids string (uuid)[]
Document: Vested Interest position ids this document is evidence for — a K-1, or a consolidated K-1 package naming every position it covers, which is what marks those K-1s received in query { tax_documents }. Also filters list/export. Explicit linkage — nothing is inferred.
link_tax_forms object[]
Document: the query { tax_documents } expected rows this document answers, as { form, issuer } copied from the row (a HomePay packet answering four childcare statements names all four). Marks them received there with confirmed: true — the manual confirm for a form whose title cannot name it, or an issuer the match missed. Explicit linkage — nothing is inferred.
link_k1_status object[]
Document link/unlink: a K-1 package's word on one position's K-1 for ONE tax year, as [{ position_id, tax_year, status: "not_issuing" | "expected", page? }] — the page of this document that says so. not_issuing marks that year's query { tax_documents } k1 row not_issuing (never received, and never the position's permanent k1 policy); expected keeps the row open whatever the package's summary table reads. tax_year must be the document's own; one status per position and year (linking again replaces it). Unlink with [{ position_id, tax_year }]. Explicit linkage — nothing is inferred.
section string
Document reconstruct: which account section of a combined statement to load, by the issuer's printed account number. Needed only when the ledger account has no mask to match on against a statement that does print account numbers (Venmo and PayPal are maskless by construction). Not needed for Apple Card: its statements print no account number at all, and the one verified section of such a statement is picked for a maskless account automatically.
batch_id string
Import batch id to undo (entity=import, action=undo). List batches via admin { entity: 'import', action: 'list' }.
force boolean
Document reconstruct: write even though the statement's cycle already holds visible rows for the account. UNSAFE — those rows will not reliably dedup against a statement's own descriptors, so this inserts duplicates; the response carries a batch_id for undo-import --batch-id to roll back. On import undo: override user-work guard to back out the batch even if its rows carry manual edits.
files string[]
Document request_upload: mint one PUT slot per filename in a single call, instead of one call per file. The response hoists the shared half (method, headers, expiry, limits) and lists {filename, upload_url} per file, plus one curl_template: replace <LOCAL_PATH> and <UPLOAD_URL> for each slot. Then file them all with ONE create + documents:[...].
documents object[]
Document create: file a BATCH — one entry per staged upload, each {upload_id, ...metadata}. The top-level document fields (issuer, tax_year, doc_type, …) are DEFAULTS every entry inherits and may override, which is what a single issuer's quarter or a single fund's year actually looks like; supersedes_id is the exception and is never inherited, since it names one specific predecessor. Filing is PER DOCUMENT: a bad entry is reported in errors with its index and does not stop the rest, and re-sending is safe because filing the same bytes twice updates that document rather than duplicating it.
include_superseded boolean
Document list: include documents that a newer version replaced (excluded by default).
text_status "queued" | "indexed" | "partial" | "no_text" | "not_text" | "unreadable" | "no_bytes" | "corrupt" | "failed"
Document list/export ONLY: filter text-index state. queued means awaiting indexing, including reindexing with old searchable pages. Rows show filed_age_days (whole elapsed days since filing, NOT time in the queue), omitted when filing time is unknown.
from_page integer, 1–40
Document read_text: first page to read, 1-based (default 1). Narrowing the range genuinely skips the work, so it is the right answer to truncated:true.
to_page integer, 1–40
Document read_text: last page to read, 1-based and inclusive (default: the whole document, capped at 40 pages).
max_chars integer, 500–60000
Document read_text: character budget for the returned text (default 50,000, at most 60,000). The response reports truncated:true when it bit — narrow the page range rather than raising this.
find string
Document read_text: a term to look for (case-insensitive substring). The response then holds ONLY the pages containing it — match_pages, match_n and the matching lines (up to 50) beside them, match_n:0 when nothing matched — so one sentence can be checked without reading the whole document. Composes with from_page/to_page.
with_urls boolean
Document export: also mint a short-lived download_url per document. OFF by default — each URL is a live bearer token for the bytes, and a whole-archive payload of them lands verbatim in the conversation transcript. Use get for one document, or the export-documents CLI for a real offline archive.
match_trace boolean
Document tie_out ONLY: inspect bounded match references for independently imported rows and Plaid separately. No amounts/memos returned or stored. limit caps total trace rows (default 50, max 500); total/truncated report omitted rows. References reflect this observation, not a frozen replay.
trace_offset integer, 0–80000
Document tie_out with match_trace:true: skip this many trace rows (default 0). Follow nextOffset; compare source/input and ledger fingerprints between calls because results are live, not a snapshot.
with_download boolean
Document/import get ONLY: opt in to a download object for one stored original (GET URL, headers, expiry, safe filename/content type, exact byte_count and sha256). A host downloads and verifies it to a caller-chosen local path; never put bytes/base64 into context. Import id is the native source id (the upload_id from staging). URLs expire after five minutes; request again for the same id after expiry.
recorded_since string (date-time)
Position_event list ONLY: inclusive recorded-time cutoff (ISO timestamp with timezone, at most milliseconds), regardless of effective date. Pages sort by recorded time, newest first. Keep filters when following cursor; finish all pages before saving terminal as_of for the next poll. Deduplicate ids replayed at the inclusive boundary.
start string (date)
Document list/substantiate or position_event list: start of the date range (YYYY-MM-DD, inclusive). Documents match by period overlap; a document with no period_start is not date-searchable.
end string (date)
Document list/substantiate or position_event list: end of the date range (YYYY-MM-DD, inclusive).

accounts

No parameters.

paycheck_plan

checks integer, 1–6
How many upcoming paychecks to plan (default 3).
spread "lumpy" | "all"
"lumpy" (default): only bills that come less often than monthly are set aside a share from every check. "all": any bill that comes less often than the paycheck is — rent over weekly pay — is spread across checks too.