Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

The ID of the Organization.

Body

application/json

The defaults to set.

apiTokenSpendingCap
integer

The same default for API tokens, set independently of the user default.

Required range: 0 <= x <= 10000000
userSpendingCap
integer

The default monthly AI spending cap, in USD cents, for every user without an override, at most 10000000 ($100,000). Omit it to leave the default unchanged. Send 0 to turn AI off for those users.

Required range: 0 <= x <= 10000000

Response

OK

apiTokenSpendingCap
integer

The same default for API tokens.

userSpendingCap
integer

The default monthly AI spending cap, in USD cents, for users without an override. Absent means no default.