支出限制
設定支出限制
$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
拒絕待處理的支出限制提高請求。