Skip to content
Start here

Spending Limit

Get spending limit
GET/accounts/{account_id}/ai-gateway/billing/spending-limit
Set spending limit
POST/accounts/{account_id}/ai-gateway/billing/spending-limit
Delete spending limit
DELETE/accounts/{account_id}/ai-gateway/billing/spending-limit
ModelsExpand Collapse
SpendingLimitGetResponse object { config, enabled }
config: object { amount, duration, strategy }
amount: number
duration: string
strategy: string
enabled: boolean
SpendingLimitCreateResponse = unknown
SpendingLimitDeleteResponse = unknown