Organization › Workspaces › Rate Limits
List Workspace Rate Limits
GET /v1/organizations/workspaces/\{workspace_id\}/rate_limits
List rate-limit overrides configured for a workspace.
Returns only the groups and limiter types that have a workspace-level override. Groups without overrides inherit the organization limits and are not listed; use GET /v1/organizations/rate_limits to see those.
When limit is omitted, every matching entry is returned in a single page; when limit truncates the result, follow next_page to fetch the remaining entries.
Path parameters
workspace_id: stringThe ID of the workspace.
Query parameters
group_type: optional "batch" or "files" or "model_group" or 3 moreFilter by group type.
"batch""files""model_group""skills""token_count""web_search"
limit: optional numberMaximum number of items to return per page. Ranges from
1to1000.When omitted, every remaining entry is returned in a single page and
next_pageisnull.maximum: 1000, minimum: 1
page: optional stringOpaque cursor from a previous response's
next_page.
Returns
data: array of BetaWorkspaceRateLimitRate-limit entries for the workspace, one per group that has at least one override.
type: "workspace_rate_limit"Object type. Always
workspace_rate_limitfor workspace rate-limit entries.default: workspace_rate_limit
group_type: "batch" or "files" or "model_group" or 3 moreThe kind of rate-limit group this entry represents.
model_groupentries apply to a family of models (listed inmodels); other values apply to an API-surface category and havemodelsset tonull."batch""files""model_group""skills""token_count""web_search"
limits: array of BetaWorkspaceRateLimitValueThe limiter values overridden for this group in this workspace. Limiter types without a workspace override are omitted and inherit the organization value.
type: stringThe limiter type (for example,
requests_per_minuteorinput_tokens_per_minute).org_limit: number or nullThe organization-level value for the same limiter type, for reference.
nullwhen the organization has no limit configured for this limiter type.value: numberThe workspace-level override value for this limiter type.
models: array of string or nullModel names this entry's limits apply to, including aliases.
nullwhengroup_typeis not"model_group".rate_limit_id: stringThe
idof the RateLimit group this override applies to.workspace_id: stringID of the Workspace this override applies to.
next_page: string or nullOpaque cursor for the next page of results, or
nullwhen no entries remain beyond this response.
Example
curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY"Response (200)
{
"data": [
{
"group_type": "batch",
"limits": [
{
"org_limit": 0,
"type": "type",
"value": 0
}
],
"models": [
"string"
],
"rate_limit_id": "rate_limit_id",
"type": "workspace_rate_limit",
"workspace_id": "workspace_id"
}
],
"next_page": "next_page"
}