> ## 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.

# List IdP group tier mappings

> List the account's IdP group tier mappings, ordered by oldest mapping
first.

A mapped tier applies to the group's members without an explicitly
assigned tier, which overrides group mappings. A user in several mapped
groups resolves to the highest-ranked mapped tier (highest tier priority,
ties broken by newest tier), falling back to the account's default tier
when they have none. Mappings never change users' explicit tier
assignments.

Requires ViewAccountConsumption and ViewAccountMembership.

See [Budgets](https://docs.devin.ai/admin/billing/budgets.md#list-idp-group-mappings) for field details and examples.

## Permissions

Requires a [service user](https://docs.devin.ai/api-reference/v3/service-users/members-service-users.md) or [personal access token](https://docs.devin.ai/api-reference/personal-access-tokens.md) with the `ManageAcuLimits` permission at the enterprise level, or [delegated access](https://docs.devin.ai/admin/billing/budgets.md#who-can-manage-a-budget) to the budget.


## OpenAPI

````yaml v3-openapi.yaml GET /v3/enterprise/usage-policies/budgets/{budget_id}/idp-groups
openapi: 3.1.0
info:
  description: Devin v3 API with Service User authentication and RBAC
  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: List IdP group tier mappings
      description: >-
        List the account's IdP group tier mappings, ordered by oldest mapping

        first.


        A mapped tier applies to the group's members without an explicitly

        assigned tier, which overrides group mappings. A user in several mapped

        groups resolves to the highest-ranked mapped tier (highest tier
        priority,

        ties broken by newest tier), falling back to the account's default tier

        when they have none. Mappings never change users' explicit tier

        assignments.


        Requires ViewAccountConsumption and ViewAccountMembership.
      operationId: >-
        handle_list_idp_group_tier_assignments_v3_enterprise_usage_policies_budgets__budget_id__idp_groups_get
      parameters:
        - description: The budget whose usage policies are managed.
          in: path
          name: budget_id
          required: true
          schema:
            description: The budget whose usage policies are managed.
            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: Only return groups mapped to this tier.
          in: query
          name: tier_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Only return groups mapped to this tier.
            title: Tier Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedResponse_IdpGroupTierAssignmentResponse_
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Conflict
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Unprocessable Content
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Too Many Requests
components:
  schemas:
    PaginatedResponse_IdpGroupTierAssignmentResponse_:
      properties:
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          description: Cursor to fetch the next page, or None if this is the last page.
          title: End Cursor
        has_next_page:
          default: false
          description: Whether there are more items available after this page.
          title: Has Next Page
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/IdpGroupTierAssignmentResponse'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: Optional total count (can be omitted for performance).
          title: Total
      required:
        - items
      title: PaginatedResponse[IdpGroupTierAssignmentResponse]
      type: object
    ProblemDetail:
      description: >-
        RFC 9457 application/problem+json error body for the v3 API.


        detail is retained from the legacy {"detail": ...} body for back-compat;
        the

        other members are additive. errors carries field-level validation
        failures

        (422 only).
      properties:
        detail:
          anyOf:
            - type: string
            - type: 'null'
          description: A human-readable explanation specific to this occurrence.
          title: Detail
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Machine-readable code for blocked-action refusals (e.g.
            "user_frozen", "migrated_session").
          title: Error Code
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: Field-level validation errors (422 responses only).
          title: Errors
        instance:
          anyOf:
            - type: string
            - type: 'null'
          description: A URI reference (the request path) for this occurrence.
          title: Instance
        status:
          description: The HTTP status code.
          title: Status
          type: integer
        title:
          description: A short, human-readable summary of the problem type.
          title: Title
          type: string
        type:
          default: about:blank
          description: A URI reference identifying the problem type.
          title: Type
          type: string
      required:
        - title
        - status
      title: ProblemDetail
      type: object
    IdpGroupTierAssignmentResponse:
      description: >-
        An IdP group's tier mapping: the mapped tier applies to every group

        member without an explicitly assigned tier, and a user in several mapped

        groups resolves to the highest-ranked mapped tier (highest tier
        priority,

        ties broken by newest tier).
      properties:
        idp_group_id:
          description: The IdP group's ID.
          title: Idp Group Id
          type: string
        idp_group_name:
          description: The IdP group's name.
          title: Idp Group Name
          type: string
        tier_id:
          description: The tier the group is mapped to.
          title: Tier Id
          type: string
      required:
        - idp_group_id
        - idp_group_name
        - tier_id
      title: IdpGroupTierAssignmentResponse
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Service User credential (prefix: cog_)'
      scheme: bearer
      type: http

````

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