Suggest an icon for a Group or Category name as it's typed (ICON-3)
Required scope: `budget:read` (personal access tokens; sessions have every scope). A name that's one of an icon's keywords ("Groceries") answers at once (`from: name`, confidence 1). Otherwise an AI model (TypeSafe's Jev) picks the icon that best pictures it, answering only when it's confident enough (`from: jev`); failing that, a keyword that's part of the name answers (`from: name`, confidence 0.75). With none, `icon` is null and the kind's fallback shows. Names shorter than 2 characters get no suggestion.
Required scope: budget:read (personal access tokens; sessions have every scope).
A name that's one of an icon's keywords ("Groceries") answers at once (from: name,
confidence 1). Otherwise an AI model (TypeSafe's Jev) picks the icon that best pictures it,
answering only when it's confident enough (from: jev); failing that, a keyword that's part
of the name answers (from: name, confidence 0.75). With none, icon is null and the
kind's fallback shows. Names shorter than 2 characters get no suggestion.
Authorization
bearerAuth Authorization: Bearer <token>: a mobile session token, or a personal access token
(srp_…) created in Account → API tokens (DEV-1).
Personal access tokens:
- Act as their user, in any household the user belongs to (each call names it in its path).
- Carry scopes (DEV-2), and each operation's description names the one it needs:
budget:read/budget:write(months, groups, items, funds, favorites, harvest, cover),transactions:read/transactions:write(transactions, merchant suggestions),households:read/households:manage(households, members, invites),account:read/account:write(me, settings). A write scope includes its read scope. A call outside the token's scopes gets 403insufficient_scope, with the needed scope indetails.required_scope. - Can't manage tokens or passwords (403
session_required). - May expire (401
unauthenticatedafterwards). - Are rate-limited (DEV-3): 120 requests/minute per token with bursts up to 120. Every
response carries
X-RateLimit-Limit,X-RateLimit-Remaining, andX-RateLimit-Reset(seconds until the bucket is full again); over the limit the answer is 429rate_limitedwithRetry-After(seconds). Limits are kept per server instance, so they're approximate.
Subscriptions (BILL-4): once a household's free trial is over and its owner has no
subscription, every budget, transaction, and merchant-suggestion call answers 402
payment_required. Account, settings, and household calls keep working; subscribing
(on the web, Account → Billing) restores access to everything.
Sessions (web cookie or mobile bearer) have every scope and aren't limited this way. Cross-origin browser calls (CORS, for the API docs playground) must use a bearer token; cookies are never accepted cross-origin.
In: header
Path Parameters
ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Query Parameters
length <= 100Value in
- "group"
- "category"
Header Parameters
The API version (DEV-5), YYYY-MM-DD. Without it: your personal access token's pinned version, or the latest. 400 unknown_version / version_retired.
^\d{4}-\d{2}-\d{2}$Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/households/01J8Z3N4Q5R6S7T8V9W0X1Y2Z3/suggestions/icon?name=string&for=group"{ "icon": "shopping-cart", "confidence": 0, "from": "name"}Suggest a budget item for a merchant the household hasn't used before (FUT-2) GET
Required scope: `transactions:read` (personal access tokens; sessions have every scope). Asks an AI model (TypeSafe's Jev) which of `month`'s items a purchase from `merchant` belongs to: expense items for `expense`, income items for `income`. It answers only when the model is confident; otherwise `item_id` is null. Check the household's own history first (`/suggestions/merchants`): that's instant and usually right. Merchants shorter than 3 characters get no suggestion.
Suggest a category and amount for an expense someone said out loud (VOICE-3) POST
Required scope: `transactions:read` (personal access tokens; sessions have every scope). `said` is what the person said, as speech-to-text wrote it ("$25 sandwich at Starbucks"). `amounts` are the amounts the client read out of it, most likely first; more than one when the words allow it ("1250" is $12.50 or $1,250.00). An AI model (TypeSafe's Jev) picks which of `month`'s expense items it's for, answering only when confident (`item_id` null otherwise), given more than one amount, which one was meant, and, if they said when ("yesterday", "on Friday"), which day. The server doesn't read the sentence any other way.