Skip to main content
GET
List rules

Authorizations

Authorization
string
header
required

An API key prefixed with finta_, or the access token from a Finta CLI browser login (finta login), prefixed with finta_oat_. A CLI login's access token lasts one hour and the CLI renews it itself.

Query Parameters

limit
integer
default:100

Page size; omitted or empty defaults to 100. Nonintegers and values outside 1–500 return 400 invalid_request.

Required range: 1 <= x <= 500
starting_after
string

Pass next_cursor unchanged from the previous page. Omit for the first page. An unknown, deleted, invalid, or inaccessible cursor returns 404 resource_missing. Pagination is live, not a snapshot; rules inserted ahead of the cursor appear on a new traversal. The cursor is a position in the unfiltered list, so it stays valid if filters change between pages.

category_id
string

Only rules whose actions set this exact category, a cat_ ID from GET /categories. Rules that set one of its subcategories are not included. As on GET /transactions, an unknown, foreign or malformed category ID returns an empty list rather than an error.

Pattern: ^cat_
department_id
string

Only rules whose actions set this exact department, a dept_ ID from GET /departments; a parent department does not include its sub-departments. An unknown, foreign or malformed department returns 404 resource_missing. A company without departments gets 403 feature_disabled or plan_upgrade_required instead. See "Early access endpoints" under Errors.

Pattern: ^dept_[A-Za-z0-9]+$
tag_id
string

Only rules whose actions set this tag_ ID from GET /tags. Unknown, foreign or malformed tags return 404 resource_missing.

Pattern: ^tag_
account_id
string

Only rules with an account_id equals condition on this acct_ ID from GET /accounts. Legacy account text conditions are not matched. Unknown, foreign or malformed accounts return 404 resource_missing.

Pattern: ^acct_
card_id
string

Only rules with a card_id equals condition on this card_ ID from GET /cards. Legacy card_name text conditions are not matched. Unknown, foreign or malformed cards return 404 resource_missing.

Pattern: ^card_

Response

A page of complete rules. Empty results have data [], has_more false, and next_cursor null.

object
enum<string>
required
Available options:
list
url
enum<string>
required
Available options:
/api/v1/rules
has_more
boolean
required
next_cursor
string | null
required

Pass unchanged as starting_after; null on the last page.

data
object[]
required