Skip to main content
Categories are a two-level hierarchy (primary → subcategory) identified by slug (e.g. food_and_drink_groceries). Agents use list_categories to discover valid slugs before filtering transactions or setting rules; export_categories returns the full taxonomy as TSV for bulk external editing.

list_categories

Returns the full category taxonomy as a tree. Each category has a stable slug, display_name, icon, color, and optional children. Scope: Read Mirrors: GET /api/v1/categories

Parameters

None. Pass an empty object.

Example input


export_categories

Returns all category definitions as TSV text. The returned format can be edited externally (text editor, agent) and re-imported via import_categories. Columns: slug, display_name, parent_slug, icon, color, sort_order, hidden, merge_into. Slugs are immutable identifiers; display_name and other fields can be changed. The merge_into column is always empty on export — it’s an optional write-time directive for the import path. Scope: Read

Parameters

None.

Example input

Example output

The response content is a single text block containing TSV:
Round-trip workflow: call export_categories → edit the TSV → call import_categories with the edited content.
Last modified on June 25, 2026