Budget

Create budget alert

Changed on

Add an alert threshold to the company's budget. Requires CompanyAdmin role.

post/api/v3/billing/budget/alerts

Request

  • Base URL
    https://api.lighton.ai
  • URL
    https://api.lighton.ai/api/v3/billing/budget/alerts
  • Auth
    HTTP bearer

Request body

is_enabledboolean

Whether this alert is active.

threshold_type'percentage' | 'absolute' required
threshold_valuestring required

e.g. 75.00 for 75% or 500.00 for 500 EUR.

Response

idinteger required
is_enabledboolean required
threshold_typestring required
threshold_valuestring required

Changes