지출 한도 목록 조회
GET/v1/organizations/spend_limits
Requires
anthropic-beta: spend-limit-reads-2026-09-26. How to send beta headers조직의 지출 한도를 나열합니다.
Claude Console 조직의 한도는 읽기 전용 usage_tier 한도를 포함하여 최신순으로 반환됩니다. 이 한도를 나열하는 기능은 얼리 액세스 프리뷰 단계입니다. 액세스를 요청하려면 Anthropic 계정 팀에 문의하세요. Claude Enterprise 조직의 한도는 범위 유형별로 organization, seat_tier, rbac_group, organization_service, user 순서로 그룹화되며, 각 유형 내에서는 생성 순서가 아닌 고정된 순서로 반환됩니다.
Parameters
Returns
지출 한도 목록 조회
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;
$client = new Client(apiKey: 'my-anthropic-api-key');
$page = $client->beta->organization->spendLimits->list(
limit: 1,
page: 'page',
scopeType: ['organization'],
workspaceID: 'workspace_id',
betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24],
);
var_dump($page);Response 200
{
"data": [
{
"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"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"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"
}
],
"next_page": "next_page"
}