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

# IdPグループのティアマッピングの一覧

> アカウントのIdPグループとティアのマッピングを、古いマッピングから
順に一覧表示します。

関連付け済みのティアは、ティアが明示的に割り当てられていない
グループメンバーに適用されます。明示的なティアの割り当ては、グループマッピングよりも優先されます。ユーザーが関連付け済みの複数の
グループに属する場合は、最上位の関連付け済みティア（優先順位が最も高いティア。
同順位の場合は最も新しいティア）が適用されます。該当するティアがない場合は、アカウントのデフォルトティアが
適用されます。マッピングによってユーザーの明示的なティアの
割り当てが変更されることはありません。

ViewAccountConsumptionとViewAccountMembershipが必要です。

フィールドの詳細と使用例については、[予算](https://docs.devin.ai/ja/admin/billing/budgets.md#list-idp-group-mappings)を参照してください。

## 権限

エンタープライズレベルで `ManageAcuLimits` 権限を持つ[サービスユーザー](https://docs.devin.ai/ja/api-reference/v3/service-users/members-service-users.md)または[個人用アクセストークン](https://docs.devin.ai/ja/api-reference/personal-access-tokens.md)、もしくは対象の予算に対する[委任されたアクセス権](https://docs.devin.ai/ja/admin/billing/budgets.md#who-can-manage-a-budget)が必要です。


## OpenAPI

````yaml ja/v3-openapi.yaml GET /v3/enterprise/usage-policies/budgets/{budget_id}/idp-groups
openapi: 3.1.0
info:
  description: Service User 認証および RBAC に対応した Devin v3 API
  title: Devin API v3
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3/enterprise/usage-policies/budgets/{budget_id}/idp-groups:
    get:
      tags:
        - tiers
      summary: IdPグループのティアマッピングの一覧
      description: |-
        アカウントのIdPグループとティアのマッピングを、古いマッピングから
        順に一覧表示します。

        関連付け済みのティアは、ティアが明示的に割り当てられていない
        グループメンバーに適用されます。明示的なティアの割り当ては、グループマッピングよりも優先されます。ユーザーが関連付け済みの複数の
        グループに属する場合は、最上位の関連付け済みティア（優先順位が最も高いティア。
        同順位の場合は最も新しいティア）が適用されます。該当するティアがない場合は、アカウントのデフォルトティアが
        適用されます。マッピングによってユーザーの明示的なティアの
        割り当てが変更されることはありません。

        ViewAccountConsumptionとViewAccountMembershipが必要です。
      operationId: >-
        handle_list_idp_group_tier_assignments_v3_enterprise_usage_policies_budgets__budget_id__idp_groups_get
      parameters:
        - description: 使用量ポリシーの管理対象となる予算。
          in: path
          name: budget_id
          required: true
          schema:
            description: 使用量ポリシーの管理対象となる予算。
            title: Budget Id
            type: string
        - in: query
          name: after
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: After
        - in: query
          name: first
          required: false
          schema:
            default: 100
            maximum: 200
            minimum: 1
            title: First
            type: integer
        - description: このティアにマッピングされたグループのみを返します。
          in: query
          name: tier_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: このティアにマッピングされたグループのみを返します。
            title: Tier Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedResponse_IdpGroupTierAssignmentResponse_
          description: 成功レスポンス
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 認証されていません
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: アクセスが禁止されています
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 見つかりません
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 競合
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 削除済み
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: 処理できないコンテンツ
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: リクエスト過多
components:
  schemas:
    PaginatedResponse_IdpGroupTierAssignmentResponse_:
      properties:
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          description: 次のページを取得するためのカーソル。最後のページの場合はNone。
          title: End Cursor
        has_next_page:
          default: false
          description: このページの後にさらにアイテムがあるかどうか。
          title: Has Next Page
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/IdpGroupTierAssignmentResponse'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: 合計件数（省略可能。パフォーマンス上の理由で省略できます）。
          title: Total
      required:
        - items
      title: PaginatedResponse[IdpGroupTierAssignmentResponse]
      type: object
    ProblemDetail:
      description: >-
        v3 API 用の RFC 9457 application/problem+json エラーボディ。


        detail は後方互換性のため、レガシーな {"detail": ...}
        ボディから引き継がれます。その他のメンバーは追加式です。errors にはフィールドレベルのバリデーションエラーが含まれます（422
        の場合のみ）。
      properties:
        detail:
          anyOf:
            - type: string
            - type: 'null'
          description: この事象に固有の、人が読める説明。
          title: Detail
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: ブロックされた操作の拒否理由を示す機械可読コード（例："user_frozen"、"migrated_session"）。
          title: Error Code
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: フィールド単位のバリデーションエラー（422 レスポンスのみ）。
          title: Errors
        instance:
          anyOf:
            - type: string
            - type: 'null'
          description: この発生箇所の URI 参照（リクエストパス）。
          title: Instance
        status:
          description: HTTP ステータスコード。
          title: Status
          type: integer
        title:
          description: 問題タイプを人が読める短い要約。
          title: Title
          type: string
        type:
          default: about:blank
          description: 問題タイプを識別する URI 参照。
          title: Type
          type: string
      required:
        - title
        - status
      title: ProblemDetail
      type: object
    IdpGroupTierAssignmentResponse:
      description: |-
        IdPグループのティアマッピング：マッピング済みティアは、ティアが明示的に割り当てられていない
        すべてのグループメンバーに適用されます。複数のマッピング済みグループに所属するユーザーには、
        最上位のマッピング済みティアが適用されます（ティアの優先順位が最も高いものを選び、
        同順位の場合は最も新しいティアを選びます）。
      properties:
        idp_group_id:
          description: IdPグループのID。
          title: Idp Group Id
          type: string
        idp_group_name:
          description: IdPグループの名前。
          title: Idp Group Name
          type: string
        tier_id:
          description: グループのマッピング先のティア。
          title: Tier Id
          type: string
      required:
        - idp_group_id
        - idp_group_name
        - tier_id
      title: IdpGroupTierAssignmentResponse
      type: object
  securitySchemes:
    bearerAuth:
      description: 'サービスユーザーの認証情報（接頭辞: cog_）'
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.