Skip to main content
PUT
/
billing
/
budget-alert
Set budget alert threshold
curl --request PUT \
  --url https://api.mnemom.ai/v1/billing/budget-alert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "threshold_cents": 1
}
'
{
  "threshold_cents": 123,
  "updated": true
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
threshold_cents
integer | null
Required range: x >= 0

Response

Budget alert updated

threshold_cents
integer | null
updated
boolean