v1
latestOpenAPI 3.1.02026-07-13154170539.0 KBOrganizations
Set Org Spending Limit
Set the monthly spending limit for an organization.
When the limit is lowered, member and assistant limits that exceed the new org limit will be automatically capped to the org limit (eager cascade).
Setting to null removes the limit (no cap for members/assistants from this org).
put/v0/organizations/{organization_id}/spending-limit
Path parameters
organization_idinteger required
Request body
Example request
{
"monthly_spending_cap": 500
}Response
Spending limit set successfully
Example response
{
"monthly_spending_cap": 500,
"cascaded_updates": {
"assistants_capped": 7,
"users_capped": 3
}
}