Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

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

126-150 of 461, page 6 of 19

This capture is too large to show at once. Changes 126-150 of 461 are below, significant first; the rest are on the following screens.

api/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 371
371371```bash
372372curl https://api.anthropic.com/v1/organizations/workspaces \
373373 -H 'Content-Type: application/json' \
374 -H 'anthropic-version: 2023-06-01' \
375 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
374 -H 'anthropic-version: 2026-10-21' \
375 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
376376 -d '{
377377 "name": "x",
378378 "display_color": "#6C5BB9",
from line 528
528528 
529529```bash
530530curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
531 -H 'anthropic-version: 2023-06-01' \
532 -H "X-Api-Key: $ANTHROPIC_API_KEY"
531 -H 'anthropic-version: 2026-10-21' \
532 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
533533```
534534 
535535#### Response (200)
from line 731
731731```bash
732732curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
733733 -H 'Content-Type: application/json' \
734 -H 'anthropic-version: 2023-06-01' \
735 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
734 -H 'anthropic-version: 2026-10-21' \
735 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
736736 -d '{
737737 "display_color": "#6C5BB9",
738738 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
from line 886
886886```bash
887887curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/archive \
888888 -X POST \
889 -H 'anthropic-version: 2023-06-01' \
890 -H "X-Api-Key: $ANTHROPIC_API_KEY"
889 -H 'anthropic-version: 2026-10-21' \
890 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
891891```
892892 
893893#### Response (200)
from line 1242
12421242 
12431243 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
12441244 
1245 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1245 The rate-limit group this entry's limits apply to.
12461246 
12471247 - `OrganizationRateLimitModelGroup object`
12481248 
from line 1358
13581358 
13591359 - `models: array of string or null`
13601360 
1361 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1361 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
13621362 
13631363 - `rate_limit_id: string`
13641364 
from line 1368
13681368 
13691369 ID of the Workspace this entry applies to.
13701370 
1371 - `group_type: "batch" or "files" or "model_group" or 3 more`
1372 
1373 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1374 
1375 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`.
1376 
1377 - `"batch"`
1378 
1379 - `"files"`
1380 
1381 - `"model_group"`
1382 
1383 - `"skills"`
1384 
1385 - `"token_count"`
1386 
1387 - `"web_search"`
1388 
13891371- `next_page: string or null`
13901372 
13911373 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 1376
13941376 
13951377```bash
13961378curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
1397 -H 'anthropic-version: 2023-06-01' \
1398 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1379 -H 'anthropic-version: 2026-10-21' \
1380 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
13991381```
14001382 
14011383##### Response (200)
from line 1391
14091391 "display_name": "display_name",
14101392 "type": "model_group"
14111393 },
1412 "group_type": "batch",
14131394 "limits": [
14141395 {
14151396 "org_limit": 0,
from line 1495
15141495 
15151496 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
15161497 
1517 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1498 The rate-limit group this entry's limits apply to.
15181499 
15191500 - `OrganizationRateLimitModelGroup object`
15201501 
from line 1611
16301611 
16311612 - `models: array of string or null`
16321613 
1633 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1614 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
16341615 
16351616 - `rate_limit_id: string`
16361617 
from line 1621
16401621 
16411622 ID of the Workspace this entry applies to.
16421623 
1643 - `group_type: "batch" or "files" or "model_group" or 3 more`
1644 
1645 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1646 
1647 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`.
1648 
1649 - `"batch"`
1650 
1651 - `"files"`
1652 
1653 - `"model_group"`
1654 
1655 - `"skills"`
1656 
1657 - `"token_count"`
1658 
1659 - `"web_search"`
1660 
16611624#### Example
16621625 
16631626```bash
16641627curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
16651628 -H 'Content-Type: application/json' \
1666 -H 'anthropic-version: 2023-06-01' \
1667 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1629 -H 'anthropic-version: 2026-10-21' \
1630 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
16681631 -d '{
16691632 "limits": [
16701633 {
from line 1647
16841647 "display_name": "display_name",
16851648 "type": "model_group"
16861649 },
1687 "group_type": "batch",
16881650 "limits": [
16891651 {
16901652 "org_limit": 0,
from line 1756
17941756 
17951757```bash
17961758curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
1797 -H 'anthropic-version: 2023-06-01' \
1798 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1759 -H 'anthropic-version: 2026-10-21' \
1760 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
17991761```
18001762 
18011763##### Response (200)
from line 1855
18931855```bash
18941856curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
18951857 -H 'Content-Type: application/json' \
1896 -H 'anthropic-version: 2023-06-01' \
1897 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1858 -H 'anthropic-version: 2026-10-21' \
1859 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
18981860 -d '{
18991861 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
19001862 "workspace_role": "workspace_admin"
from line 1936
19741936 
19751937```bash
19761938curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
1977 -H 'anthropic-version: 2023-06-01' \
1978 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1939 -H 'anthropic-version: 2026-10-21' \
1940 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19791941```
19801942 
19811943##### Response (200)
from line 2030
20682030```bash
20692031curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
20702032 -H 'Content-Type: application/json' \
2071 -H 'anthropic-version: 2023-06-01' \
2072 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2033 -H 'anthropic-version: 2026-10-21' \
2034 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
20732035 -d '{
20742036 "workspace_role": "workspace_admin"
20752037 }'
from line 2095
21332095```bash
21342096curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
21352097 -X DELETE \
2136 -H 'anthropic-version: 2023-06-01' \
2137 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2098 -H 'anthropic-version: 2026-10-21' \
2099 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
21382100```
21392101 
21402102##### Response (200)
from line 2198
22362198 
22372199```bash
22382200curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
2239 -H 'anthropic-version: 2023-06-01' \
2240 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2201 -H 'anthropic-version: 2026-10-21' \
2202 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
22412203```
22422204 
22432205##### Response (200)
from line 2312
23502312```bash
23512313curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
23522314 -H 'Content-Type: application/json' \
2353 -H 'anthropic-version: 2023-06-01' \
2354 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2315 -H 'anthropic-version: 2026-10-21' \
2316 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
23552317 -d '{
23562318 "service_account_id": "service_account_id",
23572319 "workspace_role": "workspace_admin"
from line 2408
24462408 
24472409```bash
24482410curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
2449 -H 'anthropic-version: 2023-06-01' \
2450 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2411 -H 'anthropic-version: 2026-10-21' \
2412 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
24512413```
24522414 
24532415##### Response (200)
from line 2515
25532515```bash
25542516curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
25552517 -H 'Content-Type: application/json' \
2556 -H 'anthropic-version: 2023-06-01' \
2557 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2518 -H 'anthropic-version: 2026-10-21' \
2519 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
25582520 -d '{
25592521 "workspace_role": "workspace_admin"
25602522 }'
from line 2586
26242586```bash
26252587curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
26262588 -X DELETE \
2627 -H 'anthropic-version: 2023-06-01' \
2628 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2589 -H 'anthropic-version: 2026-10-21' \
2590 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
26292591```
26302592 
26312593##### Response (200)

api/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/organization/workspaces/rate_limits Changed · +10 / -66 lines

from line 85
8585 
8686 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup 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 - `OrganizationRateLimitModelGroup 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: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup 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 - `OrganizationRateLimitModelGroup 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: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup 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 - `OrganizationRateLimitModelGroup 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### Workspace Rate Limit Organization Source
709653 

api/organization/workspaces/rate_limits/list Changed · +4 / -23 lines

from line 83
8383 
8484 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup 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 - `OrganizationRateLimitModelGroup 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/organization/workspaces/rate_limits/update Changed · +4 / -23 lines

from line 85
8585 
8686 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup 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 - `OrganizationRateLimitModelGroup 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,

api/organization/workspaces/service_accounts Changed · +10 / -10 lines

from line 92
9292 
9393```bash
9494curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
95 -H 'anthropic-version: 2023-06-01' \
96 -H "X-Api-Key: $ANTHROPIC_API_KEY"
95 -H 'anthropic-version: 2026-10-21' \
96 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9797```
9898 
9999#### Response (200)
from line 206
206206```bash
207207curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
208208 -H 'Content-Type: application/json' \
209 -H 'anthropic-version: 2023-06-01' \
210 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
209 -H 'anthropic-version: 2026-10-21' \
210 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
211211 -d '{
212212 "service_account_id": "service_account_id",
213213 "workspace_role": "workspace_admin"
from line 302
302302 
303303```bash
304304curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
305 -H 'anthropic-version: 2023-06-01' \
306 -H "X-Api-Key: $ANTHROPIC_API_KEY"
305 -H 'anthropic-version: 2026-10-21' \
306 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
307307```
308308 
309309#### Response (200)
from line 409
409409```bash
410410curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
411411 -H 'Content-Type: application/json' \
412 -H 'anthropic-version: 2023-06-01' \
413 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
412 -H 'anthropic-version: 2026-10-21' \
413 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
414414 -d '{
415415 "workspace_role": "workspace_admin"
416416 }'
from line 480
480480```bash
481481curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
482482 -X DELETE \
483 -H 'anthropic-version: 2023-06-01' \
484 -H "X-Api-Key: $ANTHROPIC_API_KEY"
483 -H 'anthropic-version: 2026-10-21' \
484 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
485485```
486486 
487487#### Response (200)

api/skills Changed · +16 / -16 lines

from line 114
114114```bash
115115curl https://api.anthropic.com/v1/skills \
116116 -H 'Content-Type: multipart/form-data' \
117 -H 'anthropic-version: 2023-06-01' \
118 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
117 -H 'anthropic-version: 2026-10-21' \
118 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
119119 -F 'files[]=@/path/to/file'
120120```
121121 
from line 262
262262 
263263```bash
264264curl https://api.anthropic.com/v1/skills \
265 -H 'anthropic-version: 2023-06-01' \
266 -H "X-Api-Key: $ANTHROPIC_API_KEY"
265 -H 'anthropic-version: 2026-10-21' \
266 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
267267```
268268 
269269#### Response (200)
from line 389
389389 
390390```bash
391391curl https://api.anthropic.com/v1/skills/$SKILL_ID \
392 -H 'anthropic-version: 2023-06-01' \
393 -H "X-Api-Key: $ANTHROPIC_API_KEY"
392 -H 'anthropic-version: 2026-10-21' \
393 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
394394```
395395 
396396#### Response (200)
from line 460
460460```bash
461461curl https://api.anthropic.com/v1/skills/$SKILL_ID \
462462 -X DELETE \
463 -H 'anthropic-version: 2023-06-01' \
464 -H "X-Api-Key: $ANTHROPIC_API_KEY"
463 -H 'anthropic-version: 2026-10-21' \
464 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
465465```
466466 
467467#### Response (200)
from line 671
671671```bash
672672curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \
673673 -H 'Content-Type: multipart/form-data' \
674 -H 'anthropic-version: 2023-06-01' \
675 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
674 -H 'anthropic-version: 2026-10-21' \
675 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
676676 -F 'files[]=@/path/to/file'
677677```
678678 
from line 785
785785 
786786```bash
787787curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \
788 -H 'anthropic-version: 2023-06-01' \
789 -H "X-Api-Key: $ANTHROPIC_API_KEY"
788 -H 'anthropic-version: 2026-10-21' \
789 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
790790```
791791 
792792##### Response (200)
from line 887
887887 
888888```bash
889889curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \
890 -H 'anthropic-version: 2023-06-01' \
891 -H "X-Api-Key: $ANTHROPIC_API_KEY"
890 -H 'anthropic-version: 2026-10-21' \
891 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
892892```
893893 
894894##### Response (200)
from line 960
960960```bash
961961curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \
962962 -X DELETE \
963 -H 'anthropic-version: 2023-06-01' \
964 -H "X-Api-Key: $ANTHROPIC_API_KEY"
963 -H 'anthropic-version: 2026-10-21' \
964 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
965965```
966966 
967967##### Response (200)

api/skills/versions Changed · +8 / -8 lines

from line 88
8888```bash
8989curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \
9090 -H 'Content-Type: multipart/form-data' \
91 -H 'anthropic-version: 2023-06-01' \
92 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
91 -H 'anthropic-version: 2026-10-21' \
92 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
9393 -F 'files[]=@/path/to/file'
9494```
9595 
from line 202
202202 
203203```bash
204204curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \
205 -H 'anthropic-version: 2023-06-01' \
206 -H "X-Api-Key: $ANTHROPIC_API_KEY"
205 -H 'anthropic-version: 2026-10-21' \
206 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
207207```
208208 
209209#### Response (200)
from line 304
304304 
305305```bash
306306curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \
307 -H 'anthropic-version: 2023-06-01' \
308 -H "X-Api-Key: $ANTHROPIC_API_KEY"
307 -H 'anthropic-version: 2026-10-21' \
308 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
309309```
310310 
311311#### Response (200)
from line 377
377377```bash
378378curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \
379379 -X DELETE \
380 -H 'anthropic-version: 2023-06-01' \
381 -H "X-Api-Key: $ANTHROPIC_API_KEY"
380 -H 'anthropic-version: 2026-10-21' \
381 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
382382```
383383 
384384#### Response (200)

api/user_profiles Changed · +712 / -12 lines

### User Profile Enforcement Action ### User Profile Enforcement Action Ban ### User Profile Enforcement Action Next Step ### User Profile Enforcement Action Reason ### User Profile Enforcement Action Restriction ### User Profile Enforcement Status

The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.

from line 143
143143 
144144 format: date-time
145145 
146 - `enforcement_actions: array of UserProfileEnforcementAction`
147 
148 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
149 
150 - `UserProfileEnforcementActionRestriction object`
151 
152 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
153 
154 - `type: "restriction"`
155 
156 - `id: string`
157 
158 The action's ID (`enac_...`), stable while the action is open.
159 
160 - `action: UserProfileEnforcementActionNextStep or null`
161 
162 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
163 
164 - `expires_at: string or null`
165 
166 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
167 
168 format: date-time
169 
170 - `opened_at: string`
171 
172 When Anthropic opened the action, in RFC 3339 format.
173 
174 format: date-time
175 
176 - `reason: UserProfileEnforcementActionReason`
177 
178 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
179 
180 - `"unsupported_region"`
181 
182 - `"fraud_or_abuse"`
183 
184 - `"high_harm"`
185 
186 - `"usage_policy_violation"`
187 
188 - `"account_compromise"`
189 
190 - `"unspecified"`
191 
192 - `UserProfileEnforcementActionBan object`
193 
194 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
195 
196 - `type: "ban"`
197 
198 - `id: string`
199 
200 The action's ID (`enac_...`), stable while the action is open.
201 
202 - `action: UserProfileEnforcementActionNextStep or null`
203 
204 Always `null`: the end user cannot clear a ban.
205 
206 - `expires_at: string or null`
207 
208 Always `null`: a ban has no end date.
209 
210 format: date-time
211 
212 - `opened_at: string`
213 
214 When Anthropic opened the action, in RFC 3339 format.
215 
216 format: date-time
217 
218 - `reason: UserProfileEnforcementActionReason`
219 
220 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
221 
222 - `enforcement_status: UserProfileEnforcementStatus`
223 
224 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
225 
226 - `"unrestricted"`
227 
228 - `"pending"`
229 
230 - `"restricted"`
231 
232 - `"banned"`
233 
146234 - `external_user_details: UserProfileExternalUserDetails`
147235 
148236 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 372
284372```bash
285373curl https://api.anthropic.com/v1/user_profiles \
286374 -H 'Content-Type: application/json' \
287 -H 'anthropic-version: 2023-06-01' \
288 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
375 -H 'anthropic-version: 2026-10-21' \
376 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
289377 -d '{
290378 "external_user_details": {
291379 "account_status": "active",
from line 394
306394 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
307395 "access_type": "application",
308396 "created_at": "2026-03-15T10:00:00Z",
397 "enforcement_actions": [
398 {
399 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
400 "action": "verify",
401 "expires_at": null,
402 "opened_at": "2026-10-02T19:30:00Z",
403 "reason": "fraud_or_abuse",
404 "type": "restriction"
405 }
406 ],
407 "enforcement_status": "unrestricted",
309408 "external_user_details": {
310409 "account_status": "active",
311410 "country": "US",
from line 463
364463 
365464### Query parameters
366465 
466- `enforcement_status: optional array of UserProfileEnforcementStatus`
467 
468 Return only the user profiles whose `enforcement_status` is one of these values: `unrestricted`, `pending`, `restricted` or `banned`. Repeat the parameter to match any of several. With it set, a page may hold fewer than `limit` profiles, or none, and still carry a `next_page`: the service examines a bounded number of profiles per request, and only a null `next_page` means the listing is complete. Rejected with `invalid_request_error` under the `user-profiles-2026-09-04` and earlier beta headers. Fails with `overloaded_error` when a profile's enforcement actions cannot be read for the moment.
469 
470 - `"unrestricted"`
471 
472 - `"pending"`
473 
474 - `"restricted"`
475 
476 - `"banned"`
477 
367478- `limit: optional number`
368479 
369480 The maximum number of user profiles to return, from 1 to 100. Defaults to 20.
from line 556
445556 When this user profile was created, in RFC 3339 format.
446557 
447558 format: date-time
559 
560 - `enforcement_actions: array of UserProfileEnforcementAction`
561 
562 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
563 
564 - `UserProfileEnforcementActionRestriction object`
565 
566 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
567 
568 - `type: "restriction"`
569 
570 - `id: string`
571 
572 The action's ID (`enac_...`), stable while the action is open.
573 
574 - `action: UserProfileEnforcementActionNextStep or null`
575 
576 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
577 
578 - `expires_at: string or null`
579 
580 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
581 
582 format: date-time
583 
584 - `opened_at: string`
585 
586 When Anthropic opened the action, in RFC 3339 format.
587 
588 format: date-time
589 
590 - `reason: UserProfileEnforcementActionReason`
591 
592 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
593 
594 - `"unsupported_region"`
595 
596 - `"fraud_or_abuse"`
597 
598 - `"high_harm"`
599 
600 - `"usage_policy_violation"`
601 
602 - `"account_compromise"`
603 
604 - `"unspecified"`
605 
606 - `UserProfileEnforcementActionBan object`
607 
608 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
609 
610 - `type: "ban"`
611 
612 - `id: string`
613 
614 The action's ID (`enac_...`), stable while the action is open.
615 
616 - `action: UserProfileEnforcementActionNextStep or null`
617 
618 Always `null`: the end user cannot clear a ban.
619 
620 - `expires_at: string or null`
621 
622 Always `null`: a ban has no end date.
623 
624 format: date-time
625 
626 - `opened_at: string`
627 
628 When Anthropic opened the action, in RFC 3339 format.
629 
630 format: date-time
631 
632 - `reason: UserProfileEnforcementActionReason`
633 
634 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
635 
636 - `enforcement_status: UserProfileEnforcementStatus`
637 
638 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
639 
640 - `"unrestricted"`
641 
642 - `"pending"`
643 
644 - `"restricted"`
645 
646 - `"banned"`
448647 
449648 - `external_user_details: UserProfileExternalUserDetails`
450649 
from line 789
590789 
591790```bash
592791curl https://api.anthropic.com/v1/user_profiles \
593 -H 'anthropic-version: 2023-06-01' \
594 -H "X-Api-Key: $ANTHROPIC_API_KEY"
792 -H 'anthropic-version: 2026-10-21' \
793 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
595794```
596795 
597796#### Response (200)
from line 802
603802 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
604803 "access_type": "application",
605804 "created_at": "2026-03-15T10:00:00Z",
805 "enforcement_actions": [
806 {
807 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
808 "action": "verify",
809 "expires_at": null,
810 "opened_at": "2026-10-02T19:30:00Z",
811 "reason": "fraud_or_abuse",
812 "type": "restriction"
813 }
814 ],
815 "enforcement_status": "unrestricted",
606816 "external_user_details": {
607817 "account_status": "active",
608818 "country": "US",
from line 916
706916 
707917 format: date-time
708918 
919 - `enforcement_actions: array of UserProfileEnforcementAction`
920 
921 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
922 
923 - `UserProfileEnforcementActionRestriction object`
924 
925 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
926 
927 - `type: "restriction"`
928 
929 - `id: string`
930 
931 The action's ID (`enac_...`), stable while the action is open.
932 
933 - `action: UserProfileEnforcementActionNextStep or null`
934 
935 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
936 
937 - `expires_at: string or null`
938 
939 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
940 
941 format: date-time
942 
943 - `opened_at: string`
944 
945 When Anthropic opened the action, in RFC 3339 format.
946 
947 format: date-time
948 
949 - `reason: UserProfileEnforcementActionReason`
950 
951 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
952 
953 - `"unsupported_region"`
954 
955 - `"fraud_or_abuse"`
956 
957 - `"high_harm"`
958 
959 - `"usage_policy_violation"`
960 
961 - `"account_compromise"`
962 
963 - `"unspecified"`
964 
965 - `UserProfileEnforcementActionBan object`
966 
967 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
968 
969 - `type: "ban"`
970 
971 - `id: string`
972 
973 The action's ID (`enac_...`), stable while the action is open.
974 
975 - `action: UserProfileEnforcementActionNextStep or null`
976 
977 Always `null`: the end user cannot clear a ban.
978 
979 - `expires_at: string or null`
980 
981 Always `null`: a ban has no end date.
982 
983 format: date-time
984 
985 - `opened_at: string`
986 
987 When Anthropic opened the action, in RFC 3339 format.
988 
989 format: date-time
990 
991 - `reason: UserProfileEnforcementActionReason`
992 
993 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
994 
995 - `enforcement_status: UserProfileEnforcementStatus`
996 
997 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
998 
999 - `"unrestricted"`
1000 
1001 - `"pending"`
1002 
1003 - `"restricted"`
1004 
1005 - `"banned"`
1006 
7091007 - `external_user_details: UserProfileExternalUserDetails`
7101008 
7111009 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 1144
8461144 
8471145```bash
8481146curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
849 -H 'anthropic-version: 2023-06-01' \
850 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1147 -H 'anthropic-version: 2026-10-21' \
1148 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
8511149```
8521150 
8531151#### Response (200)
from line 1155
8571155 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
8581156 "access_type": "application",
8591157 "created_at": "2026-03-15T10:00:00Z",
1158 "enforcement_actions": [
1159 {
1160 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
1161 "action": "verify",
1162 "expires_at": null,
1163 "opened_at": "2026-10-02T19:30:00Z",
1164 "reason": "fraud_or_abuse",
1165 "type": "restriction"
1166 }
1167 ],
1168 "enforcement_status": "unrestricted",
8601169 "external_user_details": {
8611170 "account_status": "active",
8621171 "country": "US",
from line 1360
10511360 
10521361 format: date-time
10531362 
1363 - `enforcement_actions: array of UserProfileEnforcementAction`
1364 
1365 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
1366 
1367 - `UserProfileEnforcementActionRestriction object`
1368 
1369 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
1370 
1371 - `type: "restriction"`
1372 
1373 - `id: string`
1374 
1375 The action's ID (`enac_...`), stable while the action is open.
1376 
1377 - `action: UserProfileEnforcementActionNextStep or null`
1378 
1379 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
1380 
1381 - `expires_at: string or null`
1382 
1383 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
1384 
1385 format: date-time
1386 
1387 - `opened_at: string`
1388 
1389 When Anthropic opened the action, in RFC 3339 format.
1390 
1391 format: date-time
1392 
1393 - `reason: UserProfileEnforcementActionReason`
1394 
1395 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
1396 
1397 - `"unsupported_region"`
1398 
1399 - `"fraud_or_abuse"`
1400 
1401 - `"high_harm"`
1402 
1403 - `"usage_policy_violation"`
1404 
1405 - `"account_compromise"`
1406 
1407 - `"unspecified"`
1408 
1409 - `UserProfileEnforcementActionBan object`
1410 
1411 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
1412 
1413 - `type: "ban"`
1414 
1415 - `id: string`
1416 
1417 The action's ID (`enac_...`), stable while the action is open.
1418 
1419 - `action: UserProfileEnforcementActionNextStep or null`
1420 
1421 Always `null`: the end user cannot clear a ban.
1422 
1423 - `expires_at: string or null`
1424 
1425 Always `null`: a ban has no end date.
1426 
1427 format: date-time
1428 
1429 - `opened_at: string`
1430 
1431 When Anthropic opened the action, in RFC 3339 format.
1432 
1433 format: date-time
1434 
1435 - `reason: UserProfileEnforcementActionReason`
1436 
1437 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
1438 
1439 - `enforcement_status: UserProfileEnforcementStatus`
1440 
1441 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
1442 
1443 - `"unrestricted"`
1444 
1445 - `"pending"`
1446 
1447 - `"restricted"`
1448 
1449 - `"banned"`
1450 
10541451 - `external_user_details: UserProfileExternalUserDetails`
10551452 
10561453 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 1589
11921589```bash
11931590curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
11941591 -H 'Content-Type: application/json' \
1195 -H 'anthropic-version: 2023-06-01' \
1196 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1592 -H 'anthropic-version: 2026-10-21' \
1593 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
11971594 -d '{
11981595 "external_user_details": {
11991596 "account_status": "suspended"
from line 1605
12081605 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
12091606 "access_type": "application",
12101607 "created_at": "2026-03-15T10:00:00Z",
1608 "enforcement_actions": [
1609 {
1610 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
1611 "action": "verify",
1612 "expires_at": null,
1613 "opened_at": "2026-10-02T19:30:00Z",
1614 "reason": "fraud_or_abuse",
1615 "type": "restriction"
1616 }
1617 ],
1618 "enforcement_status": "unrestricted",
12111619 "external_user_details": {
12121620 "account_status": "active",
12131621 "country": "US",
from line 1709
13011709```bash
13021710curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
13031711 -X DELETE \
1304 -H 'anthropic-version: 2023-06-01' \
1305 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1712 -H 'anthropic-version: 2026-10-21' \
1713 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
13061714```
13071715 
13081716#### Response (200)
from line 1770
13621770 
13631771 format: date-time
13641772 
1773 - `enforcement_actions: array of UserProfileEnforcementAction`
1774 
1775 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
1776 
1777 - `UserProfileEnforcementActionRestriction object`
1778 
1779 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
1780 
1781 - `type: "restriction"`
1782 
1783 - `id: string`
1784 
1785 The action's ID (`enac_...`), stable while the action is open.
1786 
1787 - `action: UserProfileEnforcementActionNextStep or null`
1788 
1789 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
1790 
1791 - `expires_at: string or null`
1792 
1793 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
1794 
1795 format: date-time
1796 
1797 - `opened_at: string`
1798 
1799 When Anthropic opened the action, in RFC 3339 format.
1800 
1801 format: date-time
1802 
1803 - `reason: UserProfileEnforcementActionReason`
1804 
1805 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
1806 
1807 - `"unsupported_region"`
1808 
1809 - `"fraud_or_abuse"`
1810 
1811 - `"high_harm"`
1812 
1813 - `"usage_policy_violation"`
1814 
1815 - `"account_compromise"`
1816 
1817 - `"unspecified"`
1818 
1819 - `UserProfileEnforcementActionBan object`
1820 
1821 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
1822 
1823 - `type: "ban"`
1824 
1825 - `id: string`
1826 
1827 The action's ID (`enac_...`), stable while the action is open.
1828 
1829 - `action: UserProfileEnforcementActionNextStep or null`
1830 
1831 Always `null`: the end user cannot clear a ban.
1832 
1833 - `expires_at: string or null`
1834 
1835 Always `null`: a ban has no end date.
1836 
1837 format: date-time
1838 
1839 - `opened_at: string`
1840 
1841 When Anthropic opened the action, in RFC 3339 format.
1842 
1843 format: date-time
1844 
1845 - `reason: UserProfileEnforcementActionReason`
1846 
1847 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
1848 
1849 - `enforcement_status: UserProfileEnforcementStatus`
1850 
1851 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
1852 
1853 - `"unrestricted"`
1854 
1855 - `"pending"`
1856 
1857 - `"restricted"`
1858 
1859 - `"banned"`
1860 
13651861 - `external_user_details: UserProfileExternalUserDetails`
13661862 
13671863 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 2129
16332129 - `"rejected"`
16342130 
16352131 The profile is not in the program and nothing is awaited: Anthropic has declined, or has withdrawn an earlier approval.
2132 
2133### User Profile Enforcement Action
2134 
2135- `UserProfileEnforcementAction = UserProfileEnforcementActionRestriction or UserProfileEnforcementActionBan`
2136 
2137 A limit Anthropic has placed on the entity this profile represents and not yet resolved, discriminated by `type`: `restriction` or `ban`. More types may be added; read a `type` you do not recognize as `restriction`.
2138 
2139 - `UserProfileEnforcementActionRestriction object`
2140 
2141 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
2142 
2143 - `type: "restriction"`
2144 
2145 - `id: string`
2146 
2147 The action's ID (`enac_...`), stable while the action is open.
2148 
2149 - `action: UserProfileEnforcementActionNextStep or null`
2150 
2151 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
2152 
2153 - `expires_at: string or null`
2154 
2155 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
2156 
2157 format: date-time
2158 
2159 - `opened_at: string`
2160 
2161 When Anthropic opened the action, in RFC 3339 format.
2162 
2163 format: date-time
2164 
2165 - `reason: UserProfileEnforcementActionReason`
2166 
2167 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
2168 
2169 - `"unsupported_region"`
2170 
2171 - `"fraud_or_abuse"`
2172 
2173 - `"high_harm"`
2174 
2175 - `"usage_policy_violation"`
2176 
2177 - `"account_compromise"`
2178 
2179 - `"unspecified"`
2180 
2181 - `UserProfileEnforcementActionBan object`
2182 
2183 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
2184 
2185 - `type: "ban"`
2186 
2187 - `id: string`
2188 
2189 The action's ID (`enac_...`), stable while the action is open.
2190 
2191 - `action: UserProfileEnforcementActionNextStep or null`
2192 
2193 Always `null`: the end user cannot clear a ban.
2194 
2195 - `expires_at: string or null`
2196 
2197 Always `null`: a ban has no end date.
2198 
2199 format: date-time
2200 
2201 - `opened_at: string`
2202 
2203 When Anthropic opened the action, in RFC 3339 format.
2204 
2205 format: date-time
2206 
2207 - `reason: UserProfileEnforcementActionReason`
2208 
2209 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
2210 
2211### User Profile Enforcement Action Ban
2212 
2213- `UserProfileEnforcementActionBan object`
2214 
2215 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
2216 
2217 - `type: "ban"`
2218 
2219 - `id: string`
2220 
2221 The action's ID (`enac_...`), stable while the action is open.
2222 
2223 - `action: UserProfileEnforcementActionNextStep or null`
2224 
2225 Always `null`: the end user cannot clear a ban.
2226 
2227 - `expires_at: string or null`
2228 
2229 Always `null`: a ban has no end date.
2230 
2231 format: date-time
2232 
2233 - `opened_at: string`
2234 
2235 When Anthropic opened the action, in RFC 3339 format.
2236 
2237 format: date-time
2238 
2239 - `reason: UserProfileEnforcementActionReason`
2240 
2241 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
2242 
2243 - `"unsupported_region"`
2244 
2245 - `"fraud_or_abuse"`
2246 
2247 - `"high_harm"`
2248 
2249 - `"usage_policy_violation"`
2250 
2251 - `"account_compromise"`
2252 
2253 - `"unspecified"`
2254 
2255### User Profile Enforcement Action Next Step
2256 
2257- `UserProfileEnforcementActionNextStep = "verify"`
2258 
2259 The next step on this enforcement action: `verify` means the end user can clear the action by passing an identity check. More values may be added; read a value you do not recognize as `null`.
2260 
2261### User Profile Enforcement Action Reason
2262 
2263- `UserProfileEnforcementActionReason = "unsupported_region" or "fraud_or_abuse" or "high_harm" or 3 more`
2264 
2265 Why Anthropic placed this enforcement action: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`. More values may be added; read a value you do not recognize as `unspecified`.
2266 
2267 - `"unsupported_region"`
2268 
2269 - `"fraud_or_abuse"`
2270 
2271 - `"high_harm"`
2272 
2273 - `"usage_policy_violation"`
2274 
2275 - `"account_compromise"`
2276 
2277 - `"unspecified"`
2278 
2279### User Profile Enforcement Action Restriction
2280 
2281- `UserProfileEnforcementActionRestriction object`
2282 
2283 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
2284 
2285 - `type: "restriction"`
2286 
2287 - `id: string`
2288 
2289 The action's ID (`enac_...`), stable while the action is open.
2290 
2291 - `action: UserProfileEnforcementActionNextStep or null`
2292 
2293 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
2294 
2295 - `expires_at: string or null`
2296 
2297 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
2298 
2299 format: date-time
2300 
2301 - `opened_at: string`
2302 
2303 When Anthropic opened the action, in RFC 3339 format.
2304 
2305 format: date-time
2306 
2307 - `reason: UserProfileEnforcementActionReason`
2308 
2309 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
2310 
2311 - `"unsupported_region"`
2312 
2313 - `"fraud_or_abuse"`
2314 
2315 - `"high_harm"`
2316 
2317 - `"usage_policy_violation"`
2318 
2319 - `"account_compromise"`
2320 
2321 - `"unspecified"`
2322 
2323### User Profile Enforcement Status
2324 
2325- `UserProfileEnforcementStatus = "unrestricted" or "pending" or "restricted" or "banned"`
2326 
2327 Anthropic's enforcement status of this profile: `unrestricted`, `pending`, `restricted` or `banned`. More values may be added; read a value you do not recognize as `restricted`.
2328 
2329 - `"unrestricted"`
2330 
2331 - `"pending"`
2332 
2333 - `"restricted"`
2334 
2335 - `"banned"`
16362336 
16372337### User Profile External User Account Status
16382338 
from line 2663
19632663```bash
19642664curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/action_urls \
19652665 -H 'Content-Type: application/json' \
1966 -H 'anthropic-version: 2023-06-01' \
1967 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2666 -H 'anthropic-version: 2026-10-21' \
2667 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
19682668 -d '{
19692669 "action": {
19702670 "type": "enroll_end_user"
19712671 

api/user_profiles/create Changed · +101 / -2 lines

from line 141
141141 
142142 format: date-time
143143 
144 - `enforcement_actions: array of UserProfileEnforcementAction`
145 
146 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
147 
148 - `UserProfileEnforcementActionRestriction object`
149 
150 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
151 
152 - `type: "restriction"`
153 
154 - `id: string`
155 
156 The action's ID (`enac_...`), stable while the action is open.
157 
158 - `action: UserProfileEnforcementActionNextStep or null`
159 
160 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
161 
162 - `expires_at: string or null`
163 
164 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
165 
166 format: date-time
167 
168 - `opened_at: string`
169 
170 When Anthropic opened the action, in RFC 3339 format.
171 
172 format: date-time
173 
174 - `reason: UserProfileEnforcementActionReason`
175 
176 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
177 
178 - `"unsupported_region"`
179 
180 - `"fraud_or_abuse"`
181 
182 - `"high_harm"`
183 
184 - `"usage_policy_violation"`
185 
186 - `"account_compromise"`
187 
188 - `"unspecified"`
189 
190 - `UserProfileEnforcementActionBan object`
191 
192 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
193 
194 - `type: "ban"`
195 
196 - `id: string`
197 
198 The action's ID (`enac_...`), stable while the action is open.
199 
200 - `action: UserProfileEnforcementActionNextStep or null`
201 
202 Always `null`: the end user cannot clear a ban.
203 
204 - `expires_at: string or null`
205 
206 Always `null`: a ban has no end date.
207 
208 format: date-time
209 
210 - `opened_at: string`
211 
212 When Anthropic opened the action, in RFC 3339 format.
213 
214 format: date-time
215 
216 - `reason: UserProfileEnforcementActionReason`
217 
218 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
219 
220 - `enforcement_status: UserProfileEnforcementStatus`
221 
222 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
223 
224 - `"unrestricted"`
225 
226 - `"pending"`
227 
228 - `"restricted"`
229 
230 - `"banned"`
231 
144232 - `external_user_details: UserProfileExternalUserDetails`
145233 
146234 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 370
282370```bash
283371curl https://api.anthropic.com/v1/user_profiles \
284372 -H 'Content-Type: application/json' \
285 -H 'anthropic-version: 2023-06-01' \
286 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
373 -H 'anthropic-version: 2026-10-21' \
374 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
287375 -d '{
288376 "external_user_details": {
289377 "account_status": "active",
from line 392
304392 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
305393 "access_type": "application",
306394 "created_at": "2026-03-15T10:00:00Z",
395 "enforcement_actions": [
396 {
397 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
398 "action": "verify",
399 "expires_at": null,
400 "opened_at": "2026-10-02T19:30:00Z",
401 "reason": "fraud_or_abuse",
402 "type": "restriction"
403 }
404 ],
405 "enforcement_status": "unrestricted",
307406 "external_user_details": {
308407 "account_status": "active",
309408 "country": "US",

api/user_profiles/list Changed · +113 / -2 lines

from line 11
1111 
1212## Query parameters
1313 
14- `enforcement_status: optional array of UserProfileEnforcementStatus`
15 
16 Return only the user profiles whose `enforcement_status` is one of these values: `unrestricted`, `pending`, `restricted` or `banned`. Repeat the parameter to match any of several. With it set, a page may hold fewer than `limit` profiles, or none, and still carry a `next_page`: the service examines a bounded number of profiles per request, and only a null `next_page` means the listing is complete. Rejected with `invalid_request_error` under the `user-profiles-2026-09-04` and earlier beta headers. Fails with `overloaded_error` when a profile's enforcement actions cannot be read for the moment.
17 
18 - `"unrestricted"`
19 
20 - `"pending"`
21 
22 - `"restricted"`
23 
24 - `"banned"`
25 
1426- `limit: optional number`
1527 
1628 The maximum number of user profiles to return, from 1 to 100. Defaults to 20.
from line 105
93105 
94106 format: date-time
95107 
108 - `enforcement_actions: array of UserProfileEnforcementAction`
109 
110 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
111 
112 - `UserProfileEnforcementActionRestriction object`
113 
114 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
115 
116 - `type: "restriction"`
117 
118 - `id: string`
119 
120 The action's ID (`enac_...`), stable while the action is open.
121 
122 - `action: UserProfileEnforcementActionNextStep or null`
123 
124 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
125 
126 - `expires_at: string or null`
127 
128 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
129 
130 format: date-time
131 
132 - `opened_at: string`
133 
134 When Anthropic opened the action, in RFC 3339 format.
135 
136 format: date-time
137 
138 - `reason: UserProfileEnforcementActionReason`
139 
140 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
141 
142 - `"unsupported_region"`
143 
144 - `"fraud_or_abuse"`
145 
146 - `"high_harm"`
147 
148 - `"usage_policy_violation"`
149 
150 - `"account_compromise"`
151 
152 - `"unspecified"`
153 
154 - `UserProfileEnforcementActionBan object`
155 
156 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
157 
158 - `type: "ban"`
159 
160 - `id: string`
161 
162 The action's ID (`enac_...`), stable while the action is open.
163 
164 - `action: UserProfileEnforcementActionNextStep or null`
165 
166 Always `null`: the end user cannot clear a ban.
167 
168 - `expires_at: string or null`
169 
170 Always `null`: a ban has no end date.
171 
172 format: date-time
173 
174 - `opened_at: string`
175 
176 When Anthropic opened the action, in RFC 3339 format.
177 
178 format: date-time
179 
180 - `reason: UserProfileEnforcementActionReason`
181 
182 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
183 
184 - `enforcement_status: UserProfileEnforcementStatus`
185 
186 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
187 
188 - `"unrestricted"`
189 
190 - `"pending"`
191 
192 - `"restricted"`
193 
194 - `"banned"`
195 
96196 - `external_user_details: UserProfileExternalUserDetails`
97197 
98198 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 337
237337 
238338```bash
239339curl https://api.anthropic.com/v1/user_profiles \
240 -H 'anthropic-version: 2023-06-01' \
241 -H "X-Api-Key: $ANTHROPIC_API_KEY"
340 -H 'anthropic-version: 2026-10-21' \
341 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
242342```
243343 
244344### Response (200)
from line 350
250350 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
251351 "access_type": "application",
252352 "created_at": "2026-03-15T10:00:00Z",
353 "enforcement_actions": [
354 {
355 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
356 "action": "verify",
357 "expires_at": null,
358 "opened_at": "2026-10-02T19:30:00Z",
359 "reason": "fraud_or_abuse",
360 "type": "restriction"
361 }
362 ],
363 "enforcement_status": "unrestricted",
253364 "external_user_details": {
254365 "account_status": "active",
255366 "country": "US",

api/user_profiles/retrieve Changed · +101 / -2 lines

from line 63
6363 
6464 format: date-time
6565 
66 - `enforcement_actions: array of UserProfileEnforcementAction`
67 
68 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
69 
70 - `UserProfileEnforcementActionRestriction object`
71 
72 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
73 
74 - `type: "restriction"`
75 
76 - `id: string`
77 
78 The action's ID (`enac_...`), stable while the action is open.
79 
80 - `action: UserProfileEnforcementActionNextStep or null`
81 
82 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
83 
84 - `expires_at: string or null`
85 
86 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
87 
88 format: date-time
89 
90 - `opened_at: string`
91 
92 When Anthropic opened the action, in RFC 3339 format.
93 
94 format: date-time
95 
96 - `reason: UserProfileEnforcementActionReason`
97 
98 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
99 
100 - `"unsupported_region"`
101 
102 - `"fraud_or_abuse"`
103 
104 - `"high_harm"`
105 
106 - `"usage_policy_violation"`
107 
108 - `"account_compromise"`
109 
110 - `"unspecified"`
111 
112 - `UserProfileEnforcementActionBan object`
113 
114 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
115 
116 - `type: "ban"`
117 
118 - `id: string`
119 
120 The action's ID (`enac_...`), stable while the action is open.
121 
122 - `action: UserProfileEnforcementActionNextStep or null`
123 
124 Always `null`: the end user cannot clear a ban.
125 
126 - `expires_at: string or null`
127 
128 Always `null`: a ban has no end date.
129 
130 format: date-time
131 
132 - `opened_at: string`
133 
134 When Anthropic opened the action, in RFC 3339 format.
135 
136 format: date-time
137 
138 - `reason: UserProfileEnforcementActionReason`
139 
140 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
141 
142 - `enforcement_status: UserProfileEnforcementStatus`
143 
144 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
145 
146 - `"unrestricted"`
147 
148 - `"pending"`
149 
150 - `"restricted"`
151 
152 - `"banned"`
153 
66154 - `external_user_details: UserProfileExternalUserDetails`
67155 
68156 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 291
203291 
204292```bash
205293curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
206 -H 'anthropic-version: 2023-06-01' \
207 -H "X-Api-Key: $ANTHROPIC_API_KEY"
294 -H 'anthropic-version: 2026-10-21' \
295 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
208296```
209297 
210298### Response (200)
from line 302
214302 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
215303 "access_type": "application",
216304 "created_at": "2026-03-15T10:00:00Z",
305 "enforcement_actions": [
306 {
307 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
308 "action": "verify",
309 "expires_at": null,
310 "opened_at": "2026-10-02T19:30:00Z",
311 "reason": "fraud_or_abuse",
312 "type": "restriction"
313 }
314 ],
315 "enforcement_status": "unrestricted",
217316 "external_user_details": {
218317 "account_status": "active",
219318 "country": "US",

api/user_profiles/update Changed · +101 / -2 lines

from line 147
147147 
148148 format: date-time
149149 
150 - `enforcement_actions: array of UserProfileEnforcementAction`
151 
152 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
153 
154 - `UserProfileEnforcementActionRestriction object`
155 
156 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
157 
158 - `type: "restriction"`
159 
160 - `id: string`
161 
162 The action's ID (`enac_...`), stable while the action is open.
163 
164 - `action: UserProfileEnforcementActionNextStep or null`
165 
166 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
167 
168 - `expires_at: string or null`
169 
170 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
171 
172 format: date-time
173 
174 - `opened_at: string`
175 
176 When Anthropic opened the action, in RFC 3339 format.
177 
178 format: date-time
179 
180 - `reason: UserProfileEnforcementActionReason`
181 
182 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
183 
184 - `"unsupported_region"`
185 
186 - `"fraud_or_abuse"`
187 
188 - `"high_harm"`
189 
190 - `"usage_policy_violation"`
191 
192 - `"account_compromise"`
193 
194 - `"unspecified"`
195 
196 - `UserProfileEnforcementActionBan object`
197 
198 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
199 
200 - `type: "ban"`
201 
202 - `id: string`
203 
204 The action's ID (`enac_...`), stable while the action is open.
205 
206 - `action: UserProfileEnforcementActionNextStep or null`
207 
208 Always `null`: the end user cannot clear a ban.
209 
210 - `expires_at: string or null`
211 
212 Always `null`: a ban has no end date.
213 
214 format: date-time
215 
216 - `opened_at: string`
217 
218 When Anthropic opened the action, in RFC 3339 format.
219 
220 format: date-time
221 
222 - `reason: UserProfileEnforcementActionReason`
223 
224 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
225 
226 - `enforcement_status: UserProfileEnforcementStatus`
227 
228 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
229 
230 - `"unrestricted"`
231 
232 - `"pending"`
233 
234 - `"restricted"`
235 
236 - `"banned"`
237 
150238 - `external_user_details: UserProfileExternalUserDetails`
151239 
152240 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 376
288376```bash
289377curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
290378 -H 'Content-Type: application/json' \
291 -H 'anthropic-version: 2023-06-01' \
292 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
379 -H 'anthropic-version: 2026-10-21' \
380 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
293381 -d '{
294382 "external_user_details": {
295383 "account_status": "suspended"
from line 392
304392 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
305393 "access_type": "application",
306394 "created_at": "2026-03-15T10:00:00Z",
395 "enforcement_actions": [
396 {
397 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
398 "action": "verify",
399 "expires_at": null,
400 "opened_at": "2026-10-02T19:30:00Z",
401 "reason": "fraud_or_abuse",
402 "type": "restriction"
403 }
404 ],
405 "enforcement_status": "unrestricted",
307406 "external_user_details": {
308407 "account_status": "active",
309408 "country": "US",

api/beta/agents/archive Changed · +2 / -2 lines

from line 932
932932```bash
933933curl https://api.anthropic.com/v1/agents/$AGENT_ID/archive \
934934 -X POST \
935 -H 'anthropic-version: 2023-06-01' \
935 -H 'anthropic-version: 2026-10-21' \
936936 -H 'anthropic-beta: managed-agents-2026-04-01' \
937 -H "X-Api-Key: $ANTHROPIC_API_KEY"
937 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
938938```
939939 
940940### Response (200)

api/beta/agents/create Changed · +2 / -2 lines

from line 1872
18721872```bash
18731873curl https://api.anthropic.com/v1/agents \
18741874 -H 'Content-Type: application/json' \
1875 -H 'anthropic-version: 2023-06-01' \
1875 -H 'anthropic-version: 2026-10-21' \
18761876 -H 'anthropic-beta: managed-agents-2026-04-01' \
1877 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1877 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
18781878 -d '{
18791879 "model": "claude-opus-5-5",
18801880 "name": "My First Agent",

api/beta/agents/list Changed · +2 / -2 lines

from line 957
957957 
958958```bash
959959curl https://api.anthropic.com/v1/agents \
960 -H 'anthropic-version: 2023-06-01' \
960 -H 'anthropic-version: 2026-10-21' \
961961 -H 'anthropic-beta: managed-agents-2026-04-01' \
962 -H "X-Api-Key: $ANTHROPIC_API_KEY"
962 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
963963```
964964 
965965### Response (200)

api/beta/agents/retrieve Changed · +2 / -2 lines

from line 939
939939 
940940```bash
941941curl https://api.anthropic.com/v1/agents/$AGENT_ID \
942 -H 'anthropic-version: 2023-06-01' \
942 -H 'anthropic-version: 2026-10-21' \
943943 -H 'anthropic-beta: managed-agents-2026-04-01' \
944 -H "X-Api-Key: $ANTHROPIC_API_KEY"
944 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
945945```
946946 
947947### Response (200)

api/beta/agents/update Changed · +2 / -2 lines

from line 1884
18841884```bash
18851885curl https://api.anthropic.com/v1/agents/$AGENT_ID \
18861886 -H 'Content-Type: application/json' \
1887 -H 'anthropic-version: 2023-06-01' \
1887 -H 'anthropic-version: 2026-10-21' \
18881888 -H 'anthropic-beta: managed-agents-2026-04-01' \
1889 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1889 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
18901890 -d '{
18911891 "description": "updated",
18921892 "system": "You are a general-purpose agent that can research, write code, run commands, and use connected tools to complete the user'\''s task end to end.",

api/beta/agents/versions Changed · +2 / -2 lines

from line 949
949949 
950950```bash
951951curl https://api.anthropic.com/v1/agents/$AGENT_ID/versions \
952 -H 'anthropic-version: 2023-06-01' \
952 -H 'anthropic-version: 2026-10-21' \
953953 -H 'anthropic-beta: managed-agents-2026-04-01' \
954 -H "X-Api-Key: $ANTHROPIC_API_KEY"
954 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
955955```
956956 
957957#### Response (200)

api/beta/agents/versions/list Changed · +2 / -2 lines

from line 947
947947 
948948```bash
949949curl https://api.anthropic.com/v1/agents/$AGENT_ID/versions \
950 -H 'anthropic-version: 2023-06-01' \
950 -H 'anthropic-version: 2026-10-21' \
951951 -H 'anthropic-beta: managed-agents-2026-04-01' \
952 -H "X-Api-Key: $ANTHROPIC_API_KEY"
952 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
953953```
954954 
955955### Response (200)

api/beta/deployment_runs/list Changed · +2 / -2 lines

from line 421
421421 
422422```bash
423423curl https://api.anthropic.com/v1/deployment_runs \
424 -H 'anthropic-version: 2023-06-01' \
424 -H 'anthropic-version: 2026-10-21' \
425425 -H 'anthropic-beta: managed-agents-2026-04-01' \
426 -H "X-Api-Key: $ANTHROPIC_API_KEY"
426 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
427427```
428428 
429429### Response (200)

api/beta/deployment_runs/retrieve Changed · +2 / -2 lines

from line 367
367367 
368368```bash
369369curl https://api.anthropic.com/v1/deployment_runs/$DEPLOYMENT_RUN_ID \
370 -H 'anthropic-version: 2023-06-01' \
370 -H 'anthropic-version: 2026-10-21' \
371371 -H 'anthropic-beta: managed-agents-2026-04-01' \
372 -H "X-Api-Key: $ANTHROPIC_API_KEY"
372 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
373373```
374374 
375375### Response (200)

api/beta/deployments/archive Changed · +2 / -2 lines

from line 664
664664```bash
665665curl https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID/archive \
666666 -X POST \
667 -H 'anthropic-version: 2023-06-01' \
667 -H 'anthropic-version: 2026-10-21' \
668668 -H 'anthropic-beta: managed-agents-2026-04-01' \
669 -H "X-Api-Key: $ANTHROPIC_API_KEY"
669 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
670670```
671671 
672672### Response (200)

api/beta/deployments/create Changed · +2 / -2 lines

from line 1060
10601060```bash
10611061curl https://api.anthropic.com/v1/deployments \
10621062 -H 'Content-Type: application/json' \
1063 -H 'anthropic-version: 2023-06-01' \
1063 -H 'anthropic-version: 2026-10-21' \
10641064 -H 'anthropic-beta: managed-agents-2026-04-01' \
1065 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1065 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
10661066 -d '{
10671067 "agent": "string",
10681068 "environment_id": "x",

api/beta/deployments/list Changed · +2 / -2 lines

from line 705
705705 
706706```bash
707707curl https://api.anthropic.com/v1/deployments \
708 -H 'anthropic-version: 2023-06-01' \
708 -H 'anthropic-version: 2026-10-21' \
709709 -H 'anthropic-beta: managed-agents-2026-04-01' \
710 -H "X-Api-Key: $ANTHROPIC_API_KEY"
710 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
711711```
712712 
713713### Response (200)
Feedback