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