v54

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

Get group AI spend

Returns the AI spend limit and aggregate spend for the group.

get/api/v2/groups/{group}/ai/spend

Path parameters

groupstring uuid required

Group ID

Response

OK

current_spend_microsinteger

CurrentSpendMicros is the group's spend over the current budget period.

group_idstring uuid
period_endstring date-time

PeriodEnd is the exclusive upper bound of the current budget period.

period_startstring date-time

PeriodStart is the inclusive lower bound of the current budget period.

spend_limit_microsinteger

SpendLimitMicros is the group's configured AI spend budget per member. Null when the group has no configured budget.

total_spend_limit_microsinteger

TotalSpendLimitMicros is the currently configured combined budget of the members attributed to this group, with each member's override replacing their share. Null when the group has no budget, and zero when no members are attributed to it.