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

# Get Team

> 指定したチームの情報を取得します。
X-Workspace-Idのワークスペース内に存在するチームのみ取得できます。




## OpenAPI

````yaml /openapi.yaml get /v1/teams/{teamId}
openapi: 3.1.0
info:
  title: Frictio Public API
  version: 1.0.0-beta
servers:
  - url: https://public-api.frictio.ai
security:
  - ApiKeyAuth: []
paths:
  /v1/teams/{teamId}:
    get:
      summary: Get Team
      description: |
        指定したチームの情報を取得します。
        X-Workspace-Idのワークスペース内に存在するチームのみ取得できます。
      operationId: getTeam
      parameters:
        - $ref: '#/components/parameters/workspaceId'
        - $ref: '#/components/parameters/teamId'
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/TeamWithMembers'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/TeamNotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    workspaceId:
      name: X-Workspace-Id
      in: header
      required: true
      description: ワークスペースID
      schema:
        type: string
      example: e1f2a3b4-...
    teamId:
      name: teamId
      in: path
      required: true
      description: チームID
      schema:
        type: string
      example: b2c3d4e5-...
  schemas:
    TeamWithMembers:
      type: object
      description: |
        Teams APIで返却されるチーム情報。
        主キーは id で返し、既存のミーティング関連 Team schema の team_id とは分けています。
      required:
        - id
        - name
        - member_ids
      properties:
        id:
          type: string
          description: チームID
          example: b2c3d4e5-...
        name:
          type: string
          description: チーム名
          example: 営業チーム
        member_ids:
          type: array
          description: |
            チームに所属するアクティブなメンバーのIDリスト。
            Members API（`/v1/members`）の id と突合できます。
          items:
            type: string
          example:
            - c3d4e5f6-...
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTPステータスコード
          example: 404
        message:
          type: string
          description: エラーメッセージ
          example: Meeting not found
        error:
          type: string
          description: |
            エラー種別。メッセージ文字列付きで例外が生成された場合のみ含まれます。
          example: Not Found
  responses:
    Unauthorized:
      description: APIキーが無効、失効、期限切れ、または未指定です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 401
            message: Invalid API key
            error: Unauthorized
    Forbidden:
      description: 権限エラー
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 403
            message: Forbidden
    TeamNotFound:
      description: チームが見つかりません
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 404
            message: Team not found
            error: Not Found
    TooManyRequests:
      description: レートリミット超過
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 429
            message: Too Many Requests
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````