Skip to main content
GET
Get computed report detail rows

Path Parameters

id
string
required

Report ID

Example:

"1"

Query Parameters

orgId
string
required

Organization ID. Use GET /v1/companies to discover available org/company pairs.

Example:

"1"

companyId
string
required

Company ID. Use GET /v1/companies to discover available companies and their access levels.

Example:

"1"

type
enum<string>
default:token

Which detail kind to fetch. Should match the report's own type field. Default "token".

Available options:
token,
account,
explorerBalances
per_wallet
enum<string>

When true, returns rows grouped per wallet with the wallet name and a roll-up summary. Applies to type=token (sums realizedNet/unrealizedNet/fiat fields per wallet) and type=explorerBalances (groups raw rows per wallet). Ignored for type=account (always flat). Default false.

Available options:
true,
false
view
enum<string>
default:trial_balance

type=account only. "trial_balance" (default) returns the per-account rows. "profit_and_loss", "balance_sheet" and "cash_flow" return the financial statement derived from those rows and the chart of accounts classifications (set on the Chart of Accounts page). The cash flow uses the indirect method: cash is the accounts classified Bank and cash. 400 for other report types.

Available options:
trial_balance,
profit_and_loss,
balance_sheet,
cash_flow

Response

Report details retrieved successfully

success
enum<boolean>
required
Available options:
true
data
required

Report detail rows. Shape varies by type: token rows have token/walletId/openingBalance/closingBalance/realizedNet/...; account rows have account/code/name/openingBalanceDebit/openingBalanceCredit/debit/credit (+ priorPeriods, one {debit, credit, gapDebit, gapCredit} entry per comparison window, when the report compared earlier periods); explorerBalances rows have token/walletId/currentBalance/explorerBalance/chain. For type=account with view=profit_and_loss, view=balance_sheet or view=cash_flow the data is ONE statement object instead: { view, report: { dateFrom, dateTo, comparePeriods, compareUnit, comparisons: [{from, to}] }, columns (one label per amount column: the report period first, then each comparison window), statement (sections with lines + subtotals and the totals ladder; every amount is an array with one decimal string per column; the cash flow, indirect method, has operating/investing/financing activities whose lines are cash effects, netChangeInCash, cashAtBeginning and cashAtEnd over the accounts classified Bank and cash, and a check block), unclassified (accounts the chart cannot classify, excluded from totals), meta }. Amounts are decimal strings in company fiat.

status
string

Reflects the parent report's current status. If "pending"/"progress", the data array may be empty, so keep polling.

unlabeledTransactions
object

Account reports only: the transactions the report left out of its figures because an account is missing (missing: the transaction GL account, the asset account of its token, or of its fee token). Every total is short by exactly these rows: map the accounts, then regenerate. total counts every row left out, transactions lists them by id (the report period first), hasMore is true when more were left out than listed.

Last modified on May 3, 2026