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

# Approve a limit-increase request

> Approve a pending limit-increase request.

Grants the requested per-cycle ACU limit (or ``cycle_acu_limit`` from the
body) as a temporary override that expires at the end of the current
monthly billing window. Returns 409 if the request was already reviewed or
the requester is no longer an account member.

See [Budgets](https://docs.devin.ai/admin/billing/budgets.md#approve-a-limit-increase-request) 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 POST /v3/enterprise/usage-policies/requests/{request_id}/approve
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/requests/{request_id}/approve:
    post:
      tags:
        - usage-policy-requests
      summary: Approve a limit-increase request
      description: >-
        Approve a pending limit-increase request.


        Grants the requested per-cycle ACU limit (or ``cycle_acu_limit`` from
        the

        body) as a temporary override that expires at the end of the current

        monthly billing window. Returns 409 if the request was already reviewed
        or

        the requester is no longer an account member.
      operationId: >-
        handle_approve_usage_policy_request_v3_enterprise_usage_policies_requests__request_id__approve_post
      parameters:
        - in: path
          name: request_id
          required: true
          schema:
            title: Request Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/UsagePolicyRequestApproveRequest'
                - type: 'null'
              title: Body
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsagePolicyRequestResponse'
          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:
    UsagePolicyRequestApproveRequest:
      description: Approve a pending request, optionally granting a different limit.
      properties:
        cycle_acu_limit:
          anyOf:
            - maximum: 9223372036854776000
              minimum: 0
              type: integer
            - type: 'null'
          description: >-
            Per-cycle ACU limit to grant instead of the requested one; omit to
            grant the requested limit.
          title: Cycle Acu Limit
      title: UsagePolicyRequestApproveRequest
      type: object
    UsagePolicyRequestResponse:
      description: A member's request to raise their per-cycle ACU limit.
      properties:
        created_at:
          description: When the request was created (unix seconds).
          title: Created At
          type: integer
        current_cycle_acu_limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The per-cycle ACU limit currently enforced for the requester; null
            means uncapped.
          title: Current Cycle Acu Limit
        email:
          anyOf:
            - type: string
            - type: 'null'
          description: The requester's email, if known.
          title: Email
        fallback_cycle_acu_limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: The fallback tier's per-cycle ACU allocation.
          title: Fallback Cycle Acu Limit
        fallback_tier_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The additive fallback tier ID, if configured.
          title: Fallback Tier Id
        fallback_tier_name:
          anyOf:
            - type: string
            - type: 'null'
          description: The additive fallback tier name, if configured.
          title: Fallback Tier Name
        message:
          anyOf:
            - type: string
            - type: 'null'
          description: Optional note the member attached to the request.
          title: Message
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: The requester's display name, if known.
          title: Name
        request_id:
          description: Stable identifier of the request.
          title: Request Id
          type: string
        requested_cycle_acu_limit:
          description: The per-cycle ACU limit the member asked for.
          title: Requested Cycle Acu Limit
          type: integer
        reviewed_at:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            When the request was approved or denied (unix seconds); null while
            pending.
          title: Reviewed At
        reviewer:
          anyOf:
            - $ref: '#/components/schemas/UsagePolicyRequestReviewer'
            - type: 'null'
          description: >-
            The admin who reviewed the request; null while pending or when
            reviewed via the API.
        status:
          description: >-
            Request state: 'pending', 'approved', 'denied', or 'expired' (the
            request was still pending when its billing cycle ended).
          enum:
            - pending
            - approved
            - denied
            - expired
          title: Status
          type: string
        tier_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The requester's consumption tier (explicit assignment or the
            account's default tier); null when the account has no tiers.
          title: Tier Id
        tier_name:
          anyOf:
            - type: string
            - type: 'null'
          description: Display name of the requester's tier, if any.
          title: Tier Name
        total_cycle_acu_limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: The resulting primary plus fallback allocation.
          title: Total Cycle Acu Limit
        user_id:
          description: The requesting user's ID.
          title: User Id
          type: string
      required:
        - request_id
        - user_id
        - name
        - email
        - tier_id
        - tier_name
        - current_cycle_acu_limit
        - requested_cycle_acu_limit
        - message
        - status
        - created_at
        - reviewed_at
        - reviewer
      title: UsagePolicyRequestResponse
      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
    UsagePolicyRequestReviewer:
      description: The admin user who reviewed a limit-increase request.
      properties:
        email:
          anyOf:
            - type: string
            - type: 'null'
          description: The reviewer's email, if known.
          title: Email
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: The reviewer's display name, if known.
          title: Name
        user_id:
          description: The reviewer's user ID.
          title: User Id
          type: string
      required:
        - user_id
        - name
        - email
      title: UsagePolicyRequestReviewer
      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.