The whole hunk
from line 10, old and new numbered
/
lines
from line 10
1010override. Groups without overrides inherit the organization limits and
1111are not listed; use `GET /v1/organizations/rate_limits` to see those.
1212
13When `limit` is omitted, every matching entry is returned in a single
14page; when `limit` truncates the result, follow `next_page` to fetch
15the remaining entries.
16
1317### Path parameters
1418
1519- `workspace_id: string`
from line 38
3438
3539 - `"web_search"`
3640
41- `limit: optional number`
42
43 Maximum number of items to return per page. Ranges from `1` to `1000`.
44
45 When omitted, every remaining entry is returned in a single page and `next_page` is `null`.
46
47 maximum: 1000, minimum: 1
48
3749- `page: optional string`
3850
3951 Opaque cursor from a previous response's `next_page`.
from line 108
96108
97109- `next_page: string or null`
98110
99 Token to provide in as `page` in the subsequent request to retrieve the next page of data.
111 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
100112
101113### Example
102114
from line 115
103115```bash
104116curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
105117 -H 'anthropic-version: 2023-06-01' \
106 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
118 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
107119```
108120
109121#### Response (200)
from line 150
138150
139151- `RateLimitListResponse object`
140152
141 - `data: array of object`
153 - `group_type: "batch" or "files" or "model_group" or 3 more`
142154
143 Rate-limit entries for the workspace, one per group that has at least one override.
155 The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`.
144156
145 - `group_type: "batch" or "files" or "model_group" or 3 more`
157 - `"batch"`
146158
147 The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`.
159 - `"files"`
148160
149 - `"batch"`
161 - `"model_group"`
150162
151 - `"files"`
163 - `"skills"`
152164
153 - `"model_group"`
165 - `"token_count"`
154166
155 - `"skills"`
167 - `"web_search"`
156168
157 - `"token_count"`
169 - `limits: array of object`
158170
159 - `"web_search"`
171 The limiter values overridden for this group in this workspace. Limiter types without a workspace override are omitted and inherit the organization value.
160172
161 - `limits: array of object`
173 - `org_limit: number or null`
162174
163 The limiter values overridden for this group in this workspace. Limiter types without a workspace override are omitted and inherit the organization value.
175 The organization-level value for the same limiter type, for reference. `null` when the organization has no limit configured for this limiter type.
164176
165 - `org_limit: number or null`
177 - `type: string`
166178
167 The organization-level value for the same limiter type, for reference. `null` when the organization has no limit configured for this limiter type.
179 The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute`).
168180
169 - `type: string`
181 - `value: number`
170182
171 The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute`).
183 The workspace-level override value for this limiter type.
172184
173 - `value: number`
185 - `models: array of string or null`
174186
175 The workspace-level override value for this limiter type.
187 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
176188
177 - `models: array of string or null`
189 - `rate_limit_id: string`
178190
179 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
191 The `id` of the RateLimit group this override applies to.
180192
181 - `rate_limit_id: string`
193 - `type: "workspace_rate_limit"`
182194
183 The `id` of the RateLimit group this override applies to.
195 Object type. Always `workspace_rate_limit` for workspace rate-limit entries.
184196
185 - `type: "workspace_rate_limit"`
197 default: workspace_rate_limit
186198
187 Object type. Always `workspace_rate_limit` for workspace rate-limit entries.
199 - `workspace_id: string`
188200
189 default: workspace_rate_limit
190
191 - `workspace_id: string`
192
193 ID of the Workspace this override applies to.
194
195 - `next_page: string or null`
196
197 Token to provide in as `page` in the subsequent request to retrieve the next page of data.
201 ID of the Workspace this override applies to.
198202