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

# Admin List Teams

> List TeamTypeRegistry rows with live hired count.

One query: a COUNT-per-team subquery joined to TeamTypeRegistry. Avoids
the N+1 shape a naive loop would have.



## OpenAPI

````yaml /openapi.json get /api/v1/admin/teams
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/admin/teams:
    get:
      tags:
        - Admin
      summary: Admin List Teams
      description: |-
        List TeamTypeRegistry rows with live hired count.

        One query: a COUNT-per-team subquery joined to TeamTypeRegistry. Avoids
        the N+1 shape a naive loop would have.
      operationId: admin_list_teams_api_v1_admin_teams_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
        - HTTPBearer: []
components:
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````