AI Budget

Create an AI budget for an organization.

put/org/{orgId}/ai-budget

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/org/{orgId}/ai-budget
  • Auth: HTTP bearer

Path parameters

orgIdstring required

Request body

providerIdinteger
modelIdinteger
resourceIdinteger
siteResourceIdinteger
roleIdinteger
virtualApiKeyIdstring
amountnumber required
unit'usd' | 'tokens' required
period'monthly' | 'yearly' | 'lifetime' | 'daily' | 'hourly' | 'weekly'
enforcement'hard' | 'soft'
enabledboolean

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.