Claude Platform Docs

Anfrage zur Erhöhung des Ausgabenlimits genehmigen

POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

Genehmigt eine ausstehende Anfrage zur Erhöhung des Ausgabenlimits.

Schreibt ein Ausgabenlimit pro Benutzer in Höhe von amount für den Anfragenden und versetzt die Anfrage in den Status approved. period ist standardmäßig der Zeitraum, in dem das Mitglied blockiert wurde. Anthropic benachrichtigt den Anfragenden per E-Mail, sofern suppress_notification nicht gesetzt ist.

Path parameters
spend_limit_increase_request_id: string

ID of the spend limit increase request.

Headers
"anthropic-version": optional string

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Body
amount: string

New per-user spend limit as a non-negative integer decimal string (minor units).

period: optional BetaSpendLimitPeriod or null
One of the following:
"daily"
"monthly"
"weekly"
suppress_notification: optional boolean
Returns
type: "spend_limit_increase_request"
defaultspend_limit_increase_request
id: string

Who submitted the increase request.

One of the following:
created_at: string
formatdate-time
One of the following:
"daily"
"monthly"
"weekly"
resolved_at: string or null
formatdate-time

Who approved or denied the increase request.

One of the following:
spend_limit: BetaSpendLimit { type: "spend_limit", id, amount, 6 more } or null

A configured spend limit: a cap on metered spend for one scope and period.

spend_summary: BetaSpendSummary { actor, amount, currency, 5 more } or null

Per-member effective-limit report row (GET /spend_limits/effective).

One of the following:
"approved"
"denied"
"pending"
Errors

Any method can also return the general HTTP errors.

Each code below is the value of error.details.error_code in the response body.

error code sandbox_egress_restrictedHTTP status 403

The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.

Anfrage zur Erhöhung des Ausgabenlimits genehmigen
curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/approve \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2026-10-21' \
    -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
    -d '{
          "amount": "50000",
          "period": "monthly"
        }'
Returns Examples
Response 200
{
  "id": "id",
  "actor": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
  },
  "created_at": "2019-12-27T18:11:19.117Z",
  "period": "daily",
  "resolved_at": "2019-12-27T18:11:19.117Z",
  "resolved_by": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
  },
  "spend_limit": {
    "id": "id",
    "amount": "50000",
    "created_at": "2019-12-27T18:11:19.117Z",
    "currency": "USD",
    "is_enabled": true,
    "period": "daily",
    "scope": {
      "type": "user",
      "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
    },
    "type": "spend_limit",
    "updated_at": "2019-12-27T18:11:19.117Z"
  },
  "spend_summary": {
    "actor": {
      "deleted": true,
      "email_address": "email_address",
      "name": "name",
      "type": "user_actor",
      "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
    },
    "amount": "50000",
    "currency": "USD",
    "period": "daily",
    "period_to_date_spend": "12050.5",
    "scope": {
      "type": "user",
      "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
    },
    "source": {
      "type": "user",
      "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
    },
    "spend_limit_id": "spend_limit_id"
  },
  "status": "approved",
  "type": "spend_limit_increase_request"
}