Rate Limits
List Organization Rate Limits
$client->organization->rateLimits->list(?GroupType groupType, ?int limit, ?string model, ?string page): PageCursor<OrganizationRateLimit>List Messages API rate limits for your organization.
Models
class OrganizationRateLimit { $type = 'rate_limit'; $id; $group; /* 2 more */ }
Object type. Always rate_limit for organization rate-limit entries.
Identifier of this rate-limit entry. It is stable within the organization and differs between organizations; the group's own identifier is group.id. Pass it as rate_limit_id to set a workspace's overrides for this group.
The rate-limit group this entry's limits apply to.
The limiter values that apply to this group.
Model names this entry's limits apply to, including aliases. null when group.type is not "model_group". The list covers the models your organization has access to, so it can differ between organizations.
class OrganizationRateLimitBatchGroup { $type = 'batch'; $id; }
Always batch: the Message Batches API.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
class OrganizationRateLimitFilesGroup { $type = 'files'; $id; }
Always files: the Files API.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
class OrganizationRateLimitModelGroup { $type = 'model_group'; $id; $displayName; }
Always model_group: a family of models.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
Human-readable name of the model group (for example, Claude Sonnet 4.x). For display only; it may change.
class OrganizationRateLimitSkillsGroup { $type = 'skills'; $id; }
Always skills: the Skills API.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
class OrganizationRateLimitTokenCountGroup { $type = 'token_count'; $id; }
Always token_count: the Token Count API.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
class OrganizationRateLimitValue { $type; $value; }
The limiter type (for example, requests_per_minute or input_tokens_per_minute).
The configured limit value for this limiter type.
class OrganizationRateLimitWebSearchGroup { $type = 'web_search'; $id; }
Always web_search: the Messages API web search tool.
Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.