> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.select.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List usage group sets



## OpenAPI

````yaml https://api.select.dev/v2/openapi.json get /usage-group-sets
openapi: 3.1.0
info:
  title: SELECT API (v2)
  version: 0.1.0
servers:
  - url: https://api.select.dev/v2
    description: SELECT API v2
security: []
paths:
  /usage-group-sets:
    get:
      tags:
        - usage-group-sets
      summary: List usage group sets
      operationId: list_usage_group_sets_route_usage_group_sets_get
      parameters:
        - name: page_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Opaque cursor from a previous response. Omit on the first call.
            title: Page Token
          description: Opaque cursor from a previous response. Omit on the first call.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Max Results
        - name: x-tenant-id
          in: header
          required: true
          schema:
            type: string
            description: The organization ID the request is scoped to.
            title: X-Tenant-Id
          description: The organization ID the request is scoped to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse_UsageGroupSetV2_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ListResponse_UsageGroupSetV2_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/UsageGroupSetV2'
          type: array
          title: Items
        page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Page Token
          description: Opaque cursor for the next page; empty/absent on the last page.
        row_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Row Count
          description: >-
            Best-effort total for the filtered result set; may be null when
            expensive.
      type: object
      required:
        - items
      title: ListResponse[UsageGroupSetV2]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UsageGroupSetV2:
      properties:
        name:
          type: string
          maxLength: 199
          title: Name
          description: Name of the usage group set. Must be less than 200 characters.
        team_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Team Id
        public:
          type: boolean
          title: Public
          description: Whether the set is visible to all org members for filtering.
          default: false
        order:
          type: integer
          minimum: 0
          title: Order
          description: Display order; lower values appear first.
        id:
          type: string
          title: Id
          description: The unique identifier of the usage group set.
        etag:
          type: string
          title: Etag
          description: Opaque strong ETag for optimistic concurrency.
        version:
          type: integer
          title: Version
          description: >-
            Number of committed versions (snapshots). Increment it by one in a
            PATCH to snapshot the current groups as a new version; ordinary
            group edits mutate the current version in place and leave it
            unchanged.
      type: object
      required:
        - name
        - order
        - id
        - etag
        - version
      title: UsageGroupSetV2
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: Organization API key (sl_…).
      scheme: bearer

````