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

# List

> Teams represent either the instance, a site or a sector



## OpenAPI

````yaml 25.09.01 post /api/directory/teams.list
openapi: 3.1.0
info:
  title: tipee
  version: 25.09.01
servers: []
security:
  - basicAuth: []
tags:
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/directory/teams.list:
    post:
      tags:
        - Directory
      summary: List
      description: Teams represent either the instance, a site or a sector
      operationId: post_app_ui_api_directory_directoryquery_teamslist
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListTeamQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TeamView'
components:
  schemas:
    ListTeamQuery:
      properties:
        team_ids:
          type: array
          items:
            $ref: '#/components/schemas/Snowflake'
        with_ancestors:
          type: boolean
        with_disabled:
          type: boolean
        exclude_instance:
          type: boolean
      type: object
    TeamView:
      required:
        - id
        - parent_id
        - name
        - short_name
        - color
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        parent_id:
          oneOf:
            - $ref: '#/components/schemas/Snowflake'
            - type: 'null'
        name:
          type: string
        short_name:
          type:
            - string
            - 'null'
        color:
          type:
            - string
            - 'null'
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'

````