v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
Alert

Create a budget alert

Create a new budget alert with threshold and current spend.

post/alerts/

Query parameters

cookie_namestring nullable
tenant_idinteger

Request body

namestring required

Name for the alert to be created. Max 100 characters.

threshold_amountnumber required

Spend threshold that triggers the alert.

Example request

{
  "name": "Monthly spend warning",
  "threshold_amount": 1000
}

Response

Successful Response

idinteger nullable

Primary key for budget alerts.

tenant_idinteger required

ID of the tenant the budget alert belongs to.

namestring

Name of the alert.

threshold_amountnumber

Budget threshold, for notification.

current_spendstring

Total Spent. In decimal to have more accuracy

triggeredboolean

If the alert is triggered or not

activeboolean

If the alert is enabled

created_atstring date-time

Timestamp when the alert was created.

updated_atstring date-time

Timestamp when alert was updated.

created_user_idinteger required

ID of the user who made the LLM request.

Example response

{
  "tenant_id": 1
}