v54

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

Get group members AI spend by organization

Returns aggregate AI spend attributed to the group per requested user. A maximum of 100 user IDs may be requested per call, and requests with more are rejected, so callers are expected to batch across multiple requests. User IDs that are not members of the group, or that the caller has no read access to, are silently omitted.

get/api/v2/organizations/{organization}/groups/{groupName}/members/ai/spend

Path parameters

organizationstring uuid required

Organization ID

groupNamestring required

Group name

Query parameters

user_idsstring required

Comma-separated list of user IDs (maximum 100)

Response

OK

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.