List Workspace Rate Limits
api/admin/workspaces/rate_limits/list
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/list Changed · +11 / -16 lines
# List Workspace Rate Limits ## Path parameters ## Query parameters ## Returns ## Example ### Response (200) ## List Workspace Rate Limits ### Path Parameters ### Query Parameters ### Returns ### Example #### Response
---- -title: List Workspace Rate Limits -url: https://platform.claude.com/docs/en/api/admin/workspaces/rate_limits/list ---- +# List Workspace 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. 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. -### 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`
Opaque cursor from a previous response's `next_page`. -### Returns +## 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`
Token to provide in as `page` in the subsequent request to retrieve the next page of data. -### Example +## 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 {