List Organization Rate Limits
beta.organization.rate_limits.list(RateLimitListParams**kwargs) -> SyncPageCursor[BetaOrganizationRateLimit]GET/v1/organizations/rate_limits
List Messages API rate limits for your organization.
Each entry corresponds to one rate-limit group (either a model family or an API-surface category such as the Files API or Message Batches) and contains the set of limiter values that apply to it.
This endpoint currently returns every matching entry in a single page
regardless of limit; follow next_page so that clients keep working
when pagination is enabled.
List Organization Rate Limits
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.beta.organization.rate_limits.list()
page = page.data[0]
print(page.id){
"data": [
{
"id": "id",
"group_type": "batch",
"limits": [
{
"type": "type",
"value": 0
}
],
"models": [
"string"
],
"type": "rate_limit"
}
],
"next_page": "next_page"
}Returns Examples
{
"data": [
{
"id": "id",
"group_type": "batch",
"limits": [
{
"type": "type",
"value": 0
}
],
"models": [
"string"
],
"type": "rate_limit"
}
],
"next_page": "next_page"
}