Accounts: Get account history
get_account_history Get transaction history for a specific account with running balance.
Shows transactions in reverse chronological order with a running
balance column, useful for seeing how the balance changed over time.
By default, only transactions dated **today or earlier** are returned
— this keeps the running-balance trail anchored to the live
``current_balance``. Pass ``include_scheduled=True`` to also see
future-dated rows (e.g. recurring transactions the cron will spawn);
when scheduled rows are included, the running-balance walk anchors at
the projected balance (``current_balance`` plus the sum of unapplied
future impacts) so the math still reconciles, and each future row
carries an ``is_scheduled: True`` flag.
Args:
account_id: Account to show history for
limit: Maximum transactions to return (default 50, max 200)
include_scheduled: When False (default), filter out future-dated
rows. When True, include them and walk from the projected
balance.
Returns:
Account info and transaction history with running balances.
Response includes ``include_scheduled`` so callers know which
view they got and ``projected_balance`` when scheduled rows
are included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| account_id | Yes | ||
| include_scheduled | No |