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

# List provisioned groups

> The organization's SCIM-provisioned access groups. Groups created in LangWatch itself are not listed: the directory sees what it provisioned, and nothing else. One filter expression is understood, `displayName eq "Engineering"`, matched without regard to case.



## OpenAPI

````yaml GET /api/scim/v2/Groups
openapi: 3.1.0
info:
  title: LangWatch API
  version: 1.0.0
  description: LangWatch openapi spec
servers:
  - url: https://app.langwatch.ai
security:
  - project_api_key: []
paths:
  /api/scim/v2/Groups:
    get:
      tags:
        - SCIM
      summary: List provisioned groups
      description: >-
        The organization's SCIM-provisioned access groups. Groups created in
        LangWatch itself are not listed: the directory sees what it provisioned,
        and nothing else. One filter expression is understood, `displayName eq
        "Engineering"`, matched without regard to case.
      operationId: scimListGroups
      parameters:
        - name: filter
          in: query
          required: false
          schema:
            type: string
          description: >-
            A SCIM filter. Only `displayName eq "..."` is applied; anything else
            is ignored and the full page is returned.
        - name: startIndex
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: >-
            1-based index of the first resource to return. Anything that does
            not parse as a positive integer is read as 1.
        - name: count
          in: query
          required: false
          schema:
            type: integer
            default: 100
            maximum: 100
          description: >-
            How many resources to return, capped at 100 (the `filter.maxResults`
            ServiceProviderConfig publishes). Anything that does not parse as a
            positive integer is read as 100, and anything above 100 is served as
            100.
        - name: excludedAttributes
          in: query
          required: false
          schema:
            type: string
          description: >-
            Comma-separated attribute names to leave out of the response. Only
            `members` is honoured, and it is what lets a directory page through
            groups without pulling every membership.
      responses:
        '200':
          description: A page of provisioned groups.
          content:
            application/scim+json:
              schema:
                type: object
                properties:
                  schemas:
                    type: array
                    items:
                      type: string
                    description: The SCIM schema URNs this resource conforms to.
                  totalResults:
                    type: integer
                    description: How many resources match, before pagination.
                  startIndex:
                    type: integer
                  itemsPerPage:
                    type: integer
                  Resources:
                    type: array
                    items:
                      type: object
                      properties:
                        schemas:
                          type: array
                          items:
                            type: string
                          description: The SCIM schema URNs this resource conforms to.
                        id:
                          type: string
                          description: The LangWatch group id.
                        displayName:
                          type: string
                        members:
                          type: array
                          description: >-
                            Omitted when the request excluded the members
                            attribute. Each value is a LangWatch user id.
                          items:
                            type: object
                            properties:
                              value:
                                type: string
                              display:
                                type: string
                        meta:
                          type: object
                          properties:
                            resourceType:
                              type: string
                            created:
                              type: string
                              format: date-time
                            lastModified:
                              type: string
                              format: date-time
        '401':
          description: >-
            The Authorization header is missing, is not a bearer token, or names
            a token this deployment does not know.
          content:
            application/scim+json:
              schema:
                type: object
                properties:
                  schemas:
                    type: array
                    items:
                      type: string
                    description: The SCIM schema URNs this resource conforms to.
                  status:
                    type: string
                    description: The HTTP status, as a string.
                  detail:
                    type: string
        '403':
          description: >-
            The token is valid but the organization's plan no longer includes
            SCIM provisioning. Entitlement is checked on every call, so a
            directory connection stops the moment the Enterprise plan lapses.
          content:
            application/scim+json:
              schema:
                type: object
                properties:
                  schemas:
                    type: array
                    items:
                      type: string
                    description: The SCIM schema URNs this resource conforms to.
                  status:
                    type: string
                    description: The HTTP status, as a string.
                  detail:
                    type: string
      security:
        - scim_bearer: []
components:
  securitySchemes:
    project_api_key:
      type: apiKey
      in: header
      name: X-Auth-Token
      description: >-
        Project API key for sending traces and accessing project-scoped
        resources. Format: sk-lw-... (no underscore). Obtain one by creating a
        project via the Admin API or the LangWatch UI.
    scim_bearer:
      type: http
      scheme: bearer
      description: >-
        SCIM token for one organization's directory connection, created with
        POST /api/scim-tokens or in Settings > SCIM. It authenticates
        provisioning calls only, and stops working if the organization's
        Enterprise plan lapses.

````