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

> List the teams in your organization.



## OpenAPI

````yaml https://api.select.dev/v2/openapi.json get /teams
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:
  /teams:
    get:
      tags:
        - teams
      summary: List teams
      description: List the teams in your organization.
      operationId: list_teams_route_teams_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: name__ilike
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Name  Ilike
        - name: name__not_ilike
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Name  Not Ilike
        - name: is_all_users
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Is All Users
        - 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_TeamV2_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ListResponse_TeamV2_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/TeamV2'
          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[TeamV2]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TeamV2:
      properties:
        id:
          type: string
          title: Id
          description: The unique identifier of the team.
          readOnly: true
          x-terraform-computed: true
        name:
          type: string
          title: Name
          description: The name of the team.
        is_all_users:
          type: boolean
          title: Is All Users
          description: >-
            Whether this team automatically includes every organization member.
            System-managed; not settable via the API.
          readOnly: true
          x-terraform-computed: true
        default_member_role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: Default role for members added to this team.
        create_time:
          type: string
          title: Create Time
          description: When the team was created — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.
          readOnly: true
          x-terraform-computed: true
        update_time:
          type: string
          title: Update Time
          description: When the team was last updated — RFC 3339 UTC.
          readOnly: true
          x-terraform-computed: true
        etag:
          type: string
          title: Etag
          description: Opaque strong ETag for optimistic concurrency.
          readOnly: true
          x-terraform-computed: true
      type: object
      required:
        - id
        - name
        - is_all_users
        - default_member_role
        - create_time
        - update_time
        - etag
      title: Team
      description: >-
        A team groups organization members for scoped access to SELECT
        resources.
    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
    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
  securitySchemes:
    HTTPBearer:
      type: http
      description: Organization API key (sl_…).
      scheme: bearer

````