Claude Platform Docs

Batas Pengeluaran

Mengatur Batas Pengeluaran
BetaSpendLimit Beta.Organization.SpendLimits.Set(parameters, cancellationToken = default)
POST/v1/organizations/spend_limits
Dapatkan Batas Pengeluaran
BetaSpendLimit Beta.Organization.SpendLimits.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/spend_limits/{spend_limit_id}

Mengambil batas pengeluaran berdasarkan ID.

Hapus Batas Pengeluaran
SpendLimitDeleteResponse Beta.Organization.SpendLimits.Delete(parameters, cancellationToken = default)
DELETE/v1/organizations/spend_limits/{spend_limit_id}

Menghapus batas pengeluaran.

Mencantumkan Batas Pengeluaran
SpendLimitListPage Beta.Organization.SpendLimits.List(parameters, cancellationToken = default)
GET/v1/organizations/spend_limits
Requires anthropic-beta: spend-limit-reads-2026-09-26. How to send beta headers

Mencantumkan batas pengeluaran organisasi.

Models
class BetaSpendLimit { Type = "spend_limit"; ID; Amount; /* 6 more */ }

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

class BetaSpendLimitOrganizationScope { Type = "organization"; }
JsonElement Type = "organization"
class BetaSpendLimitOrganizationServiceScope { Type = "organization_service"; Service; }
JsonElement Type = "organization_service"
required string Service
enum BetaSpendLimitPeriod
Daily("daily")
Monthly("monthly")
Weekly("weekly")
class BetaSpendLimitRbacGroupScope { Type = "rbac_group"; RbacGroupID; }
JsonElement Type = "rbac_group"
required string RbacGroupID
class BetaSpendLimitScopedApiKeyActor { Type = "scoped_api_key_actor"; ScopedApiKeyID; }

A scoped Admin API key acting on behalf of the organization.

JsonElement Type = "scoped_api_key_actor"
required string ScopedApiKeyID
class BetaSpendLimitSeatTierScope { Type = "seat_tier"; SeatTier; }
JsonElement Type = "seat_tier"
required string SeatTier
class BetaSpendLimitUsageTierScope { Type = "usage_tier"; }

Scope of the monthly spend cap Anthropic sets for a Claude Console organization from its usage tier, or a higher cap Anthropic granted the organization. Read-only; its created_at and updated_at are the organization's creation time, so amount can change while updated_at stays the same.

JsonElement Type = "usage_tier"

Scope type. Always usage_tier for this scope.

class BetaSpendLimitUserActor { Type = "user_actor"; Deleted; EmailAddress; /* 2 more */ }

A user within the organization. name and email_address are null when the underlying account is unavailable or has been deleted; deleted is true only for deleted accounts.

JsonElement Type = "user_actor"

Actor type. Always user_actor.

required bool Deleted

True only when the underlying account has been deleted.

required string? EmailAddress

The user's email address. Null when the account is unavailable or has been deleted.

required string? Name

The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

required string UserID

Tagged ID of the user.

class BetaSpendLimitUserScope { Type = "user"; UserID; }

Scope selecting a single member of the organization.

JsonElement Type = "user"

Scope type. Always user for this scope.

required string UserID

Tagged ID of the member the spend limit applies to.

class BetaSpendLimitWorkspaceScope { Type = "workspace"; WorkspaceID; }

Scope selecting one workspace of a Claude Console organization.

JsonElement Type = "workspace"

Scope type. Always workspace for this scope.

required string WorkspaceID

Tagged ID of the workspace the spend limit applies to.

class BetaSpendSummary { Actor; Amount; Currency; /* 5 more */ }

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

Batas PengeluaranEfektif

Mencantumkan Batas Pengeluaran Efektif
EffectiveListPage Beta.Organization.SpendLimits.Effective.List(parameters, cancellationToken = default)
GET/v1/organizations/spend_limits/effective

Mencantumkan batas pengeluaran efektif dan pengeluaran periode berjalan (period-to-date) setiap anggota.

Batas PengeluaranPermintaan Kenaikan

Daftar Permintaan Kenaikan Batas Pengeluaran
IncreaseRequestListPage Beta.Organization.SpendLimits.IncreaseRequests.List(parameters, cancellationToken = default)
GET/v1/organizations/spend_limit_increase_requests

Menampilkan daftar permintaan kenaikan batas pengeluaran, terbaru lebih dulu.

Dapatkan Permintaan Kenaikan Batas Pengeluaran
BetaSpendLimitIncreaseRequest Beta.Organization.SpendLimits.IncreaseRequests.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

Mengambil permintaan kenaikan batas pengeluaran.

Setujui Permintaan Kenaikan Batas Pengeluaran
IncreaseRequestApproveResponse Beta.Organization.SpendLimits.IncreaseRequests.Approve(parameters, cancellationToken = default)
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

Menyetujui permintaan kenaikan batas pengeluaran yang tertunda.

Tolak Permintaan Kenaikan Batas Pengeluaran
BetaSpendLimitIncreaseRequest Beta.Organization.SpendLimits.IncreaseRequests.Deny(parameters, cancellationToken = default)
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

Menolak permintaan kenaikan batas pengeluaran yang tertunda.