> ## 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 SSO group mappings

> Retrieve all SSO groups with their role assignments



## OpenAPI

````yaml https://api.select.dev/public_openapi get /api/{organization_id}/sso-group-mappings
openapi: 3.1.0
info:
  title: SELECT API (v1)
  version: 0.1.0
servers:
  - url: https://api.select.dev/
    description: SELECT API
security: []
paths:
  /api/{organization_id}/sso-group-mappings:
    get:
      tags:
        - sso
        - public-api
      summary: List SSO group mappings
      description: Retrieve all SSO groups with their role assignments
      operationId: >-
        list_sso_group_mappings_route_api__organization_id__sso_group_mappings_get
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            title: Organization Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: order_by
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: sso_group_name
            title: Order By
        - name: sso_group_name__ilike
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Sso Group Name  Ilike
        - name: sso_group_name__not_ilike
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Sso Group Name  Not Ilike
        - name: sso_group_name__isnull
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Sso Group Name  Isnull
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicSSOGroupsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
        - HTTPBearer: []
components:
  schemas:
    PublicSSOGroupsResponse:
      properties:
        sso_groups:
          items:
            $ref: '#/components/schemas/PublicSSOGroup'
          type: array
          title: Sso Groups
          description: List of SSO groups
        remaining_count:
          type: integer
          title: Remaining Count
          description: Number of SSO groups remaining after pagination
        limit:
          type: integer
          title: Limit
          description: Maximum number of items returned
        offset:
          type: integer
          title: Offset
          description: Number of items skipped
      type: object
      required:
        - sso_groups
        - remaining_count
        - limit
        - offset
      title: PublicSSOGroupsResponse
      description: Response model for listing SSO groups with pagination metadata.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublicSSOGroup:
      properties:
        sso_group_name:
          type: string
          title: Sso Group Name
          description: The SSO group name
        roles:
          items:
            $ref: '#/components/schemas/PublicSSOGroupAccessRole'
          type: array
          title: Roles
          description: All access roles for this SSO group
      type: object
      required:
        - sso_group_name
        - roles
      title: PublicSSOGroup
      description: SSO group information with all its access roles.
    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
    PublicSSOGroupAccessRole:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The unique identifier of this role assignment
        role:
          $ref: '#/components/schemas/UserRoleEnum'
          description: The role level (admin, editor, monitor_editor, or viewer)
        scope:
          $ref: '#/components/schemas/RoleScope'
          description: The scope this role applies to
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the role was created
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: When the role was last updated
      type: object
      required:
        - id
        - role
        - scope
        - created_at
        - updated_at
      title: PublicSSOGroupAccessRole
      description: SSO group's access role to a resource.
    UserRoleEnum:
      type: string
      enum:
        - admin
        - editor
        - monitor_editor
        - viewer
      title: UserRoleEnum
    RoleScope:
      properties:
        type:
          $ref: '#/components/schemas/RoleScopeType'
          description: The type of scope for this role
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
          description: >-
            ID of the scoped entity (organization ID, Snowflake org name,
            account UUID, or usage group ID)
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Display name of the scoped entity (populated in responses)
      type: object
      required:
        - type
      title: RoleScope
      description: Scope definition for a role assignment.
    RoleScopeType:
      type: string
      enum:
        - organization
        - snowflake_organization
        - snowflake_account
        - databricks_account
        - databricks_connection
        - tableau_site
        - usage_group
      title: RoleScopeType
      description: Types of scopes a role can be assigned to.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````