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

# Get all teams



## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /team/list
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /team/list:
    get:
      tags:
        - Team
      summary: Get all teams
      operationId: getTeamList
      parameters:
        - name: roleId
          in: query
          required: false
          description: Filter teams by role ID
          schema:
            type: integer
          example: 1
        - name: q
          in: query
          required: false
          description: Search query to filter teams by name
          schema:
            type: string
          example: Support
        - name: ids
          in: query
          required: false
          description: Array of team IDs to filter by
          schema:
            type: array
            items:
              type: integer
          example:
            - 1
            - 2
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teamList'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    teamList:
      type: object
      properties:
        id:
          type: integer
          description: The unique identifier of the team
          nullable: false
          example: 1
        name:
          type: string
          description: The name of the team
          example: Support
          nullable: false
        parent:
          type: integer
          description: The parent id of the team
          example: 0
        description:
          type: string
          description: The description of the team
          example: Allgemeine Fragen
          nullable: true
        membersCount:
          type: integer
          description: Number of users assigned to this team
        settings:
          type: object
          properties:
            roleId:
              type: integer
              description: The role ID of the team
              example: 1
            skills:
              type: object
              properties:
                tagIds:
                  type: array
                  items:
                    type: integer
                  example:
                    - 1
                    - 2
                channels:
                  type: array
                  items:
                    type: string
                  example:
                    - email
                    - chat
            supersetRole:
              type: string
              example: analyticsEditor
            inheritParentalSettings:
              type: boolean
              example: true
      example:
        - id: 1
          name: Admins
          parent: 0
          description: Handles administrative tasks
          membersCount: 5
          settings:
            roleId: 1
            skills:
              tagIds: []
              channels: []
            supersetRole: analyticsEditor
            inheritParentalSettings: false
        - id: 2
          name: C-KD NEU
          parent: 0
          description: null
          membersCount: 1
          settings:
            roleId: 2
            skills:
              tagIds:
                - 2
              channels:
                - email
                - phone
                - system
                - chat
            supersetRole: none
            inheritParentalSettings: false
    Error:
      type: object
      description: Data format of Enneo error messages
      properties:
        error:
          type: string
          example: Contract 121 could not be processed
          description: Readable error message that should be shown to the user
        details:
          type: string
          example: >-
            Uncatched null point exception in testFunction() in
            /app/src/file:212
          description: Not easily readable error message that is for the developer
        txId:
          type: string
          example: c916167c94
          description: >-
            Internal transaction id. Useful for debugging. Corresponds to the
            OpenTelemetry trace ID.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````