v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Enterprise

Upsert user AI budget override

put/api/v2/users/{user}/ai/budget/override

Path parameters

userstring required

User ID, username, or me

Request body

group_idstring uuid required

GroupID is the group the user's spend is attributed to. The user must be a member of this group.

spend_limit_microsinteger

SpendLimitMicros must not exceed MaxAISpendLimitMicros.

Response

OK

created_atstring date-time
group_idstring uuid
spend_limit_microsinteger
updated_atstring date-time
user_idstring uuid