Skip to main content

Saved transaction filters

A member can save a set of the filters the transactions list takes under a name, and load it again later. A saved filter belongs to the member who saved it, in one workspace, and is private to them until they share it with the workspace (shared: true). Everyone in the workspace then sees it and can apply it, and the member who saved it, or a workspace owner or admin, can change or delete it.

All paths are under /v1/workspaces/{workspaceID}.

OperationMethod and pathSuccess
list-transaction-filtersGET /transaction-filters200 with filters: yours and the shared ones, pinned first, then by name
create-transaction-filterPOST /transaction-filters201 with the filter
get-transaction-filterGET /transaction-filters/{filterID}200 with the filter
update-transaction-filterPATCH /transaction-filters/{filterID}200 with the filter
delete-transaction-filterDELETE /transaction-filters/{filterID}204

Who can use it​

The operations never take a user ID. They act on the authenticated member, who sees their own filters and every filter another member shared. Another member's private filter is 404, the same as one that doesn't exist, even for an owner or admin. Any active member can save filters, including viewers, and can share them: a saved filter never changes a transaction. A caller who isn't a member of the workspace gets 404.

ActionCreatorOwner or adminAny other member
See, get and applyOwn filters, shared or notShared filtersShared filters
Update (rename, query, sort, share, pin) or deleteYesShared filters only403 insufficientRoleToChangeSharedTransactionFilter

The canEdit flag on each filter says whether the caller can change or delete it. When an admin renames a filter, the name must still be unique among the creator's filters.

They need the transactions:read scope for reads and for managing your own private filters, because a saved filter never changes a transaction. Anything that touches shared state needs transactions:write when you use a token: creating a filter with shared: true, and updating or deleting a filter that is shared (before or after the change) or that another member created. A read-only token gets 403 transactionFilterNeedsWriteScope for those. They send no webhooks and write no audit log entries.

The filter​

{
"id": "tflt_...",
"name": "Large cleared rent",
"query": { "categoryId": "cat_...", "amountMin": "150000", "isCleared": "true" },
"sort": "date_desc",
"version": 1,
"shared": false,
"pinned": false,
"ownerMembershipId": "mbr_...",
"canEdit": true,
"missingReferences": [],
"createdAt": "2026-11-18T10:00:00Z",
"updatedAt": "2026-11-18T10:00:00Z"
}
FieldMeaning
name1 to 100 characters. Unique among your filters in the workspace, ignoring case (409 otherwise).
queryThe filters, under the same names and with the same values as the list-transactions query parameters: accountId, payeeId, categoryId, tagId, excludeAccountIds, excludeCategoryIds, excludePayeeIds, excludeTagIds, createdBy, q, payeeText, categoryText, memo, dateFrom, dateTo, amountMin, amountMax, amountGt, amountLt, isCleared, isReconciled. Every value is a string, and amounts are in minor units. Send it to the list as query parameters.
sortdate_desc (default), date_asc, amount_desc or amount_asc. The list endpoint doesn't take a sort, so this is the order the member chose for showing the result.
versionVersion of the query payload. Only 1 exists. Leave it out when you save and you get the current version; any other value is 422 unsupportedTransactionFilterVersion. A future change to the stored shape will raise it.
sharedtrue makes the filter visible to every member of the workspace. Default false. The creator, or an owner or admin, can turn it on or off. Making it private again hides it from everyone else at once.
pinnedtrue lists the filter before the unpinned ones (then by name). Default false. Whoever can change the filter can pin it; the pin is on the filter, not per member.
ownerMembershipIdRead-only. The membership (mbr_...) of the member who saved it.
canEditRead-only. Whether the caller can change or delete it.
missingReferencesRead-only. See below.

Validation​

A query is checked with the parser the list and the CSV export use, so a value the list would refuse (a date that isn't YYYY-MM-DD, an amount that isn't an integer, isCleared other than true or false) is refused with 422, and nothing is stored. A field that isn't a list filter, including paging (page, pageSize), is 422. A name outside 1 to 100 characters, or an unknown sort, is 422.

You can save at most 50 filters per workspace (counting the ones you saved, not the ones shared with you). The 51st is 422 tooManyTransactionFilters; delete one first.

PATCH changes only the fields you send. A query replaces the whole stored query: it isn't merged, so a key you leave out, an exclude list included, is removed. To add one exclude ID, read the filter, change the query and send all of it back.

Exclude lists (excludeAccountIds, excludeCategoryIds, excludePayeeIds, excludeTagIds) are optional keys of query, each a comma-separated string of up to 50 IDs from the workspace. Filters saved before they existed load as they were, and version stays 1. Saving a filter whose exclude list is too long, names a record outside the workspace, or lists an ID that the same query also includes is 422, with the same errors as the list.

A category listing (categoryId alone) normally also shows budget allocation and funding rows. Add any exclude list and the listing shows real transactions only, the same as the CSV export, so those rows drop out.

Deleted accounts, categories, payees and tags​

A filter keeps the IDs it was saved with. If an account, payee, category or tag it names is deleted later, the filter still loads (200), and missingReferences lists each one as { "field": "accountId", "id": "acct_..." } so a client can say so. An ID in an exclude list is reported once per ID, with the exclude field ("field": "excludeCategoryIds"). Passing a deleted ID as an include filter to the list returns no transactions for it, not an error; a deleted ID in an exclude parameter is 422 excludeReferenceNotFound, so a client applying a saved filter drops the IDs in missingReferences first. createdBy is not checked, because a removed member's transactions can still be listed.

What isn't kept​

Saved filters are deleted when the member who saved them leaves or is removed from the workspace, shared ones included, and when the workspace is deleted. They aren't part of backups, workspace copies or data exports: they name IDs that mean nothing in another workspace.