> ## 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.

# Get team details

> Retrieve detailed information about a specific team with paginated members and roles.



## OpenAPI

````yaml https://api.select.dev/public_openapi get /api/{organization_id}/teams/{team_id}
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}:
    get:
      tags:
        - teams
        - public-api
      summary: Get team details
      description: >-
        Retrieve detailed information about a specific team with paginated
        members and roles.
      operationId: get_team_route_api__organization_id__teams__team_id__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: members_limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 1000
                minimum: 1
              - type: 'null'
            default: 100
            title: Members Limit
        - name: members_offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 0
              - type: 'null'
            default: 0
            title: Members Offset
        - name: roles_limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 1000
                minimum: 1
              - type: 'null'
            default: 100
            title: Roles Limit
        - name: roles_offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 0
              - type: 'null'
            default: 0
            title: Roles Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicTeamWithDetails'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
        - HTTPBearer: []
components:
  schemas:
    PublicTeamWithDetails:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The unique identifier of the team
        name:
          type: string
          title: Name
          description: The name of the team
        is_all_users:
          type: boolean
          title: Is All Users
          description: >-
            Whether this is the special 'all users' team that automatically
            includes all organization members
        default_member_role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: Default role assigned to new members when they are added to the team
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the team was created
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: When the team was last updated
        member_count:
          type: integer
          title: Member Count
          description: Total number of members in the team
        role_count:
          type: integer
          title: Role Count
          description: Total number of roles granted to the team
        members:
          items:
            $ref: '#/components/schemas/PublicTeamMember'
          type: array
          title: Members
          description: Paginated list of team members
        roles:
          items:
            $ref: '#/components/schemas/PublicTeamRole'
          type: array
          title: Roles
          description: Paginated list of roles granted to the team
      type: object
      required:
        - id
        - name
        - is_all_users
        - default_member_role
        - created_at
        - updated_at
        - member_count
        - role_count
      title: PublicTeamWithDetails
      description: Detailed team information including members and roles.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    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).
    PublicTeamRole:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The unique identifier of this role grant (UserRole ID)
        role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: The role level granted to team members (editor or viewer)
        snowflake_organization_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Snowflake Organization Name
          description: Snowflake organization this role applies to (if scoped)
        snowflake_account_uuid:
          anyOf:
            - type: string
            - type: 'null'
          title: Snowflake Account Uuid
          description: Snowflake account this role applies to (if scoped)
        usage_group_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Usage Group Id
          description: Usage group this role applies to (if scoped)
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When this role was granted to the team
      type: object
      required:
        - id
        - role
        - created_at
      title: PublicTeamRole
      description: A role granted to a team.
    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
    TeamMemberType:
      type: string
      enum:
        - user
        - sso_group
      title: TeamMemberType
      description: Type of team member.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````