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

# IdPグループのティアマッピングを取得

> IdPグループに関連付け済みのティアを取得します。グループに
マッピングがない場合は404を返します。

ViewAccountConsumption と ViewAccountMembership が必要です。

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

## 権限

エンタープライズレベルで `ManageAcuLimits` 権限を持つ[サービスユーザー](https://docs.devinenterprise.com/ja/api-reference/v3/service-users/members-service-users.md)または[個人用アクセストークン](https://docs.devinenterprise.com/ja/api-reference/personal-access-tokens.md)、あるいは対象の予算に対する[委任アクセス](https://docs.devinenterprise.com/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/{idp_group_name}
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/{idp_group_name}:
    get:
      tags:
        - tiers
      summary: IdPグループのティアマッピングを取得
      description: |-
        IdPグループに関連付け済みのティアを取得します。グループに
        マッピングがない場合は404を返します。

        ViewAccountConsumption と ViewAccountMembership が必要です。
      operationId: >-
        handle_get_idp_group_tier_assignment_v3_enterprise_usage_policies_budgets__budget_id__idp_groups__idp_group_name__get
      parameters:
        - in: path
          name: idp_group_name
          required: true
          schema:
            title: Idp Group Name
            type: string
        - description: 使用量ポリシーの管理対象となる予算。
          in: path
          name: budget_id
          required: true
          schema:
            description: 使用量ポリシーの管理対象となる予算。
            title: Budget Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/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:
    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
    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
  securitySchemes:
    bearerAuth:
      description: 'サービスユーザーの認証情報（接頭辞: cog_）'
      scheme: bearer
      type: http

````

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