Enterprise
Get organization groups AI spend
Changed onReturns 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
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/organizations/{organization}/groups/ai/spend
- AuthAPI key in header Coder-Session-Token
Path parameters
organizationstring uuid required
Organization ID
Query parameters
group_idsstring required
Comma-separated list of group IDs (maximum 100)
Response
OK
Changes
- info
endpoint added
- info