Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Spend Alerts

Create organization spend alert
client.Admin.Organization.SpendAlerts.New(ctx, body) (*OrganizationSpendAlert, error)
POST/organization/spend_alerts
Delete organization spend alert
client.Admin.Organization.SpendAlerts.Delete(ctx, alertID) (*OrganizationSpendAlertDeleted, error)
DELETE/organization/spend_alerts/{alert_id}
List organization spend alerts
client.Admin.Organization.SpendAlerts.List(ctx, query) (*ConversationCursorPage[OrganizationSpendAlert], error)
GET/organization/spend_alerts
Retrieve organization spend alert
client.Admin.Organization.SpendAlerts.Get(ctx, alertID) (*OrganizationSpendAlert, error)
GET/organization/spend_alerts/{alert_id}
Update organization spend alert
client.Admin.Organization.SpendAlerts.Update(ctx, alertID, body) (*OrganizationSpendAlert, error)
POST/organization/spend_alerts/{alert_id}
ModelsExpand Collapse
type OrganizationSpendAlert struct{…}

Represents a spend alert configured at the organization level.

type OrganizationSpendAlertDeleted struct{…}

Confirmation payload returned after deleting an organization spend alert.