> ## 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 team members

> Retrieve all members of a team including users and SSO groups



## OpenAPI

````yaml https://api.select.dev/public_openapi get /api/{organization_id}/teams/{team_id}/members
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}/teams/{team_id}/members:
    get:
      tags:
        - teams
        - public-api
      summary: List team members
      description: Retrieve all members of a team including users and SSO groups
      operationId: >-
        list_team_members_route_api__organization_id__teams__team_id__members_get
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: The ID of the team
            title: Team Id
          description: The ID of the team
        - 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: type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/TeamMemberType'
              - type: 'null'
            title: Type
        - name: role
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/TeamRoleEnum'
              - type: 'null'
            title: Role
        - name: order_by
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: '-created_at'
            title: Order By
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicTeamMembersResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
        - HTTPBearer: []
components:
  schemas:
    TeamMemberType:
      type: string
      enum:
        - user
        - sso_group
      title: TeamMemberType
      description: Type of team member.
    TeamRoleEnum:
      type: string
      enum:
        - editor
        - viewer
      title: TeamRoleEnum
      description: >-
        Defines the permission level of a user within a team:

        - EDITOR: Can manage team resources, create and modify shared items, and
        change settings

        - VIEWER: Can view team resources and have limited interaction
        capabilities
    PublicTeamMembersResponse:
      properties:
        members:
          items:
            $ref: '#/components/schemas/PublicTeamMember'
          type: array
          title: Members
          description: List of team members
        remaining_count:
          type: integer
          title: Remaining Count
          description: Number of remaining members not returned
        limit:
          type: integer
          title: Limit
          description: Maximum number of results per page
        offset:
          type: integer
          title: Offset
          description: Number of results to skip
        is_all_users_team:
          type: boolean
          title: Is All Users Team
          description: >-
            Whether this is the special 'all users' team that automatically
            includes all organization members
      type: object
      required:
        - members
        - remaining_count
        - limit
        - offset
        - is_all_users_team
      title: PublicTeamMembersResponse
      description: Response model for listing team members with pagination metadata.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublicTeamMember:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The unique identifier of this membership (UserRole ID)
        type:
          $ref: '#/components/schemas/TeamMemberType'
          description: Type of member - either a user or an SSO group
        identifier:
          type: string
          title: Identifier
          description: Email address for users, group name for SSO groups
        role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: The role this member has within the team context (editor or viewer)
        added_at:
          type: string
          format: date-time
          title: Added At
          description: When the member was added to the team
      type: object
      required:
        - id
        - type
        - identifier
        - role
        - added_at
      title: PublicTeamMember
      description: A member of a team (user or SSO group).
    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
      scheme: bearer

````