Update AI credit controls
Organization Admin permissions are required for this endpoint.
Update the organization’s AI credit controls. This endpoint can be used for embedded instances.
All fields are optional, but at least one must be provided:
- Omit a field to leave it unchanged
- Send
nullto turn that control off (foruserDefaultCredits,userDefaultDailyCredits,entityGroupDefaultCredits, anduserGroupDefaultCredits: unlimited by default) - Send a non-negative number to set it
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
Default per-entity-group AI credit limit for the billing period. This limit is what every embed entity group without an individual limit gets. Omit to leave unchanged, null for unlimited by default, or a non-negative number to set.
x >= 0100
Default per-member AI credit limit for user groups for the billing period. This limit is what every user group without an individual limit gets. Omit to leave unchanged, null for unlimited by default, or a non-negative number to set.
x >= 0100
Response
Thresholds updated. Returns the full current state.

