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[]
deprecated

DEPRECATED, DECLARED-BUT-NOT-HONORED (MNE-8422, BG-8). The ordered multi-threshold set was fired only by the usage-alerts cron against PLAN overage cost, a subscription/plan surface retired with the legacy plan model; nothing fires these levels anymore. The field still round-trips for contract stability, but multi_threshold_deprecated is true to signal it is inert. Use the single scalar threshold_cents (the surviving low-balance alert) instead.

fired_levels
enum<string>[]
deprecated

DEPRECATED (MNE-8422, BG-8): per-level dedup state for the retired multi-threshold set. No longer updated now that nothing fires the multi-threshold levels.

Available options:
warning,
urgent,
depleted
multi_threshold_deprecated
boolean

Always true (MNE-8422, BG-8): the multi-threshold set (thresholds) is accepted for contract stability but is no longer honored — its emitter was retired with the legacy plan model. The single scalar threshold_cents low-balance alert remains the only active budget alert.