Skip to content
Start here

Spending Limit

Get spending limit
client.AIGateway.Billing.SpendingLimit.Get(ctx, query) (*BillingSpendingLimitGetResponse, error)
GET/accounts/{account_id}/ai-gateway/billing/spending-limit
Set spending limit
client.AIGateway.Billing.SpendingLimit.New(ctx, params) (*BillingSpendingLimitNewResponse, error)
POST/accounts/{account_id}/ai-gateway/billing/spending-limit
Delete spending limit
client.AIGateway.Billing.SpendingLimit.Delete(ctx, body) (*BillingSpendingLimitDeleteResponse, error)
DELETE/accounts/{account_id}/ai-gateway/billing/spending-limit