Skip to main content
GET
Get budget alert settings

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Response

Budget alert settings

threshold_cents
integer | null

Legacy single-scalar field, preserved for back-compat clients: the lowest configured thresholds[].value_cents, or null if no thresholds are configured.

last_alert_sent_at
string<date-time> | null
thresholds
object[]

Ordered (ascending by value_cents) severity-tiered threshold set (D5 alert hardening). The legacy scalar, if set and no multi-threshold set is configured, is lifted into a single-entry warning set here for backward compatibility.

fired_levels
enum<string>[]

Severity levels already fired (and deduped) for the current threshold configuration.

Available options:
warning,
urgent,
depleted