Rate Limits
api/admin/workspaces/rate_limits
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/workspaces/rate_limits Changed · +13 / -18 lines
### Path parameters ### Query parameters #### Response (200) ## Domain types ### Path Parameters ### Query Parameters #### Response ## Domain Types
---- -title: Rate Limits -url: https://platform.claude.com/docs/en/api/admin/workspaces/rate_limits ---- - # Rate Limits ## List Workspace Rate Limits -**get** `/v1/organizations/workspaces/{workspace_id}/rate_limits` +**GET** `/v1/organizations/workspaces/{workspace_id}/rate_limits` List rate-limit overrides configured for a workspace.
override. Groups without overrides inherit the organization limits and are not listed; use `GET /v1/organizations/rate_limits` to see those. -### Path Parameters +### Path parameters - `workspace_id: string` The ID of the workspace. -### Query Parameters +### Query parameters - `group_type: optional "batch" or "files" or "model_group" or 3 more`
### Returns -- `data: array of object { group_type, limits, models, 3 more }` +- `data: array of object` Rate-limit entries for the workspace, one per group that has at least one override.
- `"web_search"` - - `limits: array of object { org_limit, type, value }` + - `limits: array of object` The limiter values overridden for this group in this workspace. Limiter types without a workspace override are omitted and inherit the organization value.
Object type. Always `workspace_rate_limit` for workspace rate-limit entries. - - `"workspace_rate_limit"` + default: workspace_rate_limit - `workspace_id: string`
### Example -```http +```bash curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \ -H 'anthropic-version: 2023-06-01' \ -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +#### Response (200) ```json {
} ``` -## Domain Types +## Domain types ### Rate Limit List Response -- `RateLimitListResponse object { data, next_page }` +- `RateLimitListResponse object` - - `data: array of object { group_type, limits, models, 3 more }` + - `data: array of object` Rate-limit entries for the workspace, one per group that has at least one override.
- `"web_search"` - - `limits: array of object { org_limit, type, value }` + - `limits: array of object` The limiter values overridden for this group in this workspace. Limiter types without a workspace override are omitted and inherit the organization value.
Object type. Always `workspace_rate_limit` for workspace rate-limit entries. - - `"workspace_rate_limit"` + default: workspace_rate_limit - `workspace_id: string`