組織のレート制限を一覧表示
GET/v1/organizations/rate_limits
組織の Messages API のレート制限を一覧表示します。
各エントリは 1 つのレート制限グループ(モデルファミリー、または Message Batches API や Web 検索ツールなどの API サーフェスカテゴリ)に対応し、そのグループに適用されるリミッター値のセットを含みます。
limit を省略すると、一致するすべてのエントリが 1 ページで返されます。limit によって結果が切り詰められた場合は、next_page をたどって残りのエントリを取得してください。
Parameters
Returns
組織のレート制限を一覧表示
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
page = anthropic.beta.organization.rate_limits.list
puts(page)Response 200
{
"data": [
{
"id": "id",
"group": {
"id": "id",
"display_name": "display_name",
"type": "model_group"
},
"group_type": "batch",
"limits": [
{
"type": "type",
"value": 0
}
],
"models": [
"string"
],
"type": "rate_limit"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"id": "id",
"group": {
"id": "id",
"display_name": "display_name",
"type": "model_group"
},
"group_type": "batch",
"limits": [
{
"type": "type",
"value": 0
}
],
"models": [
"string"
],
"type": "rate_limit"
}
],
"next_page": "next_page"
}