One read of Claude Developer Platformapi-20261022T173720Z
461 pages moved out of 808 read.
Pages moved
461
significant first
Pages read
808
in this capture
Captured
17:37 UTC
Corpus hash
e3e9c53ea786
corpus-hash
What this read moved
51-75 of 461, page 3 of 19This capture is too large to show at once. Changes 51-75 of 461 are below, significant first; the rest are on the following screens.
api/beta/organization/rbac_groups/list Changed · +2 / -11 lines
from line 77
7777
7878 format: date-time
7979
80 - `roles: array of string or null`
81
82 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
83
84 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
85
8680- `has_more: boolean`
8781
8882 Indicates if there are more results in the requested page direction.
from line 89
9589
9690```bash
9791curl https://api.anthropic.com/v1/organizations/rbac_groups \
98 -H 'anthropic-version: 2023-06-01' \
99 -H "X-Api-Key: $ANTHROPIC_API_KEY"
92 -H 'anthropic-version: 2026-10-21' \
93 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10094```
10195
10296### Response (200)
from line 103
109103 "created_at": "2024-10-30T23:58:27.427722Z",
110104 "name": "Engineering",
111105 "role_ids": [
112 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
113 ],
114 "roles": [
115106 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
116107 ],
117108 "source_type": "direct",
api/beta/organization/rbac_groups/members Changed · +6 / -39 lines
from line 71
7171
7272 ID of the User.
7373
74 - `group_id: string`
75
76 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
77
78 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
79
8074- `has_more: boolean`
8175
8276 Indicates if there are more results in the requested page direction.
from line 83
8983
9084```bash
9185curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
92 -H 'anthropic-version: 2023-06-01' \
93 -H "X-Api-Key: $ANTHROPIC_API_KEY"
86 -H 'anthropic-version: 2026-10-21' \
87 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9488```
9589
9690#### Response (200)
from line 95
10195 {
10296 "created_at": "2024-10-30T23:58:27.427722Z",
104 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
10598 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
10699 "type": "rbac_group_member",
107100 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 163
170163
171164 ID of the User.
172165
173 - `group_id: string`
174
175 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
176
177 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
178
179166### Example
180167
181168```bash
182169curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
183170 -H 'Content-Type: application/json' \
184 -H 'anthropic-version: 2023-06-01' \
185 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
171 -H 'anthropic-version: 2026-10-21' \
172 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
186173 -d '{
187174 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
188175 }'
from line 181
194181{
195182 "created_at": "2024-10-30T23:58:27.427722Z",
197 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
198184 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
199185 "type": "rbac_group_member",
200186 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 229
243229
244230 ID of the User.
245231
246- `group_id: string`
247
248 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
249
250 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
251
252232### Example
253233
254234```bash
255235curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members/$USER_ID \
256236 -X DELETE \
257 -H 'anthropic-version: 2023-06-01' \
258 -H "X-Api-Key: $ANTHROPIC_API_KEY"
237 -H 'anthropic-version: 2026-10-21' \
238 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
259239```
260240
261241#### Response (200)
from line 242
262242
263243```json
264244{
265 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
266245 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
267246 "type": "rbac_group_member_deleted",
268247 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 280
301280
302281 ID of the User.
303282
304 - `group_id: string`
305
306 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
307
308 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
309
310283### Member Remove Response
311284
312285- `MemberRemoveResponse object`
from line 297
324297 - `user_id: string`
325298
326299 ID of the User.
327
328 - `group_id: string`
329
330 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
331
332 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
333300
api/beta/organization/rbac_groups/members/add Changed · +2 / -9 lines
from line 61
6161
6262 ID of the User.
6363
64 - `group_id: string`
65
66 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
67
68 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
69
7064## Example
7165
7266```bash
7367curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
7468 -H 'Content-Type: application/json' \
75 -H 'anthropic-version: 2023-06-01' \
76 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
69 -H 'anthropic-version: 2026-10-21' \
70 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
7771 -d '{
7872 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
7973 }'
from line 79
8579{
8680 "created_at": "2024-10-30T23:58:27.427722Z",
88 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
8982 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
9083 "type": "rbac_group_member",
9184 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
api/beta/organization/rbac_groups/members/list Changed · +2 / -9 lines
from line 69
6969
7070 ID of the User.
7171
72 - `group_id: string`
73
74 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
75
76 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
77
7872- `has_more: boolean`
7973
8074 Indicates if there are more results in the requested page direction.
from line 81
8781
8882```bash
8983curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
90 -H 'anthropic-version: 2023-06-01' \
91 -H "X-Api-Key: $ANTHROPIC_API_KEY"
84 -H 'anthropic-version: 2026-10-21' \
85 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9286```
9387
9488### Response (200)
from line 93
9993 {
10094 "created_at": "2024-10-30T23:58:27.427722Z",
102 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
10396 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
10497 "type": "rbac_group_member",
10598 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
api/beta/organization/rbac_groups/members/remove Changed · +2 / -9 lines
from line 45
4545
4646 ID of the User.
4747
48- `group_id: string`
49
50 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
51
52 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
53
5448## Example
5549
5650```bash
5751curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members/$USER_ID \
5852 -X DELETE \
59 -H 'anthropic-version: 2023-06-01' \
60 -H "X-Api-Key: $ANTHROPIC_API_KEY"
53 -H 'anthropic-version: 2026-10-21' \
54 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
6155```
6256
6357### Response (200)
from line 58
6458
6559```json
6660{
67 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
6861 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
6962 "type": "rbac_group_member_deleted",
7063 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
api/beta/organization/rbac_groups/retrieve Changed · +2 / -11 lines
from line 69
6969
7070 format: date-time
7171
72 - `roles: array of string or null`
73
74 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
75
76 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
77
7872## Example
7973
8074```bash
8175curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
82 -H 'anthropic-version: 2023-06-01' \
83 -H "X-Api-Key: $ANTHROPIC_API_KEY"
76 -H 'anthropic-version: 2026-10-21' \
77 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
8478```
8579
8680### Response (200)
from line 85
9185 "created_at": "2024-10-30T23:58:27.427722Z",
9286 "name": "Engineering",
9387 "role_ids": [
94 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
95 ],
96 "roles": [
9788 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
9889 ],
9990 "source_type": "direct",
api/beta/organization/rbac_groups/update Changed · +2 / -11 lines
from line 77
7777
7878 format: date-time
7979
80 - `roles: array of string or null`
81
82 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
83
84 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
85
8680## Example
8781
8882```bash
8983curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
9084 -H 'Content-Type: application/json' \
91 -H 'anthropic-version: 2023-06-01' \
92 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
85 -H 'anthropic-version: 2026-10-21' \
86 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
9387 -d '{
9488 "name": "Engineering"
9589 }'
from line 97
10397 "created_at": "2024-10-30T23:58:27.427722Z",
10498 "name": "Engineering",
10599 "role_ids": [
106 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
107 ],
108 "roles": [
109100 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
110101 ],
111102 "source_type": "direct",
api/beta/organization/rbac_roles Changed · +6 / -26 lines
from line 67
6767
6868 format: date-time
6969
70 - `name: string`
71
72 **Deprecated**: Use `display_name` instead; `name` always has the same value.
73
74 Deprecated: use `display_name` instead. Name of the RBAC Role; always the same value as `display_name`.
75
7670- `has_more: boolean`
7771
7872 Indicates whether there are more results beyond this page.
from line 80
8680
8781```bash
8882curl https://api.anthropic.com/v1/organizations/rbac_roles \
89 -H 'anthropic-version: 2023-06-01' \
90 -H "X-Api-Key: $ANTHROPIC_API_KEY"
83 -H 'anthropic-version: 2026-10-21' \
84 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9185```
9286
9387#### Response (200)
from line 93
9993 "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
10094 "created_at": "2024-10-30T23:58:27.427722Z",
10195 "display_name": "Project Editor",
102 "name": "Project Editor",
10396 "type": "rbac_role",
10497 "updated_at": "2024-10-30T23:58:27.427722Z"
10598 }
from line 156
163156
164157 format: date-time
165158
166 - `name: string`
167
168 **Deprecated**: Use `display_name` instead; `name` always has the same value.
169
170 Deprecated: use `display_name` instead. Name of the RBAC Role; always the same value as `display_name`.
171
172159### Example
173160
174161```bash
175162curl https://api.anthropic.com/v1/organizations/rbac_roles/$RBAC_ROLE_ID \
176 -H 'anthropic-version: 2023-06-01' \
177 -H "X-Api-Key: $ANTHROPIC_API_KEY"
163 -H 'anthropic-version: 2026-10-21' \
164 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
178165```
179166
180167#### Response (200)
from line 171
184171 "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
185172 "created_at": "2024-10-30T23:58:27.427722Z",
186173 "display_name": "Project Editor",
187 "name": "Project Editor",
188174 "type": "rbac_role",
189175 "updated_at": "2024-10-30T23:58:27.427722Z"
190176}
from line 210
224210
225211 format: date-time
226212
227 - `name: string`
228
229 **Deprecated**: Use `display_name` instead; `name` always has the same value.
230
231 Deprecated: use `display_name` instead. Name of the RBAC Role; always the same value as `display_name`.
232
233213## RBAC Roles › Permissions
234214
235215### List RBAC Role Permissions
from line 374
394374
395375```bash
396376curl https://api.anthropic.com/v1/organizations/rbac_roles/$RBAC_ROLE_ID/permissions \
397 -H 'anthropic-version: 2023-06-01' \
398 -H "X-Api-Key: $ANTHROPIC_API_KEY"
377 -H 'anthropic-version: 2026-10-21' \
378 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
399379```
400380
401381##### Response (200)
api/beta/organization/rbac_roles/list Changed · +2 / -9 lines
from line 65
6565
6666 format: date-time
6767
68 - `name: string`
69
70 **Deprecated**: Use `display_name` instead; `name` always has the same value.
71
72 Deprecated: use `display_name` instead. Name of the RBAC Role; always the same value as `display_name`.
73
7468- `has_more: boolean`
7569
7670 Indicates whether there are more results beyond this page.
from line 78
8478
8579```bash
8680curl https://api.anthropic.com/v1/organizations/rbac_roles \
87 -H 'anthropic-version: 2023-06-01' \
88 -H "X-Api-Key: $ANTHROPIC_API_KEY"
81 -H 'anthropic-version: 2026-10-21' \
82 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
8983```
9084
9185### Response (200)
from line 91
9791 "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
9892 "created_at": "2024-10-30T23:58:27.427722Z",
9993 "display_name": "Project Editor",
100 "name": "Project Editor",
10194 "type": "rbac_role",
10295 "updated_at": "2024-10-30T23:58:27.427722Z"
10396 }
api/beta/organization/rbac_roles/retrieve Changed · +2 / -9 lines
from line 57
5757
5858 format: date-time
5959
60 - `name: string`
61
62 **Deprecated**: Use `display_name` instead; `name` always has the same value.
63
64 Deprecated: use `display_name` instead. Name of the RBAC Role; always the same value as `display_name`.
65
6660## Example
6761
6862```bash
6963curl https://api.anthropic.com/v1/organizations/rbac_roles/$RBAC_ROLE_ID \
70 -H 'anthropic-version: 2023-06-01' \
71 -H "X-Api-Key: $ANTHROPIC_API_KEY"
64 -H 'anthropic-version: 2026-10-21' \
65 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
7266```
7367
7468### Response (200)
from line 72
7872 "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
7973 "created_at": "2024-10-30T23:58:27.427722Z",
8074 "display_name": "Project Editor",
81 "name": "Project Editor",
8275 "type": "rbac_role",
8376 "updated_at": "2024-10-30T23:58:27.427722Z"
8477}
api/beta/organization/service_accounts Changed · +16 / -16 lines
from line 229
229229```bash
230230curl https://api.anthropic.com/v1/organizations/service_accounts \
231231 -H 'Content-Type: application/json' \
232 -H 'anthropic-version: 2023-06-01' \
233 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
232 -H 'anthropic-version: 2026-10-21' \
233 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
234234 -d '{
235235 "name": "ci-deploy-bot"
236236 }'
from line 468
468468
469469```bash
470470curl https://api.anthropic.com/v1/organizations/service_accounts \
471 -H 'anthropic-version: 2023-06-01' \
472 -H "X-Api-Key: $ANTHROPIC_API_KEY"
471 -H 'anthropic-version: 2026-10-21' \
472 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
473473```
474474
475475#### Response (200)
from line 694
694694
695695```bash
696696curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
697 -H 'anthropic-version: 2023-06-01' \
698 -H "X-Api-Key: $ANTHROPIC_API_KEY"
697 -H 'anthropic-version: 2026-10-21' \
698 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
699699```
700700
701701#### Response (200)
from line 937
937937```bash
938938curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
939939 -H 'Content-Type: application/json' \
940 -H 'anthropic-version: 2023-06-01' \
941 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
940 -H 'anthropic-version: 2026-10-21' \
941 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
942942 -d '{}'
943943```
944944
from line 1165
11651165```bash
11661166curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/archive \
11671167 -X POST \
1168 -H 'anthropic-version: 2023-06-01' \
1169 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1168 -H 'anthropic-version: 2026-10-21' \
1169 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
11701170```
11711171
11721172#### Response (200)
from line 1492
14921492```bash
14931493curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
14941494 -H 'Content-Type: application/json' \
1495 -H 'anthropic-version: 2023-06-01' \
1496 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1495 -H 'anthropic-version: 2026-10-21' \
1496 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
14971497 -d '{
14981498 "workspace_id": "workspace_id",
14991499 "workspace_role": "workspace_admin"
from line 1717
17171717
17181718```bash
17191719curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
1720 -H 'anthropic-version: 2023-06-01' \
1721 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1720 -H 'anthropic-version: 2026-10-21' \
1721 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
17221722```
17231723
17241724##### Response (200)
from line 1902
19021902```bash
19031903curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces/$WORKSPACE_ID \
19041904 -X DELETE \
1905 -H 'anthropic-version: 2023-06-01' \
1906 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1905 -H 'anthropic-version: 2026-10-21' \
1906 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19071907```
19081908
19091909##### Response (200)
api/beta/organization/service_accounts/workspaces Changed · +6 / -6 lines
from line 205
205205```bash
206206curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
207207 -H 'Content-Type: application/json' \
208 -H 'anthropic-version: 2023-06-01' \
209 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
208 -H 'anthropic-version: 2026-10-21' \
209 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
210210 -d '{
211211 "workspace_id": "workspace_id",
212212 "workspace_role": "workspace_admin"
from line 430
430430
431431```bash
432432curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
433 -H 'anthropic-version: 2023-06-01' \
434 -H "X-Api-Key: $ANTHROPIC_API_KEY"
433 -H 'anthropic-version: 2026-10-21' \
434 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
435435```
436436
437437#### Response (200)
from line 615
615615```bash
616616curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces/$WORKSPACE_ID \
617617 -X DELETE \
618 -H 'anthropic-version: 2023-06-01' \
619 -H "X-Api-Key: $ANTHROPIC_API_KEY"
618 -H 'anthropic-version: 2026-10-21' \
619 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
620620```
621621
622622#### Response (200)
api/beta/organization/spend_limits Changed · +33 / -25 lines
from line 320
320320```bash
321321curl https://api.anthropic.com/v1/organizations/spend_limits \
322322 -H 'Content-Type: application/json' \
323 -H 'anthropic-version: 2023-06-01' \
324 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
323 -H 'anthropic-version: 2026-10-21' \
324 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
325325 -d '{
326326 "amount": "50000",
327327 "scope": {
from line 501
501501
502502```bash
503503curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
504 -H 'anthropic-version: 2023-06-01' \
505 -H "X-Api-Key: $ANTHROPIC_API_KEY"
504 -H 'anthropic-version: 2026-10-21' \
505 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
506506```
507507
508508#### Response (200)
from line 564
564564```bash
565565curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
566566 -X DELETE \
567 -H 'anthropic-version: 2023-06-01' \
568 -H "X-Api-Key: $ANTHROPIC_API_KEY"
567 -H 'anthropic-version: 2026-10-21' \
568 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
569569```
570570
571571#### Response (200)
from line 583
583583
584584List the organization's spend limits.
585585
586Limits are grouped by scope type, in the order `organization`, `seat_tier`,
587`rbac_group`, `organization_service`, `user`; within a type they come in a
588fixed order that is not creation order. Supported for Claude Enterprise
589organizations only, not for Claude Console organizations.
586A Claude Console organization's limits, including any read-only `usage_tier`
587limit, come newest first. Listing them is in an early access preview. To
588request access, contact your Anthropic account team. A Claude Enterprise
589organization's limits are grouped by scope type, in the order `organization`,
590`seat_tier`, `rbac_group`, `organization_service`, `user`; within a type they
591come in a fixed order that is not creation order.
590592
591593### Query parameters
592594
from line 602
600602
601603 Opaque cursor from a previous response's `next_page` field.
602604
603- `scope_type: optional array of "organization" or "organization_service" or "rbac_group" or 3 more`
605- `scope_type: optional array of "organization" or "organization_service" or "rbac_group" or 4 more`
604606
605 Return only limits with these scope types. Omit for all.
607 Return only limits with these scope types. Omit for all. A scope type that doesn't apply to the organization gets a 400 error.
606608
607609 maxItems: 100
608610
from line 616
614616
615617 - `"seat_tier"`
616618
619 - `"usage_tier"`
620
617621 - `"user"`
618622
619623 - `"workspace"`
620624
625- `workspace_id: optional string`
626
627 Return only the limits whose `scope.workspace_id` is this workspace (`wrkspc_...`). Claude Console organizations only; other organizations get a 400 error.
628
621629### Headers
622630
623631- `"anthropic-version": optional string`
from line 874
866874
867875```bash
868876curl https://api.anthropic.com/v1/organizations/spend_limits \
869 -H 'anthropic-version: 2023-06-01' \
877 -H 'anthropic-version: 2026-10-21' \
870878 -H 'anthropic-beta: spend-limit-reads-2026-09-26' \
871 -H "X-Api-Key: $ANTHROPIC_API_KEY"
879 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
872880```
873881
874882#### Response (200)
from line 1581
15731581
15741582```bash
15751583curl https://api.anthropic.com/v1/organizations/spend_limits/effective \
1576 -H 'anthropic-version: 2023-06-01' \
1577 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1584 -H 'anthropic-version: 2026-10-21' \
1585 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
15781586```
15791587
15801588##### Response (200)
from line 1888
18801888
18811889```bash
18821890curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests \
1883 -H 'anthropic-version: 2023-06-01' \
1884 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1891 -H 'anthropic-version: 2026-10-21' \
1892 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
18851893```
18861894
18871895##### Response (200)
from line 2195
21872195
21882196```bash
21892197curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID \
2190 -H 'anthropic-version: 2023-06-01' \
2191 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2198 -H 'anthropic-version: 2026-10-21' \
2199 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
21922200```
21932201
21942202##### Response (200)
from line 2584
25762584```bash
25772585curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/approve \
25782586 -H 'Content-Type: application/json' \
2579 -H 'anthropic-version: 2023-06-01' \
2580 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2587 -H 'anthropic-version: 2026-10-21' \
2588 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
25812589 -d '{
25822590 "amount": "50000",
25832591 "period": "monthly"
from line 2909
29012909```bash
29022910curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/deny \
29032911 -H 'Content-Type: application/json' \
2904 -H 'anthropic-version: 2023-06-01' \
2905 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2912 -H 'anthropic-version: 2026-10-21' \
2913 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
29062914 -d '{}'
29072915```
29082916
api/beta/organization/spend_limits/increase_requests Changed · +8 / -8 lines
from line 274
274274
275275```bash
276276curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests \
277 -H 'anthropic-version: 2023-06-01' \
278 -H "X-Api-Key: $ANTHROPIC_API_KEY"
277 -H 'anthropic-version: 2026-10-21' \
278 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
279279```
280280
281281#### Response (200)
from line 581
581581
582582```bash
583583curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID \
584 -H 'anthropic-version: 2023-06-01' \
585 -H "X-Api-Key: $ANTHROPIC_API_KEY"
584 -H 'anthropic-version: 2026-10-21' \
585 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
586586```
587587
588588#### Response (200)
from line 970
970970```bash
971971curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/approve \
972972 -H 'Content-Type: application/json' \
973 -H 'anthropic-version: 2023-06-01' \
974 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
973 -H 'anthropic-version: 2026-10-21' \
974 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
975975 -d '{
976976 "amount": "50000",
977977 "period": "monthly"
from line 1295
12951295```bash
12961296curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/deny \
12971297 -H 'Content-Type: application/json' \
1298 -H 'anthropic-version: 2023-06-01' \
1299 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1298 -H 'anthropic-version: 2026-10-21' \
1299 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
13001300 -d '{}'
13011301```
13021302
api/beta/organization/spend_limits/list Changed · +17 / -9 lines
from line 9
99
1010List the organization's spend limits.
1111
12Limits are grouped by scope type, in the order `organization`, `seat_tier`,
13`rbac_group`, `organization_service`, `user`; within a type they come in a
14fixed order that is not creation order. Supported for Claude Enterprise
15organizations only, not for Claude Console organizations.
12A Claude Console organization's limits, including any read-only `usage_tier`
13limit, come newest first. Listing them is in an early access preview. To
14request access, contact your Anthropic account team. A Claude Enterprise
15organization's limits are grouped by scope type, in the order `organization`,
16`seat_tier`, `rbac_group`, `organization_service`, `user`; within a type they
17come in a fixed order that is not creation order.
1618
1719## Query parameters
1820
from line 28
2628
2729 Opaque cursor from a previous response's `next_page` field.
2830
29- `scope_type: optional array of "organization" or "organization_service" or "rbac_group" or 3 more`
31- `scope_type: optional array of "organization" or "organization_service" or "rbac_group" or 4 more`
3032
31 Return only limits with these scope types. Omit for all.
33 Return only limits with these scope types. Omit for all. A scope type that doesn't apply to the organization gets a 400 error.
3234
3335 maxItems: 100
3436
from line 42
4042
4143 - `"seat_tier"`
4244
45 - `"usage_tier"`
46
4347 - `"user"`
4448
4549 - `"workspace"`
4650
51- `workspace_id: optional string`
52
53 Return only the limits whose `scope.workspace_id` is this workspace (`wrkspc_...`). Claude Console organizations only; other organizations get a 400 error.
54
4755## Headers
4856
4957- `"anthropic-version": optional string`
from line 300
292300
293301```bash
294302curl https://api.anthropic.com/v1/organizations/spend_limits \
295 -H 'anthropic-version: 2023-06-01' \
303 -H 'anthropic-version: 2026-10-21' \
296304 -H 'anthropic-beta: spend-limit-reads-2026-09-26' \
297 -H "X-Api-Key: $ANTHROPIC_API_KEY"
305 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
298306```
299307
300308### Response (200)
api/beta/organization/telemetry_destinations Changed · +18 / -18 lines
from line 420
420420```bash
421421curl https://api.anthropic.com/v1/organizations/telemetry_destinations \
422422 -H 'Content-Type: application/json' \
423 -H 'anthropic-version: 2023-06-01' \
423 -H 'anthropic-version: 2026-10-21' \
424424 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
425 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
425 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
426426 -d '{
427427 "endpoint_url": "x",
428428 "workspaces": {
from line 786
786786
787787```bash
788788curl https://api.anthropic.com/v1/organizations/telemetry_destinations \
789 -H 'anthropic-version: 2023-06-01' \
789 -H 'anthropic-version: 2026-10-21' \
790790 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
791 -H "X-Api-Key: $ANTHROPIC_API_KEY"
791 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
792792```
793793
794794#### Response (200)
from line 1135
11351135
11361136```bash
11371137curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID \
1138 -H 'anthropic-version: 2023-06-01' \
1138 -H 'anthropic-version: 2026-10-21' \
11391139 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
1140 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1140 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
11411141```
11421142
11431143#### Response (200)
from line 1618
16181618```bash
16191619curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID \
16201620 -H 'Content-Type: application/json' \
1621 -H 'anthropic-version: 2023-06-01' \
1621 -H 'anthropic-version: 2026-10-21' \
16221622 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
1623 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1623 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
16241624 -d '{}'
16251625```
16261626
from line 1808
18081808```bash
18091809curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID \
18101810 -X DELETE \
1811 -H 'anthropic-version: 2023-06-01' \
1811 -H 'anthropic-version: 2026-10-21' \
18121812 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
1813 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1813 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
18141814```
18151815
18161816#### Response (200)
from line 1985
19851985```bash
19861986curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/test \
19871987 -X POST \
1988 -H 'anthropic-version: 2023-06-01' \
1988 -H 'anthropic-version: 2026-10-21' \
19891989 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
1990 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1990 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19911991```
19921992
19931993#### Response (200)
from line 2913
29132913
29142914```bash
29152915curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces \
2916 -H 'anthropic-version: 2023-06-01' \
2916 -H 'anthropic-version: 2026-10-21' \
29172917 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
2918 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2918 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
29192919```
29202920
29212921##### Response (200)
from line 3103
31033103```bash
31043104curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
31053105 -X POST \
3106 -H 'anthropic-version: 2023-06-01' \
3106 -H 'anthropic-version: 2026-10-21' \
31073107 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
3108 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3108 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
31093109```
31103110
31113111##### Response (200)
from line 3280
32803280```bash
32813281curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
32823282 -X DELETE \
3283 -H 'anthropic-version: 2023-06-01' \
3283 -H 'anthropic-version: 2026-10-21' \
32843284 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
3285 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3285 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
32863286```
32873287
32883288##### Response (200)
api/beta/organization/telemetry_destinations/workspaces Changed · +6 / -6 lines
from line 181
181181
182182```bash
183183curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces \
184 -H 'anthropic-version: 2023-06-01' \
184 -H 'anthropic-version: 2026-10-21' \
185185 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
186 -H "X-Api-Key: $ANTHROPIC_API_KEY"
186 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
187187```
188188
189189#### Response (200)
from line 371
371371```bash
372372curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
373373 -X POST \
374 -H 'anthropic-version: 2023-06-01' \
374 -H 'anthropic-version: 2026-10-21' \
375375 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
376 -H "X-Api-Key: $ANTHROPIC_API_KEY"
376 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
377377```
378378
379379#### Response (200)
from line 548
548548```bash
549549curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
550550 -X DELETE \
551 -H 'anthropic-version: 2023-06-01' \
551 -H 'anthropic-version: 2026-10-21' \
552552 -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
553 -H "X-Api-Key: $ANTHROPIC_API_KEY"
553 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
554554```
555555
556556#### Response (200)
api/beta/organization/usage_report Changed · +4 / -4 lines
from line 388
388388
389389```bash
390390curl https://api.anthropic.com/v1/organizations/usage_report/messages \
391 -H 'anthropic-version: 2023-06-01' \
392 -H "X-Api-Key: $ANTHROPIC_API_KEY"
391 -H 'anthropic-version: 2026-10-21' \
392 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
393393```
394394
395395#### Response (200)
from line 623
623623
624624```bash
625625curl https://api.anthropic.com/v1/organizations/usage_report/claude_code \
626 -H 'anthropic-version: 2023-06-01' \
627 -H "X-Api-Key: $ANTHROPIC_API_KEY"
626 -H 'anthropic-version: 2026-10-21' \
627 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
628628```
629629
630630#### Response (200)
api/beta/organization/users Changed · +8 / -8 lines
from line 117
117117
118118```bash
119119curl https://api.anthropic.com/v1/organizations/users \
120 -H 'anthropic-version: 2023-06-01' \
121 -H "X-Api-Key: $ANTHROPIC_API_KEY"
120 -H 'anthropic-version: 2026-10-21' \
121 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
122122```
123123
124124#### Response (200)
from line 217
217217
218218```bash
219219curl https://api.anthropic.com/v1/organizations/users/$USER_ID \
220 -H 'anthropic-version: 2023-06-01' \
221 -H "X-Api-Key: $ANTHROPIC_API_KEY"
220 -H 'anthropic-version: 2026-10-21' \
221 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
222222```
223223
224224#### Response (200)
from line 329
329329```bash
330330curl https://api.anthropic.com/v1/organizations/users/$USER_ID \
331331 -H 'Content-Type: application/json' \
332 -H 'anthropic-version: 2023-06-01' \
333 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
332 -H 'anthropic-version: 2026-10-21' \
333 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
334334 -d '{
335335 "role": "user"
336336 }'
from line 388
388388```bash
389389curl https://api.anthropic.com/v1/organizations/users/$USER_ID \
390390 -X DELETE \
391 -H 'anthropic-version: 2023-06-01' \
392 -H "X-Api-Key: $ANTHROPIC_API_KEY"
391 -H 'anthropic-version: 2026-10-21' \
392 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
393393```
394394
395395#### Response (200)
api/beta/organization/webhooks Changed · +12 / -12 lines
from line 224
224224```bash
225225curl https://api.anthropic.com/v1/organizations/webhooks \
226226 -H 'Content-Type: application/json' \
227 -H 'anthropic-version: 2023-06-01' \
227 -H 'anthropic-version: 2026-10-21' \
228228 -H 'anthropic-beta: webhooks-2026-10-07' \
229 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
229 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
230230 -d '{
231231 "enabled_events": [
232232 "user_profile.enforcement_action_opened"
from line 477
477477
478478```bash
479479curl https://api.anthropic.com/v1/organizations/webhooks \
480 -H 'anthropic-version: 2023-06-01' \
480 -H 'anthropic-version: 2026-10-21' \
481481 -H 'anthropic-beta: webhooks-2026-10-07' \
482 -H "X-Api-Key: $ANTHROPIC_API_KEY"
482 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
483483```
484484
485485#### Response (200)
from line 700
700700
701701```bash
702702curl https://api.anthropic.com/v1/organizations/webhooks/$WEBHOOK_ENDPOINT_ID \
703 -H 'anthropic-version: 2023-06-01' \
703 -H 'anthropic-version: 2026-10-21' \
704704 -H 'anthropic-beta: webhooks-2026-10-07' \
705 -H "X-Api-Key: $ANTHROPIC_API_KEY"
705 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
706706```
707707
708708#### Response (200)
from line 949
949949```bash
950950curl https://api.anthropic.com/v1/organizations/webhooks/$WEBHOOK_ENDPOINT_ID \
951951 -H 'Content-Type: application/json' \
952 -H 'anthropic-version: 2023-06-01' \
952 -H 'anthropic-version: 2026-10-21' \
953953 -H 'anthropic-beta: webhooks-2026-10-07' \
954 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
954 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
955955 -d '{}'
956956```
957957
from line 1128
11281128```bash
11291129curl https://api.anthropic.com/v1/organizations/webhooks/$WEBHOOK_ENDPOINT_ID \
11301130 -X DELETE \
1131 -H 'anthropic-version: 2023-06-01' \
1131 -H 'anthropic-version: 2026-10-21' \
11321132 -H 'anthropic-beta: webhooks-2026-10-07' \
1133 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1133 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
11341134```
11351135
11361136#### Response (200)
from line 1292
12921292```bash
12931293curl https://api.anthropic.com/v1/organizations/webhooks/$WEBHOOK_ENDPOINT_ID/regenerate_signing_secret \
12941294 -X POST \
1295 -H 'anthropic-version: 2023-06-01' \
1295 -H 'anthropic-version: 2026-10-21' \
12961296 -H 'anthropic-beta: webhooks-2026-10-07' \
1297 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1297 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
12981298```
12991299
13001300#### Response (200)
api/beta/organization/workspaces Changed · +38 / -76 lines
from line 161
161161
162162```bash
163163curl https://api.anthropic.com/v1/organizations/workspaces \
164 -H 'anthropic-version: 2023-06-01' \
165 -H "X-Api-Key: $ANTHROPIC_API_KEY"
164 -H 'anthropic-version: 2026-10-21' \
165 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
166166```
167167
168168#### Response (200)
from line 481
481481```bash
482482curl https://api.anthropic.com/v1/organizations/workspaces \
483483 -H 'Content-Type: application/json' \
484 -H 'anthropic-version: 2023-06-01' \
485 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
484 -H 'anthropic-version: 2026-10-21' \
485 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
486486 -d '{
487487 "name": "x",
488488 "display_color": "#6C5BB9",
from line 638
638638
639639```bash
640640curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
641 -H 'anthropic-version: 2023-06-01' \
642 -H "X-Api-Key: $ANTHROPIC_API_KEY"
641 -H 'anthropic-version: 2026-10-21' \
642 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
643643```
644644
645645#### Response (200)
from line 841
841841```bash
842842curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
843843 -H 'Content-Type: application/json' \
844 -H 'anthropic-version: 2023-06-01' \
845 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
844 -H 'anthropic-version: 2026-10-21' \
845 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
846846 -d '{
847847 "display_color": "#6C5BB9",
848848 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
from line 996
996996```bash
997997curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/archive \
998998 -X POST \
999 -H 'anthropic-version: 2023-06-01' \
1000 -H "X-Api-Key: $ANTHROPIC_API_KEY"
999 -H 'anthropic-version: 2026-10-21' \
1000 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10011001```
10021002
10031003#### Response (200)
from line 1352
13521352
13531353 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
13541354
1355 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1355 The rate-limit group this entry's limits apply to.
13561356
13571357 - `BetaOrganizationRateLimitModelGroup object`
13581358
from line 1468
14681468
14691469 - `models: array of string or null`
14701470
1471 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1471 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
14721472
14731473 - `rate_limit_id: string`
14741474
from line 1478
14781478
14791479 ID of the Workspace this entry applies to.
14801480
1481 - `group_type: "batch" or "files" or "model_group" or 3 more`
1482
1483 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1484
1485 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
1486
1487 - `"batch"`
1488
1489 - `"files"`
1490
1491 - `"model_group"`
1492
1493 - `"skills"`
1494
1495 - `"token_count"`
1496
1497 - `"web_search"`
1498
14991481- `next_page: string or null`
15001482
15011483 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 1486
15041486
15051487```bash
15061488curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
1507 -H 'anthropic-version: 2023-06-01' \
1508 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1489 -H 'anthropic-version: 2026-10-21' \
1490 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
15091491```
15101492
15111493##### Response (200)
from line 1501
15191501 "display_name": "display_name",
15201502 "type": "model_group"
15211503 },
1522 "group_type": "batch",
15231504 "limits": [
15241505 {
15251506 "org_limit": 0,
from line 1605
16241605
16251606 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
16261607
1627 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1608 The rate-limit group this entry's limits apply to.
16281609
16291610 - `BetaOrganizationRateLimitModelGroup object`
16301611
from line 1721
17401721
17411722 - `models: array of string or null`
17421723
1743 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1724 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
17441725
17451726 - `rate_limit_id: string`
17461727
from line 1731
17501731
17511732 ID of the Workspace this entry applies to.
17521733
1753 - `group_type: "batch" or "files" or "model_group" or 3 more`
1754
1755 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1756
1757 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
1758
1759 - `"batch"`
1760
1761 - `"files"`
1762
1763 - `"model_group"`
1764
1765 - `"skills"`
1766
1767 - `"token_count"`
1768
1769 - `"web_search"`
1770
17711734#### Example
17721735
17731736```bash
17741737curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
17751738 -H 'Content-Type: application/json' \
1776 -H 'anthropic-version: 2023-06-01' \
1777 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1739 -H 'anthropic-version: 2026-10-21' \
1740 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
17781741 -d '{
17791742 "limits": [
17801743 {
from line 1757
17941757 "display_name": "display_name",
17951758 "type": "model_group"
17961759 },
1797 "group_type": "batch",
17981760 "limits": [
17991761 {
18001762 "org_limit": 0,
from line 1866
19041866
19051867```bash
19061868curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
1907 -H 'anthropic-version: 2023-06-01' \
1908 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1869 -H 'anthropic-version: 2026-10-21' \
1870 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19091871```
19101872
19111873##### Response (200)
from line 1965
20031965```bash
20041966curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
20051967 -H 'Content-Type: application/json' \
2006 -H 'anthropic-version: 2023-06-01' \
2007 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1968 -H 'anthropic-version: 2026-10-21' \
1969 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
20081970 -d '{
20091971 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
20101972 "workspace_role": "workspace_admin"
from line 2046
20842046
20852047```bash
20862048curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
2087 -H 'anthropic-version: 2023-06-01' \
2088 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2049 -H 'anthropic-version: 2026-10-21' \
2050 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
20892051```
20902052
20912053##### Response (200)
from line 2140
21782140```bash
21792141curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
21802142 -H 'Content-Type: application/json' \
2181 -H 'anthropic-version: 2023-06-01' \
2182 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2143 -H 'anthropic-version: 2026-10-21' \
2144 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
21832145 -d '{
21842146 "workspace_role": "workspace_admin"
21852147 }'
from line 2205
22432205```bash
22442206curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
22452207 -X DELETE \
2246 -H 'anthropic-version: 2023-06-01' \
2247 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2208 -H 'anthropic-version: 2026-10-21' \
2209 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
22482210```
22492211
22502212##### Response (200)
from line 2418
24562418
24572419```bash
24582420curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
2459 -H 'anthropic-version: 2023-06-01' \
2460 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2421 -H 'anthropic-version: 2026-10-21' \
2422 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
24612423```
24622424
24632425##### Response (200)
from line 2642
26802642```bash
26812643curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
26822644 -H 'Content-Type: application/json' \
2683 -H 'anthropic-version: 2023-06-01' \
2684 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2645 -H 'anthropic-version: 2026-10-21' \
2646 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
26852647 -d '{
26862648 "service_account_id": "service_account_id",
26872649 "workspace_role": "workspace_admin"
from line 2848
28862848
28872849```bash
28882850curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
2889 -H 'anthropic-version: 2023-06-01' \
2890 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2851 -H 'anthropic-version: 2026-10-21' \
2852 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
28912853```
28922854
28932855##### Response (200)
from line 3065
31033065```bash
31043066curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
31053067 -H 'Content-Type: application/json' \
3106 -H 'anthropic-version: 2023-06-01' \
3107 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
3068 -H 'anthropic-version: 2026-10-21' \
3069 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
31083070 -d '{
31093071 "workspace_role": "workspace_admin"
31103072 }'
from line 3246
32843246```bash
32853247curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
32863248 -X DELETE \
3287 -H 'anthropic-version: 2023-06-01' \
3288 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3249 -H 'anthropic-version: 2026-10-21' \
3250 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
32893251```
32903252
32913253##### Response (200)
api/beta/organization/workspaces/members Changed · +10 / -10 lines
from line 93
9393
9494```bash
9595curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
96 -H 'anthropic-version: 2023-06-01' \
97 -H "X-Api-Key: $ANTHROPIC_API_KEY"
96 -H 'anthropic-version: 2026-10-21' \
97 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9898```
9999
100100#### Response (200)
from line 192
192192```bash
193193curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
194194 -H 'Content-Type: application/json' \
195 -H 'anthropic-version: 2023-06-01' \
196 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
195 -H 'anthropic-version: 2026-10-21' \
196 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
197197 -d '{
198198 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
199199 "workspace_role": "workspace_admin"
from line 273
273273
274274```bash
275275curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
276 -H 'anthropic-version: 2023-06-01' \
277 -H "X-Api-Key: $ANTHROPIC_API_KEY"
276 -H 'anthropic-version: 2026-10-21' \
277 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
278278```
279279
280280#### Response (200)
from line 367
367367```bash
368368curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
369369 -H 'Content-Type: application/json' \
370 -H 'anthropic-version: 2023-06-01' \
371 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
370 -H 'anthropic-version: 2026-10-21' \
371 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
372372 -d '{
373373 "workspace_role": "workspace_admin"
374374 }'
from line 432
432432```bash
433433curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
434434 -X DELETE \
435 -H 'anthropic-version: 2023-06-01' \
436 -H "X-Api-Key: $ANTHROPIC_API_KEY"
435 -H 'anthropic-version: 2026-10-21' \
436 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
437437```
438438
439439#### Response (200)
api/beta/organization/workspaces/rate_limits Changed · +10 / -66 lines
from line 85
8585
8686 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
8787
88 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
88 The rate-limit group this entry's limits apply to.
8989
9090 - `BetaOrganizationRateLimitModelGroup object`
9191
from line 201
201201
202202 - `models: array of string or null`
203203
204 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
204 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
205205
206206 - `rate_limit_id: string`
207207
from line 211
211211
212212 ID of the Workspace this entry applies to.
213213
214 - `group_type: "batch" or "files" or "model_group" or 3 more`
215
216 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
217
218 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
219
220 - `"batch"`
221
222 - `"files"`
223
224 - `"model_group"`
225
226 - `"skills"`
227
228 - `"token_count"`
229
230 - `"web_search"`
231
232214- `next_page: string or null`
233215
234216 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 219
237219
238220```bash
239221curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
240 -H 'anthropic-version: 2023-06-01' \
241 -H "X-Api-Key: $ANTHROPIC_API_KEY"
222 -H 'anthropic-version: 2026-10-21' \
223 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
242224```
243225
244226#### Response (200)
from line 234
252234 "display_name": "display_name",
253235 "type": "model_group"
254236 },
255 "group_type": "batch",
256237 "limits": [
257238 {
258239 "org_limit": 0,
from line 338
357338
358339 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
359340
360 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
341 The rate-limit group this entry's limits apply to.
361342
362343 - `BetaOrganizationRateLimitModelGroup object`
363344
from line 454
473454
474455 - `models: array of string or null`
475456
476 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
457 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
477458
478459 - `rate_limit_id: string`
479460
from line 464
483464
484465 ID of the Workspace this entry applies to.
485466
486 - `group_type: "batch" or "files" or "model_group" or 3 more`
487
488 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
489
490 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
491
492 - `"batch"`
493
494 - `"files"`
495
496 - `"model_group"`
497
498 - `"skills"`
499
500 - `"token_count"`
501
502 - `"web_search"`
503
504467### Example
505468
506469```bash
507470curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
508471 -H 'Content-Type: application/json' \
509 -H 'anthropic-version: 2023-06-01' \
510 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
472 -H 'anthropic-version: 2026-10-21' \
473 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
511474 -d '{
512475 "limits": [
513476 {
from line 490
527490 "display_name": "display_name",
528491 "type": "model_group"
529492 },
530 "group_type": "batch",
531493 "limits": [
532494 {
533495 "org_limit": 0,
from line 523
561523
562524 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
563525
564 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
526 The rate-limit group this entry's limits apply to.
565527
566528 - `BetaOrganizationRateLimitModelGroup object`
567529
from line 639
677639
678640 - `models: array of string or null`
679641
680 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
642 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
681643
682644 - `rate_limit_id: string`
683645
from line 648
686648 - `workspace_id: string`
687649
688650 ID of the Workspace this entry applies to.
689
690 - `group_type: "batch" or "files" or "model_group" or 3 more`
691
692 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
693
694 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
695
696 - `"batch"`
697
698 - `"files"`
699
700 - `"model_group"`
701
702 - `"skills"`
703
704 - `"token_count"`
705
706 - `"web_search"`
707651
708652### Beta Workspace Rate Limit Organization Source
709653
api/beta/organization/workspaces/rate_limits/list Changed · +4 / -23 lines
from line 83
8383
8484 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
8585
86 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
86 The rate-limit group this entry's limits apply to.
8787
8888 - `BetaOrganizationRateLimitModelGroup object`
8989
from line 199
199199
200200 - `models: array of string or null`
201201
202 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
202 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
203203
204204 - `rate_limit_id: string`
205205
from line 209
209209
210210 ID of the Workspace this entry applies to.
211211
212 - `group_type: "batch" or "files" or "model_group" or 3 more`
213
214 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
215
216 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
217
218 - `"batch"`
219
220 - `"files"`
221
222 - `"model_group"`
223
224 - `"skills"`
225
226 - `"token_count"`
227
228 - `"web_search"`
229
230212- `next_page: string or null`
231213
232214 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 217
235217
236218```bash
237219curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
238 -H 'anthropic-version: 2023-06-01' \
239 -H "X-Api-Key: $ANTHROPIC_API_KEY"
220 -H 'anthropic-version: 2026-10-21' \
221 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
240222```
241223
242224### Response (200)
from line 232
250232 "display_name": "display_name",
251233 "type": "model_group"
252234 },
253 "group_type": "batch",
254235 "limits": [
255236 {
256237 "org_limit": 0,
api/beta/organization/workspaces/rate_limits/update Changed · +4 / -23 lines
from line 85
8585
8686 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
8787
88 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
88 The rate-limit group this entry's limits apply to.
8989
9090 - `BetaOrganizationRateLimitModelGroup object`
9191
from line 201
201201
202202 - `models: array of string or null`
203203
204 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
204 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
205205
206206 - `rate_limit_id: string`
207207
from line 211
211211
212212 ID of the Workspace this entry applies to.
213213
214 - `group_type: "batch" or "files" or "model_group" or 3 more`
215
216 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
217
218 Deprecated: use `group.type` instead. 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`. Always equal to `group.type`.
219
220 - `"batch"`
221
222 - `"files"`
223
224 - `"model_group"`
225
226 - `"skills"`
227
228 - `"token_count"`
229
230 - `"web_search"`
231
232214## Example
233215
234216```bash
235217curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
236218 -H 'Content-Type: application/json' \
237 -H 'anthropic-version: 2023-06-01' \
238 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
219 -H 'anthropic-version: 2026-10-21' \
220 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
239221 -d '{
240222 "limits": [
241223 {
from line 237
255237 "display_name": "display_name",
256238 "type": "model_group"
257239 },
258 "group_type": "batch",
259240 "limits": [
260241 {
261242 "org_limit": 0,