AccountingRules
get/v1/portfolios/{portfolioSlug}/accounting-rules
Request
- Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
- URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/accounting-rules
- Auth: API key in header x-api-key
Path parameters
portfolioSlugstring required
Workspace-scoped portfolio slug
Query parameters
pageSizeinteger
Requested number of resources to return. Oversized values are clamped to the route limit.
pageTokenstring
Opaque token returned by the previous list response.
searchstring
Free-text match against rule names.
enabledboolean
Keep only enabled rules, or only disabled ones. Omit to return both.
actionTypesstring[]
Action types as CSV or repeated query values.
conditionFieldsstring[]
Condition fields as CSV or repeated query values.
walletsstring[]
Wallet selectors as chainId:walletAddress values.
accountNumbersstring[]
Ledger account numbers as CSV or repeated query values.
counterpartyNamesstring[]
Counterparty names as CSV or repeated query values.
assetIdsstring[]
Asset ids as CSV or repeated query values.
ruleIdsstring[]
Exact rule ids as CSV or repeated query values. Duplicate ids are removed.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.