AI

List individual user groups' AI credit limits

Changed on

List the organization's active individual standard user-group AI credit limits, keyed by user group ID (userGroupId). Only user groups with an individual limit appear — everyone else follows the org's user-group default (userGroupDefaultCredits). A null creditLimit is an explicit unlimited override, distinct from following the default. Paginated via opaque cursors: pass pageInfo.nextCursor from one response as the cursor query parameter on the next request. Requires the same add/remove-users permission as the PATCH.

get/api/v1/ai/credit-controls/user-groups

Request

Query parameters

cursorstring

Cursor for pagination (from previous response nextCursor)

Example:eyJpZCI6IjEyMzQ1In0
pageSizeinteger

Number of results per page (1-100, integer)

Example:20

Response

One page of user groups' individual AI credit limits.

Example response

{
  "records": [
    {
      "creditLimit": 50,
      "name": "Sales",
      "userGroupId": "abc123"
    }
  ]
}

Changes