列出支出限制
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
列出支出限制
using System;
using Anthropic.Models.Beta.Organization.SpendLimits;
SpendLimitListParams parameters = new();
var page = await client.Beta.Organization.SpendLimits.List(parameters);
await foreach (var item in page.Paginate())
{
Console.WriteLine(item);
}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"
}