Get Billing Alert
GET
/v1/billing/alertReturns the current low balance alert settings for the authenticated account.
Authentication
Authorization Bearer
Send an API key (sk-...) in the Authorization header.
Response
codeintegerResponse status code.
dataobjectLow balance alert settings.
data.coupon_availablenumberAvailable coupon / credit balance.
data.total_spendablenumberCurrent spendable balance.
data.enabledbooleanWhether low balance warning emails are enabled.
data.last_notified_atstring | nullLast notification time.
data.last_recovered_atstring | nullLast recovery time after balance moved back above threshold.
data.thresholdnumberAlert threshold in USD.
data.wallet_availablenumberAvailable wallet balance.
Error Handling
- 401 / unauthenticated: missing or invalid
Authorization. - Enterprise member accounts cannot use wallet alert APIs directly.
Was this page helpful?