v54

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

Get organization groups AI spend

Returns AI spend limits and aggregate spend for the requested groups. A maximum of 100 group IDs may be requested per call, and requests with more are rejected, so callers are expected to batch across multiple requests. Unknown or unreadable group IDs are silently omitted.

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

Path parameters

organizationstring uuid required

Organization ID

Query parameters

group_idsstring required

Comma-separated list of group 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.