支出限额
设置支出限额
$client->beta->organization->spendLimits->set(?string amount, Scope scope, ?SpendLimitPeriod period, ?list<AnthropicBeta> betas): SpendLimitPOST/v1/organizations/spend_limits
设置支出限额。
获取支出限额
$client->beta->organization->spendLimits->retrieve(string spendLimitID): SpendLimitGET/v1/organizations/spend_limits/{spend_limit_id}
按 ID 检索支出限额。
删除支出限额
$client->beta->organization->spendLimits->delete(string spendLimitID): SpendLimitDeleteResponseDELETE/v1/organizations/spend_limits/{spend_limit_id}
删除支出限额。
列出支出限额
$client->beta->organization->spendLimits->list(?int limit, ?string page, ?list<ScopeType> scopeType, ?string workspaceID, ?list<AnthropicBeta> betas): PageCursor<SpendLimit>GET/v1/organizations/spend_limits
Requires
anthropic-beta: spend-limit-reads-2026-09-26. How to send beta headers列出组织的支出限额。
Models
支出限额生效
列出生效的支出限额
$client->beta->organization->spendLimits->effective->list(?int limit, ?string page, ?list<SpendLimitPeriod> period, ?list<string> userIDs): PageCursor<SpendSummary>GET/v1/organizations/spend_limits/effective
列出每位成员的生效支出限额及本周期至今的支出。
支出限额提额请求
列出支出限额提额请求
$client->beta->organization->spendLimits->increaseRequests->list(?list<string> actorIDs, ?int limit, ?string page, ?list<BetaSpendLimitIncreaseRequestStatus> status): PageCursor<BetaSpendLimitIncreaseRequest>GET/v1/organizations/spend_limit_increase_requests
列出支出限额提额请求,最新的在前。
获取支出限额提额请求
$client->beta->organization->spendLimits->increaseRequests->retrieve(string spendLimitIncreaseRequestID): BetaSpendLimitIncreaseRequestGET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}
检索支出限额提额请求。
批准支出限额提额请求
$client->beta->organization->spendLimits->increaseRequests->approve(string spendLimitIncreaseRequestID, string amount, ?SpendLimitPeriod period, ?bool suppressNotification): IncreaseRequestApproveResponsePOST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve
批准待处理的支出限额提额请求。
拒绝支出限额提额请求
$client->beta->organization->spendLimits->increaseRequests->deny(string spendLimitIncreaseRequestID, ?bool suppressNotification): BetaSpendLimitIncreaseRequestPOST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny
拒绝待处理的支出限额提额请求。