One read of Claude Developer Platformapi-20261104T020710Z
159 pages moved out of 847 read.
Pages moved
159
significant first
Pages read
847
in this capture
Captured
02:07 UTC
Corpus hash
61cf340e1136
corpus-hash
What this read moved
76-100 of 159, page 4 of 7This capture is too large to show at once. Changes 76-100 of 159 are below, significant first; the rest are on the following screens.
managed-agents/define-outcomes Changed · +6 / -6 lines
from line 85
8585 ```bash cURL
8686 curl -fsSL https://api.anthropic.com/v1/files \
8787 -H "x-api-key: $ANTHROPIC_API_KEY" \
88 -H "anthropic-version: 2023-06-01" \
88 -H "anthropic-version: 2026-10-21" \
8989 -H "anthropic-beta: managed-agents-2026-04-01" \
9090 -F file=@/tmp/rubric.md
9191 ```
from line 317
317317 # Create a session
318318 curl -fsSL https://api.anthropic.com/v1/sessions \
319319 -H "x-api-key: $ANTHROPIC_API_KEY" \
320 -H "anthropic-version: 2023-06-01" \
320 -H "anthropic-version: 2026-10-21" \
321321 -H "anthropic-beta: managed-agents-2026-04-01" \
322322 --json '{
323323 "agent": "'"$AGENT_ID"'",
from line 329
329329 # The agent starts working when it receives the event
330330 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID/events" \
331331 -H "x-api-key: $ANTHROPIC_API_KEY" \
332 -H "anthropic-version: 2023-06-01" \
332 -H "anthropic-version: 2026-10-21" \
333333 -H "anthropic-beta: managed-agents-2026-04-01" \
334334 --json '{
335335 "events": [
from line 636
636636 ```bash cURL
637637 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID" \
638638 -H "x-api-key: $ANTHROPIC_API_KEY" \
639 -H "anthropic-version: 2023-06-01" \
639 -H "anthropic-version: 2026-10-21" \
640640 -H "anthropic-beta: managed-agents-2026-04-01"
641641 ```
642642
from line 721
721721 # scope_id filtering requires the managed-agents beta
722722 curl -fsSL "https://api.anthropic.com/v1/files?scope_id=$SESSION_ID" \
723723 -H "x-api-key: $ANTHROPIC_API_KEY" \
724 -H "anthropic-version: 2023-06-01" \
724 -H "anthropic-version: 2026-10-21" \
725725 -H "anthropic-beta: managed-agents-2026-04-01"
726726
727727 # Download a file by the ID from the list
728728 curl -fsSL "https://api.anthropic.com/v1/files/$FILE_ID/content" \
729729 -H "x-api-key: $ANTHROPIC_API_KEY" \
730 -H "anthropic-version: 2023-06-01" \
730 -H "anthropic-version: 2026-10-21" \
731731 -H "anthropic-beta: managed-agents-2026-04-01" \
732732 -o /tmp/output.txt
733733 ```
managed-agents/dreams Changed · +6 / -6 lines
from line 49
4949 ```bash cURL
5050 curl -s https://api.anthropic.com/v1/dreams \
5151 -H "x-api-key: $ANTHROPIC_API_KEY" \
52 -H "anthropic-version: 2023-06-01" \
52 -H "anthropic-version: 2026-10-21" \
5353 -H "anthropic-beta: managed-agents-2026-04-01,dreaming-2026-04-21" \
5454 -H "content-type: application/json" \
5555 -d '{
from line 214
214214 ```bash cURL
215215 curl -s "https://api.anthropic.com/v1/dreams/$dream_id" \
216216 -H "x-api-key: $ANTHROPIC_API_KEY" \
217 -H "anthropic-version: 2023-06-01" \
217 -H "anthropic-version: 2026-10-21" \
218218 -H "anthropic-beta: managed-agents-2026-04-01,dreaming-2026-04-21"
219219 ```
220220
from line 309
309309 # $output_store_id is the memory_store_id of the completed dream's memory_store output
310310 curl -s https://api.anthropic.com/v1/sessions \
311311 -H "x-api-key: $ANTHROPIC_API_KEY" \
312 -H "anthropic-version: 2023-06-01" \
312 -H "anthropic-version: 2026-10-21" \
313313 -H "anthropic-beta: managed-agents-2026-04-01" \
314314 -H "content-type: application/json" \
315315 -d '{
from line 464
464464 ```bash cURL
465465 curl -s -X POST "https://api.anthropic.com/v1/dreams/$dream_id/cancel" \
466466 -H "x-api-key: $ANTHROPIC_API_KEY" \
467 -H "anthropic-version: 2023-06-01" \
467 -H "anthropic-version: 2026-10-21" \
468468 -H "anthropic-beta: managed-agents-2026-04-01,dreaming-2026-04-21"
469469 ```
470470
from line 512
512512 ```bash cURL
513513 curl -s -X POST "https://api.anthropic.com/v1/dreams/$dream_id/archive" \
514514 -H "x-api-key: $ANTHROPIC_API_KEY" \
515 -H "anthropic-version: 2023-06-01" \
515 -H "anthropic-version: 2026-10-21" \
516516 -H "anthropic-beta: managed-agents-2026-04-01,dreaming-2026-04-21"
517517 ```
518518
from line 562
562562 ```bash cURL
563563 curl -s "https://api.anthropic.com/v1/dreams?limit=20" \
564564 -H "x-api-key: $ANTHROPIC_API_KEY" \
565 -H "anthropic-version: 2023-06-01" \
565 -H "anthropic-version: 2026-10-21" \
566566 -H "anthropic-beta: managed-agents-2026-04-01,dreaming-2026-04-21"
567567 ```
568568
managed-agents/environments Changed · +8 / -8 lines
from line 40
4040 ```bash cURL
4141 curl -fsS https://api.anthropic.com/v1/environments \
4242 -H "x-api-key: $ANTHROPIC_API_KEY" \
43 -H "anthropic-version: 2023-06-01" \
43 -H "anthropic-version: 2026-10-21" \
4444 -H "anthropic-beta: managed-agents-2026-04-01" \
4545 -H "content-type: application/json" \
4646 -d '{
from line 178
178178 ```bash cURL
179179 curl -fsS https://api.anthropic.com/v1/sessions \
180180 -H "x-api-key: $ANTHROPIC_API_KEY" \
181 -H "anthropic-version: 2023-06-01" \
181 -H "anthropic-version: 2026-10-21" \
182182 -H "anthropic-beta: managed-agents-2026-04-01" \
183183 -H "content-type: application/json" \
184184 -d '{
from line 257
257257 ```bash cURL
258258 curl -fsS https://api.anthropic.com/v1/environments \
259259 -H "x-api-key: $ANTHROPIC_API_KEY" \
260 -H "anthropic-version: 2023-06-01" \
260 -H "anthropic-version: 2026-10-21" \
261261 -H "anthropic-beta: managed-agents-2026-04-01" \
262262 -H "content-type: application/json" \
263263 -d '{
from line 448
448448 ```bash cURL
449449 curl -fsS https://api.anthropic.com/v1/environments \
450450 -H "x-api-key: $ANTHROPIC_API_KEY" \
451 -H "anthropic-version: 2023-06-01" \
451 -H "anthropic-version: 2026-10-21" \
452452 -H "anthropic-beta: managed-agents-2026-04-01" \
453453 -H "content-type: application/json" \
454454 -d '{
from line 673
673673 # List environments
674674 curl -fsS https://api.anthropic.com/v1/environments \
675675 -H "x-api-key: $ANTHROPIC_API_KEY" \
676 -H "anthropic-version: 2023-06-01" \
676 -H "anthropic-version: 2026-10-21" \
677677 -H "anthropic-beta: managed-agents-2026-04-01"
678678
679679 # Retrieve a specific environment
680680 curl -fsS "https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID" \
681681 -H "x-api-key: $ANTHROPIC_API_KEY" \
682 -H "anthropic-version: 2023-06-01" \
682 -H "anthropic-version: 2026-10-21" \
683683 -H "anthropic-beta: managed-agents-2026-04-01"
684684
685685 # Archive an environment (read-only, existing sessions continue)
686686 curl -fsS -X POST "https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/archive" \
687687 -H "x-api-key: $ANTHROPIC_API_KEY" \
688 -H "anthropic-version: 2023-06-01" \
688 -H "anthropic-version: 2026-10-21" \
689689 -H "anthropic-beta: managed-agents-2026-04-01"
690690
691691 # Delete an environment (only if no sessions reference it)
692692 curl -fsS -X DELETE "https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID" \
693693 -H "x-api-key: $ANTHROPIC_API_KEY" \
694 -H "anthropic-version: 2023-06-01" \
694 -H "anthropic-version: 2026-10-21" \
695695 -H "anthropic-beta: managed-agents-2026-04-01"
696696 ```
697697
managed-agents/events-and-streaming Changed · +7 / -7 lines
from line 58
5858 curl --fail-with-body -sS -N \
5959 "https://api.anthropic.com/v1/sessions/$SESSION_ID/events/stream?beta=true" \
6060 -H "x-api-key: $ANTHROPIC_API_KEY" \
61 -H "anthropic-version: 2023-06-01" \
61 -H "anthropic-version: 2026-10-21" \
6262 -H "anthropic-beta: managed-agents-2026-04-01" \
6363 -H "accept: text/event-stream"
6464 ```
from line 521
521521 ```bash cURL
522522 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
523523 -H "x-api-key: $ANTHROPIC_API_KEY" \
524 -H "anthropic-version: 2023-06-01" \
524 -H "anthropic-version: 2026-10-21" \
525525 -H "anthropic-beta: managed-agents-2026-04-01" \
526526 -H "content-type: application/json" \
527527 -d '{
from line 1100
11001100 # In production, pass the stored ID of the session you want to resume.
11011101 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
11021102 -H "x-api-key: $ANTHROPIC_API_KEY" \
1103 -H "anthropic-version: 2023-06-01" \
1103 -H "anthropic-version: 2026-10-21" \
11041104 -H "anthropic-beta: managed-agents-2026-04-01" \
11051105 -H "content-type: application/json" \
11061106 -d '{
from line 1266
12661266 # Interrupt with a new direction:
12671267 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
12681268 -H "x-api-key: $ANTHROPIC_API_KEY" \
1269 -H "anthropic-version: 2023-06-01" \
1269 -H "anthropic-version: 2026-10-21" \
12701270 -H "anthropic-beta: managed-agents-2026-04-01" \
12711271 -H "content-type: application/json" \
12721272 -d '{
from line 1446
14461446 ```bash cURL
14471447 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
14481448 -H "x-api-key: $ANTHROPIC_API_KEY" \
1449 -H "anthropic-version: 2023-06-01" \
1449 -H "anthropic-version: 2026-10-21" \
14501450 -H "anthropic-beta: managed-agents-2026-04-01" \
14511451 -H "content-type: application/json"
14521452 ```
from line 1513
15131513 ```bash cURL
15141514 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true&types[]=agent.tool_use&types[]=agent.tool_result" \
15151515 -H "x-api-key: $ANTHROPIC_API_KEY" \
1516 -H "anthropic-version: 2023-06-01" \
1516 -H "anthropic-version: 2026-10-21" \
15171517 -H "anthropic-beta: managed-agents-2026-04-01"
15181518 ```
15191519
from line 1612
16121612 ```bash cURL
16131613 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
16141614 -H "x-api-key: $ANTHROPIC_API_KEY" \
1615 -H "anthropic-version: 2023-06-01" \
1615 -H "anthropic-version: 2026-10-21" \
16161616 -H "anthropic-beta: managed-agents-2026-04-01" \
16171617 -H "content-type: application/json" \
16181618 -d '{
managed-agents/files Changed · +8 / -8 lines
from line 45
4545 ```bash cURL
4646 curl --fail-with-body -sS https://api.anthropic.com/v1/files \
4747 -H "x-api-key: $ANTHROPIC_API_KEY" \
48 -H "anthropic-version: 2023-06-01" \
48 -H "anthropic-version: 2026-10-21" \
4949 -H "anthropic-beta: managed-agents-2026-04-01" \
5151 ```
from line 122
122122 ```bash cURL
123123 curl --fail-with-body -sS https://api.anthropic.com/v1/sessions \
124124 -H "x-api-key: $ANTHROPIC_API_KEY" \
125 -H "anthropic-version: 2023-06-01" \
125 -H "anthropic-version: 2026-10-21" \
126126 -H "anthropic-beta: managed-agents-2026-04-01" \
127127 -H "content-type: application/json" \
128128 -d '{
from line 266
266266 ```bash cURL
267267 curl -fsSL https://api.anthropic.com/v1/sessions \
268268 -H "x-api-key: $ANTHROPIC_API_KEY" \
269 -H "anthropic-version: 2023-06-01" \
269 -H "anthropic-version: 2026-10-21" \
270270 -H "anthropic-beta: managed-agents-2026-04-01" \
271271 -H "content-type: application/json" \
272272 -d '{
from line 391
391391 ```bash cURL
392392 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources" \
393393 -H "x-api-key: $ANTHROPIC_API_KEY" \
394 -H "anthropic-version: 2023-06-01" \
394 -H "anthropic-version: 2026-10-21" \
395395 -H "anthropic-beta: managed-agents-2026-04-01" \
396396 -H "content-type: application/json" \
397397 -d '{
from line 485
485485 ```bash cURL
486486 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources" \
487487 -H "x-api-key: $ANTHROPIC_API_KEY" \
488 -H "anthropic-version: 2023-06-01" \
488 -H "anthropic-version: 2026-10-21" \
489489 -H "anthropic-beta: managed-agents-2026-04-01"
490490
491491 curl --fail-with-body -sS -X DELETE "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID" \
492492 -H "x-api-key: $ANTHROPIC_API_KEY" \
493 -H "anthropic-version: 2023-06-01" \
493 -H "anthropic-version: 2026-10-21" \
494494 -H "anthropic-beta: managed-agents-2026-04-01"
495495 ```
496496
from line 600
600600 # List files associated with a session
601601 curl -fsSL "https://api.anthropic.com/v1/files?scope_id=sesn_abc123" \
602602 -H "x-api-key: $ANTHROPIC_API_KEY" \
603 -H "anthropic-version: 2023-06-01" \
603 -H "anthropic-version: 2026-10-21" \
604604 -H "anthropic-beta: managed-agents-2026-04-01"
605605
606606 # Download a file
607607 curl -fsSL "https://api.anthropic.com/v1/files/$FILE_ID/content" \
608608 -H "x-api-key: $ANTHROPIC_API_KEY" \
609 -H "anthropic-version: 2023-06-01" \
609 -H "anthropic-version: 2026-10-21" \
610610 -o output.txt
611611 ```
612612
managed-agents/github Changed · +5 / -5 lines
from line 47
4747 ```bash cURL
4848 curl -fsS https://api.anthropic.com/v1/agents \
4949 -H "x-api-key: $ANTHROPIC_API_KEY" \
50 -H "anthropic-version: 2023-06-01" \
50 -H "anthropic-version: 2026-10-21" \
5151 -H "anthropic-beta: managed-agents-2026-04-01" \
5252 -H "content-type: application/json" \
5353 -d '{
from line 316
316316 ```bash cURL
317317 curl -fsS https://api.anthropic.com/v1/sessions \
318318 -H "x-api-key: $ANTHROPIC_API_KEY" \
319 -H "anthropic-version: 2023-06-01" \
319 -H "anthropic-version: 2026-10-21" \
320320 -H "anthropic-beta: managed-agents-2026-04-01" \
321321 -H "content-type: application/json" \
322322 -d @- <<JSON
from line 491
491491 ```bash cURL
492492 curl -fsS https://api.anthropic.com/v1/sessions \
493493 -H "x-api-key: $ANTHROPIC_API_KEY" \
494 -H "anthropic-version: 2023-06-01" \
494 -H "anthropic-version: 2026-10-21" \
495495 -H "anthropic-beta: managed-agents-2026-04-01" \
496496 -H "content-type: application/json" \
497497 -d @- <<JSON
from line 661
661661 # List resources on the session
662662 curl -fsS "https://api.anthropic.com/v1/sessions/$session_id/resources" \
663663 -H "x-api-key: $ANTHROPIC_API_KEY" \
664 -H "anthropic-version: 2023-06-01" \
664 -H "anthropic-version: 2026-10-21" \
665665 -H "anthropic-beta: managed-agents-2026-04-01" \
666666 -H "content-type: application/json"
667667
from line 801
801801 ```bash cURL
802802 curl -fsS "https://api.anthropic.com/v1/sessions/$session_id/events" \
803803 -H "x-api-key: $ANTHROPIC_API_KEY" \
804 -H "anthropic-version: 2023-06-01" \
804 -H "anthropic-version: 2026-10-21" \
805805 -H "anthropic-beta: managed-agents-2026-04-01" \
806806 -H "content-type: application/json" \
807807 -d '{
managed-agents/memory Changed · +14 / -14 lines
from line 62
6262 ```bash cURL
6363 curl -s https://api.anthropic.com/v1/memory_stores \
6464 -H "x-api-key: $ANTHROPIC_API_KEY" \
65 -H "anthropic-version: 2023-06-01" \
65 -H "anthropic-version: 2026-10-21" \
6666 -H "anthropic-beta: agent-memory-2026-07-22" \
6767 -H "content-type: application/json" \
6868 -d '{
from line 166
166166 ```bash cURL
167167 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memories" \
168168 -H "x-api-key: $ANTHROPIC_API_KEY" \
169 -H "anthropic-version: 2023-06-01" \
169 -H "anthropic-version: 2026-10-21" \
170170 -H "anthropic-beta: agent-memory-2026-07-22" \
171171 -H "content-type: application/json" \
172172 -d '{
from line 258
258258 ```bash cURL
259259 curl -s https://api.anthropic.com/v1/sessions \
260260 -H "x-api-key: $ANTHROPIC_API_KEY" \
261 -H "anthropic-version: 2023-06-01" \
261 -H "anthropic-version: 2026-10-21" \
262262 -H "anthropic-beta: managed-agents-2026-04-01" \
263263 -H "content-type: application/json" \
264264 -d '{
from line 439
439439 ```bash cURL
440440 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memories?path_prefix=/" \
441441 -H "x-api-key: $ANTHROPIC_API_KEY" \
442 -H "anthropic-version: 2023-06-01" \
442 -H "anthropic-version: 2026-10-21" \
443443 -H "anthropic-beta: agent-memory-2026-07-22"
444444 ```
445445
from line 537
537537 ```bash cURL
538538 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memories/$mem_id" \
539539 -H "x-api-key: $ANTHROPIC_API_KEY" \
540 -H "anthropic-version: 2023-06-01" \
540 -H "anthropic-version: 2026-10-21" \
541541 -H "anthropic-beta: agent-memory-2026-07-22"
542542 ```
543543
from line 614
614614 ```bash cURL
615615 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memories" \
616616 -H "x-api-key: $ANTHROPIC_API_KEY" \
617 -H "anthropic-version: 2023-06-01" \
617 -H "anthropic-version: 2026-10-21" \
618618 -H "anthropic-beta: agent-memory-2026-07-22" \
619619 -H "content-type: application/json" \
620620 -d '{
from line 700
700700 ```bash cURL
701701 curl -s -X POST "https://api.anthropic.com/v1/memory_stores/$store_id/memories/$mem_id" \
702702 -H "x-api-key: $ANTHROPIC_API_KEY" \
703 -H "anthropic-version: 2023-06-01" \
703 -H "anthropic-version: 2026-10-21" \
704704 -H "anthropic-beta: agent-memory-2026-07-22" \
705705 -H "content-type: application/json" \
706706 -d '{"path": "/archive/2026_q1_formatting.md"}'
from line 783
783783 ```bash cURL
784784 curl -s -X POST "https://api.anthropic.com/v1/memory_stores/$store_id/memories/$mem_id" \
785785 -H "x-api-key: $ANTHROPIC_API_KEY" \
786 -H "anthropic-version: 2023-06-01" \
786 -H "anthropic-version: 2026-10-21" \
787787 -H "anthropic-beta: agent-memory-2026-07-22" \
788788 -H "content-type: application/json" \
789789 -d '{
from line 879
879879 ```bash cURL
880880 curl -s -X DELETE "https://api.anthropic.com/v1/memory_stores/$store_id/memories/$mem_id" \
881881 -H "x-api-key: $ANTHROPIC_API_KEY" \
882 -H "anthropic-version: 2023-06-01" \
882 -H "anthropic-version: 2026-10-21" \
883883 -H "anthropic-beta: agent-memory-2026-07-22"
884884 ```
885885
from line 959
959959 ```bash cURL
960960 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memory_versions?memory_id=$mem_id" \
961961 -H "x-api-key: $ANTHROPIC_API_KEY" \
962 -H "anthropic-version: 2023-06-01" \
962 -H "anthropic-version: 2026-10-21" \
963963 -H "anthropic-beta: agent-memory-2026-07-22"
964964 ```
965965
from line 1077
10771077 ```bash cURL
10781078 curl -s "https://api.anthropic.com/v1/memory_stores/$store_id/memory_versions/$version_id" \
10791079 -H "x-api-key: $ANTHROPIC_API_KEY" \
1080 -H "anthropic-version: 2023-06-01" \
1080 -H "anthropic-version: 2026-10-21" \
10811081 -H "anthropic-beta: agent-memory-2026-07-22"
10821082 ```
10831083
from line 1159
11591159 ```bash cURL
11601160 curl -s -X POST "https://api.anthropic.com/v1/memory_stores/$store_id/memory_versions/$version_id/redact" \
11611161 -H "x-api-key: $ANTHROPIC_API_KEY" \
1162 -H "anthropic-version: 2023-06-01" \
1162 -H "anthropic-version: 2026-10-21" \
11631163 -H "anthropic-beta: agent-memory-2026-07-22" \
11641164 -H "content-type: application/json" \
11651165 -d '{}'
from line 1238
12381238 ```bash cURL
12391239 curl -s "https://api.anthropic.com/v1/memory_stores?include_archived=true" \
12401240 -H "x-api-key: $ANTHROPIC_API_KEY" \
1241 -H "anthropic-version: 2023-06-01" \
1241 -H "anthropic-version: 2026-10-21" \
12421242 -H "anthropic-beta: agent-memory-2026-07-22"
12431243 ```
12441244
from line 1313
13131313 ```bash cURL
13141314 curl -s -X POST "https://api.anthropic.com/v1/memory_stores/$store_id/archive" \
13151315 -H "x-api-key: $ANTHROPIC_API_KEY" \
1316 -H "anthropic-version: 2023-06-01" \
1316 -H "anthropic-version: 2026-10-21" \
13171317 -H "anthropic-beta: agent-memory-2026-07-22"
13181318 ```
13191319
managed-agents/multiagent-orchestration Changed · +7 / -7 lines
from line 138
138138 ```bash cURL
139139 curl -fsS https://api.anthropic.com/v1/agents \
140140 -H "x-api-key: $ANTHROPIC_API_KEY" \
141 -H "anthropic-version: 2023-06-01" \
141 -H "anthropic-version: 2026-10-21" \
142142 -H "anthropic-beta: managed-agents-2026-04-01" \
143143 -H "content-type: application/json" \
144144 -d '{
from line 381
381381 ```bash cURL
382382 curl -fsSL https://api.anthropic.com/v1/sessions \
383383 -H "x-api-key: $ANTHROPIC_API_KEY" \
384 -H "anthropic-version: 2023-06-01" \
384 -H "anthropic-version: 2026-10-21" \
385385 -H "anthropic-beta: managed-agents-2026-04-01" \
386386 -H "content-type: application/json" \
387387 -d '{
from line 470
470470 # Create the researcher
471471 curl --fail-with-body -sS https://api.anthropic.com/v1/agents \
472472 -H "x-api-key: $ANTHROPIC_API_KEY" \
473 -H "anthropic-version: 2023-06-01" \
473 -H "anthropic-version: 2026-10-21" \
474474 -H "anthropic-beta: managed-agents-2026-04-01" \
475475 -H "content-type: application/json" \
476476 -d '{
from line 483
483483 # Create the agent that delegates to it: research_agent_id is the ID from the first response
484484 curl --fail-with-body -sS https://api.anthropic.com/v1/agents \
485485 -H "x-api-key: $ANTHROPIC_API_KEY" \
486 -H "anthropic-version: 2023-06-01" \
486 -H "anthropic-version: 2026-10-21" \
487487 -H "anthropic-beta: managed-agents-2026-04-01" \
488488 -H "content-type: application/json" \
489489 -d '{
from line 757
757757 ```bash cURL
758758 curl --fail-with-body -sS https://api.anthropic.com/v1/sessions \
759759 -H "x-api-key: $ANTHROPIC_API_KEY" \
760 -H "anthropic-version: 2023-06-01" \
760 -H "anthropic-version: 2026-10-21" \
761761 -H "anthropic-beta: managed-agents-2026-04-01" \
762762 -H "content-type: application/json" \
763763 -d '{
from line 874
874874 ```bash cURL
875875 curl -fsS https://api.anthropic.com/v1/agents \
876876 -H "x-api-key: $ANTHROPIC_API_KEY" \
877 -H "anthropic-version: 2023-06-01" \
877 -H "anthropic-version: 2026-10-21" \
878878 -H "anthropic-beta: managed-agents-2026-04-01" \
879879 -H "content-type: application/json" \
880880 -d '{
from line 1156
11561156 ```bash cURL
11571157 curl -fsS https://api.anthropic.com/v1/agents \
11581158 -H "x-api-key: $ANTHROPIC_API_KEY" \
1159 -H "anthropic-version: 2023-06-01" \
1159 -H "anthropic-version: 2026-10-21" \
11601160 -H "anthropic-beta: managed-agents-2026-04-01" \
11611161 -H "content-type: application/json" \
11621162 -d '{
managed-agents/permission-policies Changed · +6 / -6 lines
from line 61
6161 ```bash cURL
6262 curl -fsSL https://api.anthropic.com/v1/agents \
6363 -H "x-api-key: $ANTHROPIC_API_KEY" \
64 -H "anthropic-version: 2023-06-01" \
64 -H "anthropic-version: 2026-10-21" \
6565 -H "anthropic-beta: managed-agents-2026-04-01" \
6666 -H "content-type: application/json" \
6767 -d '{
from line 237
237237 ```bash cURL
238238 curl -fsSL https://api.anthropic.com/v1/agents \
239239 -H "x-api-key: $ANTHROPIC_API_KEY" \
240 -H "anthropic-version: 2023-06-01" \
240 -H "anthropic-version: 2026-10-21" \
241241 -H "anthropic-beta: managed-agents-2026-04-01" \
242242 -H "content-type: application/json" \
243243 -d '{
from line 469
469469 ```bash cURL
470470 curl -fsSL https://api.anthropic.com/v1/agents \
471471 -H "x-api-key: $ANTHROPIC_API_KEY" \
472 -H "anthropic-version: 2023-06-01" \
472 -H "anthropic-version: 2026-10-21" \
473473 -H "anthropic-beta: managed-agents-2026-04-01" \
474474 -H "content-type: application/json" \
475475 -d '{
from line 671
671671 ```bash cURL
672672 curl -fsSL https://api.anthropic.com/v1/agents \
673673 -H "x-api-key: $ANTHROPIC_API_KEY" \
674 -H "anthropic-version: 2023-06-01" \
674 -H "anthropic-version: 2026-10-21" \
675675 -H "anthropic-beta: managed-agents-2026-04-01" \
676676 -H "content-type: application/json" \
677677 -d '{
from line 1069
10691069 # Allow the tool to run
10701070 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID/events" \
10711071 -H "x-api-key: $ANTHROPIC_API_KEY" \
1072 -H "anthropic-version: 2023-06-01" \
1072 -H "anthropic-version: 2026-10-21" \
10731073 -H "anthropic-beta: managed-agents-2026-04-01" \
10741074 -H "content-type: application/json" \
10751075 -d '{
from line 1085
10851085 # Or deny it with an explanation
10861086 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID/events" \
10871087 -H "x-api-key: $ANTHROPIC_API_KEY" \
1088 -H "anthropic-version: 2023-06-01" \
1088 -H "anthropic-version: 2026-10-21" \
10891089 -H "anthropic-beta: managed-agents-2026-04-01" \
10901090 -H "content-type: application/json" \
10911091 -d '{
managed-agents/quickstart Changed · +3 / -3 lines
from line 167
167167 ```bash cURL
168168 curl -sS --fail-with-body https://api.anthropic.com/v1/agents \
169169 -H "x-api-key: $ANTHROPIC_API_KEY" \
170 -H "anthropic-version: 2023-06-01" \
170 -H "anthropic-version: 2026-10-21" \
171171 -H "anthropic-beta: managed-agents-2026-04-01" \
172172 -H "content-type: application/json" \
173173 -d '{
from line 455
455455 ```bash cURL
456456 curl -sS --fail-with-body https://api.anthropic.com/v1/environments \
457457 -H "x-api-key: $ANTHROPIC_API_KEY" \
458 -H "anthropic-version: 2023-06-01" \
458 -H "anthropic-version: 2026-10-21" \
459459 -H "anthropic-beta: managed-agents-2026-04-01" \
460460 -H "content-type: application/json" \
461461 -d '{
from line 630
630630 ```bash cURL
631631 curl -sS --fail-with-body https://api.anthropic.com/v1/sessions \
632632 -H "x-api-key: $ANTHROPIC_API_KEY" \
633 -H "anthropic-version: 2023-06-01" \
633 -H "anthropic-version: 2026-10-21" \
634634 -H "anthropic-beta: managed-agents-2026-04-01" \
635635 -H "content-type: application/json" \
636636 -d '{
managed-agents/scheduled-deployments Changed · +8 / -8 lines
from line 54
5454 ```bash cURL
5555 curl --fail-with-body -sS "https://api.anthropic.com/v1/deployments?beta=true" \
5656 -H "x-api-key: $ANTHROPIC_API_KEY" \
57 -H "anthropic-version: 2023-06-01" \
57 -H "anthropic-version: 2026-10-21" \
5858 -H "anthropic-beta: managed-agents-2026-04-01" \
5959 -H "content-type: application/json" \
6060 -d '{
from line 288
288288 ```bash cURL
289289 curl --fail-with-body -sS "https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID?beta=true" \
290290 -H "x-api-key: $ANTHROPIC_API_KEY" \
291 -H "anthropic-version: 2023-06-01" \
291 -H "anthropic-version: 2026-10-21" \
292292 -H "anthropic-beta: managed-agents-2026-04-01" \
293293 -H "content-type: application/json" \
294294 -d '{
from line 423
423423 ```bash cURL
424424 curl --fail-with-body -sS "https://api.anthropic.com/v1/deployment_runs?beta=true&deployment_id=$DEPLOYMENT_ID" \
425425 -H "x-api-key: $ANTHROPIC_API_KEY" \
426 -H "anthropic-version: 2023-06-01" \
426 -H "anthropic-version: 2026-10-21" \
427427 -H "anthropic-beta: managed-agents-2026-04-01"
428428 ```
429429
from line 508
508508 ```bash cURL
509509 curl --fail-with-body -sS "https://api.anthropic.com/v1/deployment_runs?beta=true&deployment_id=$DEPLOYMENT_ID&has_error=true" \
510510 -H "x-api-key: $ANTHROPIC_API_KEY" \
511 -H "anthropic-version: 2023-06-01" \
511 -H "anthropic-version: 2026-10-21" \
512512 -H "anthropic-beta: managed-agents-2026-04-01"
513513 ```
514514
from line 619
619619 ```bash cURL
620620 curl --fail-with-body -sS -X POST "https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID/pause?beta=true" \
621621 -H "x-api-key: $ANTHROPIC_API_KEY" \
622 -H "anthropic-version: 2023-06-01" \
622 -H "anthropic-version: 2026-10-21" \
623623 -H "anthropic-beta: managed-agents-2026-04-01"
624624 ```
625625
from line 664
664664 ```bash cURL
665665 curl --fail-with-body -sS -X POST "https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID/unpause?beta=true" \
666666 -H "x-api-key: $ANTHROPIC_API_KEY" \
667 -H "anthropic-version: 2023-06-01" \
667 -H "anthropic-version: 2026-10-21" \
668668 -H "anthropic-beta: managed-agents-2026-04-01"
669669 ```
670670
from line 709
709709 ```bash cURL
710710 curl --fail-with-body -sS -X POST "https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID/archive?beta=true" \
711711 -H "x-api-key: $ANTHROPIC_API_KEY" \
712 -H "anthropic-version: 2023-06-01" \
712 -H "anthropic-version: 2026-10-21" \
713713 -H "anthropic-beta: managed-agents-2026-04-01"
714714 ```
715715
from line 762
762762 ```bash cURL
763763 curl --fail-with-body -sS -X POST "https://api.anthropic.com/v1/deployments/$DEPLOYMENT_ID/run?beta=true" \
764764 -H "x-api-key: $ANTHROPIC_API_KEY" \
765 -H "anthropic-version: 2023-06-01" \
765 -H "anthropic-version: 2026-10-21" \
766766 -H "anthropic-beta: managed-agents-2026-04-01"
767767 ```
768768
managed-agents/session-operations Changed · +5 / -5 lines
from line 62
6262 ```bash cURL
6363 curl -sS --fail-with-body "https://api.anthropic.com/v1/sessions/$SESSION_ID" \
6464 -H "x-api-key: $ANTHROPIC_API_KEY" \
65 -H "anthropic-version: 2023-06-01" \
65 -H "anthropic-version: 2026-10-21" \
6666 -H "anthropic-beta: managed-agents-2026-04-01" \
6767 -H "content-type: application/json" \
6868 -d '{
from line 229
229229 ```bash cURL
230230 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID" \
231231 -H "x-api-key: $ANTHROPIC_API_KEY" \
232 -H "anthropic-version: 2023-06-01" \
232 -H "anthropic-version: 2026-10-21" \
233233 -H "anthropic-beta: managed-agents-2026-04-01"
234234 ```
235235
from line 289
289289 curl -sS --fail-with-body \
290290 "https://api.anthropic.com/v1/sessions?agent_id=$AGENT_ID&limit=1" \
291291 -H "x-api-key: $ANTHROPIC_API_KEY" \
292 -H "anthropic-version: 2023-06-01" \
292 -H "anthropic-version: 2026-10-21" \
293293 -H "anthropic-beta: managed-agents-2026-04-01"
294294 # Pass next_page back as the page query parameter to fetch the next page,
295295 # or prev_page to go back.
from line 521
521521 ```bash cURL
522522 curl -fsSL -X POST "https://api.anthropic.com/v1/sessions/$SESSION_ID/archive" \
523523 -H "x-api-key: $ANTHROPIC_API_KEY" \
524 -H "anthropic-version: 2023-06-01" \
524 -H "anthropic-version: 2026-10-21" \
525525 -H "anthropic-beta: managed-agents-2026-04-01"
526526 ```
527527
from line 571
571571 ```bash cURL
572572 curl -fsSL -X DELETE "https://api.anthropic.com/v1/sessions/$SESSION_ID" \
573573 -H "x-api-key: $ANTHROPIC_API_KEY" \
574 -H "anthropic-version: 2023-06-01" \
574 -H "anthropic-version: 2026-10-21" \
575575 -H "anthropic-beta: managed-agents-2026-04-01"
576576 ```
577577
managed-agents/session-threads Changed · +7 / -7 lines
from line 54
5454 ```bash cURL
5555 curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads" \
5656 -H "x-api-key: $ANTHROPIC_API_KEY" \
57 -H "anthropic-version: 2023-06-01" \
57 -H "anthropic-version: 2026-10-21" \
5858 -H "anthropic-beta: managed-agents-2026-04-01"
5959 ```
6060
from line 134
134134 ```bash cURL
135135 curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
136136 -H "x-api-key: $ANTHROPIC_API_KEY" \
137 -H "anthropic-version: 2023-06-01" \
137 -H "anthropic-version: 2026-10-21" \
138138 -H "anthropic-beta: managed-agents-2026-04-01" \
139139 -H "content-type: application/json" \
140140 -d '{
from line 219
219219 ```bash cURL
220220 curl -fsS -X POST "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID/archive" \
221221 -H "x-api-key: $ANTHROPIC_API_KEY" \
222 -H "anthropic-version: 2023-06-01" \
222 -H "anthropic-version: 2026-10-21" \
223223 -H "anthropic-beta: managed-agents-2026-04-01"
224224 ```
225225
from line 283
283283 # Interrupt the thread, then archive it
284284 curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/events?beta=true" \
285285 -H "x-api-key: $ANTHROPIC_API_KEY" \
286 -H "anthropic-version: 2023-06-01" \
286 -H "anthropic-version: 2026-10-21" \
287287 -H "anthropic-beta: managed-agents-2026-04-01" \
288288 -H "content-type: application/json" \
289289 -d '{
from line 294
294294
295295 curl -fsS -X POST "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID/archive" \
296296 -H "x-api-key: $ANTHROPIC_API_KEY" \
297 -H "anthropic-version: 2023-06-01" \
297 -H "anthropic-version: 2026-10-21" \
298298 -H "anthropic-beta: managed-agents-2026-04-01"
299299 ```
300300
from line 430
430430 ```bash cURL
431431 curl -fsSN "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID/stream?beta=true" \
432432 -H "x-api-key: $ANTHROPIC_API_KEY" \
433 -H "anthropic-version: 2023-06-01" \
433 -H "anthropic-version: 2026-10-21" \
434434 -H "anthropic-beta: managed-agents-2026-04-01"
435435 ```
436436
from line 586
586586 ```bash cURL
587587 curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID/events" \
588588 -H "x-api-key: $ANTHROPIC_API_KEY" \
589 -H "anthropic-version: 2023-06-01" \
589 -H "anthropic-version: 2026-10-21" \
590590 -H "anthropic-beta: managed-agents-2026-04-01"
591591 ```
592592
managed-agents/sessions Changed · +8 / -8 lines
from line 45
4545 ```bash cURL
4646 curl -fsSL https://api.anthropic.com/v1/sessions \
4747 -H "x-api-key: $ANTHROPIC_API_KEY" \
48 -H "anthropic-version: 2023-06-01" \
48 -H "anthropic-version: 2026-10-21" \
4949 -H "anthropic-beta: managed-agents-2026-04-01" \
5050 -H "content-type: application/json" \
5151 -d '{
from line 120
120120 ```bash cURL
121121 curl -fsSL https://api.anthropic.com/v1/sessions \
122122 -H "x-api-key: $ANTHROPIC_API_KEY" \
123 -H "anthropic-version: 2023-06-01" \
123 -H "anthropic-version: 2026-10-21" \
124124 -H "anthropic-beta: managed-agents-2026-04-01" \
125125 -H "content-type: application/json" \
126126 -d '{
from line 215
215215 ```bash cURL
216216 curl -fsSL https://api.anthropic.com/v1/sessions \
217217 -H "x-api-key: $ANTHROPIC_API_KEY" \
218 -H "anthropic-version: 2023-06-01" \
218 -H "anthropic-version: 2026-10-21" \
219219 -H "anthropic-beta: managed-agents-2026-04-01" \
220220 -H "content-type: application/json" \
221221 -d '{
from line 472
472472 ```bash cURL
473473 curl -fsSL https://api.anthropic.com/v1/sessions \
474474 -H "x-api-key: $ANTHROPIC_API_KEY" \
475 -H "anthropic-version: 2023-06-01" \
475 -H "anthropic-version: 2026-10-21" \
476476 -H "anthropic-beta: managed-agents-2026-04-01" \
477477 -H "content-type: application/json" \
478478 -d '{
from line 634
634634 # Replaces the whole model object of the agent: restate id, add inference_geo to pin.
635635 curl -fsSL https://api.anthropic.com/v1/sessions \
636636 -H "x-api-key: $ANTHROPIC_API_KEY" \
637 -H "anthropic-version: 2023-06-01" \
637 -H "anthropic-version: 2026-10-21" \
638638 -H "anthropic-beta: managed-agents-2026-04-01" \
639639 -H "content-type: application/json" \
640640 -d '{
from line 782
782782 ```bash cURL
783783 curl -sS --fail-with-body https://api.anthropic.com/v1/sessions \
784784 -H "x-api-key: $ANTHROPIC_API_KEY" \
785 -H "anthropic-version: 2023-06-01" \
785 -H "anthropic-version: 2026-10-21" \
786786 -H "anthropic-beta: managed-agents-2026-04-01" \
787787 -H "content-type: application/json" \
788788 -d '{
from line 908
908908 ```bash cURL
909909 curl -fsSL https://api.anthropic.com/v1/sessions \
910910 -H "x-api-key: $ANTHROPIC_API_KEY" \
911 -H "anthropic-version: 2023-06-01" \
911 -H "anthropic-version: 2026-10-21" \
912912 -H "anthropic-beta: managed-agents-2026-04-01" \
913913 -H "content-type: application/json" \
914914 -d '{
from line 998
998998 ```bash cURL
999999 curl -fsSL "https://api.anthropic.com/v1/sessions/$SESSION_ID/events" \
10001000 -H "x-api-key: $ANTHROPIC_API_KEY" \
1001 -H "anthropic-version: 2023-06-01" \
1001 -H "anthropic-version: 2026-10-21" \
10021002 -H "anthropic-beta: managed-agents-2026-04-01" \
10031003 -H "content-type: application/json" \
10041004 -d '{
managed-agents/skills Changed · +5 / -5 lines
from line 54
5454 ```bash cURL
5555 curl -X POST "https://api.anthropic.com/v1/skills" \
5656 -H "x-api-key: $ANTHROPIC_API_KEY" \
57 -H "anthropic-version: 2023-06-01" \
57 -H "anthropic-version: 2026-10-21" \
5858 -F "files[]=@example_skill.zip"
5959 ```
6060
from line 245
245245 ```bash cURL
246246 curl -sS https://api.anthropic.com/v1/agents \
247247 -H "x-api-key: $ANTHROPIC_API_KEY" \
248 -H "anthropic-version: 2023-06-01" \
248 -H "anthropic-version: 2026-10-21" \
249249 -H "anthropic-beta: managed-agents-2026-04-01" \
250250 --json '{
251251 "name": "Financial Analyst",
from line 446
446446
447447Repository skills use the same `SKILL.md` format as the custom skills you upload. For the format and authoring guidance, see [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) and [Skill authoring best practices](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices).
448448
449To load skills from a repository, create a session that mounts it. This is the same request shown in [Accessing GitHub](https://platform.claude.com/docs/en/managed-agents/github#token-permissions); `mount_path` (java, php: `mountPath`; csharp, go: `MountPath`) is optional and defaults to `/workspace/<repo-name>`:
449To load skills from a repository, create a session that mounts it. This is the same request shown in [Accessing GitHub](https://platform.claude.com/docs/en/managed-agents/github); `mount_path` (java, php: `mountPath`; csharp, go: `MountPath`) is optional and defaults to `/workspace/<repo-name>`:
450450
451451<CodeGroup>
452452 ```bash cURL
453453 curl -fsS https://api.anthropic.com/v1/sessions \
454454 -H "x-api-key: $ANTHROPIC_API_KEY" \
455 -H "anthropic-version: 2023-06-01" \
455 -H "anthropic-version: 2026-10-21" \
456456 -H "anthropic-beta: managed-agents-2026-04-01" \
457457 -H "content-type: application/json" \
458458 -d @- <<JSON
from line 592
592592 ```
593593</CodeGroup>
594594
595For private repositories, the resource’s `authorization_token` (java, php: `authorizationToken`; csharp, go: `AuthorizationToken`) must have access to the repository. This is the same personal access token flow used for any repository mount; see [Accessing GitHub](https://platform.claude.com/docs/en/managed-agents/github#token-permissions).
595For private repositories, the resource’s `authorization_token` (java, php: `authorizationToken`; csharp, go: `AuthorizationToken`) must have access to the repository. This is the same personal access token flow used for any repository mount; see [Token permissions](https://platform.claude.com/docs/en/managed-agents/github#token-permissions).
596596
597597Discovered skills follow the checked-out state of the repository: the `checkout` (csharp, go: `Checkout`) branch or commit when the resource sets one, otherwise the repository’s default branch. The scan runs once, when the session starts. Commits pushed mid-session are not picked up; to load updated skills, start a new session.
598598
managed-agents/vaults Changed · +7 / -7 lines
from line 46
4646 ```bash cURL
4747 curl --fail-with-body -sS https://api.anthropic.com/v1/vaults \
4848 -H "x-api-key: $ANTHROPIC_API_KEY" \
49 -H "anthropic-version: 2023-06-01" \
49 -H "anthropic-version: 2026-10-21" \
5050 -H "anthropic-beta: managed-agents-2026-04-01" \
5151 -H "content-type: application/json" \
5252 -d '{
from line 176
176176 ```bash cURL
177177 curl --fail-with-body -sS "https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials" \
178178 -H "x-api-key: $ANTHROPIC_API_KEY" \
179 -H "anthropic-version: 2023-06-01" \
179 -H "anthropic-version: 2026-10-21" \
180180 -H "anthropic-beta: managed-agents-2026-04-01" \
181181 -H "content-type: application/json" \
182182 -d @- <<'EOF'
from line 389
389389 ```bash cURL
390390 curl --fail-with-body -sS "https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials" \
391391 -H "x-api-key: $ANTHROPIC_API_KEY" \
392 -H "anthropic-version: 2023-06-01" \
392 -H "anthropic-version: 2026-10-21" \
393393 -H "anthropic-beta: managed-agents-2026-04-01" \
394394 -H "content-type: application/json" \
395395 -d @- <<'EOF'
from line 517
517517 ```bash cURL
518518 curl --fail-with-body -sS "https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials" \
519519 -H "x-api-key: $ANTHROPIC_API_KEY" \
520 -H "anthropic-version: 2023-06-01" \
520 -H "anthropic-version: 2026-10-21" \
521521 -H "anthropic-beta: managed-agents-2026-04-01" \
522522 -H "content-type: application/json" \
523523 -d @- <<'EOF'
from line 748
748748 ```bash cURL
749749 curl --fail-with-body -sS https://api.anthropic.com/v1/sessions \
750750 -H "x-api-key: $ANTHROPIC_API_KEY" \
751 -H "anthropic-version: 2023-06-01" \
751 -H "anthropic-version: 2026-10-21" \
752752 -H "anthropic-beta: managed-agents-2026-04-01" \
753753 -H "content-type: application/json" \
754754 -d '{
from line 852
852852 curl --fail-with-body -sS \
853853 "https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID" \
854854 -H "x-api-key: $ANTHROPIC_API_KEY" \
855 -H "anthropic-version: 2023-06-01" \
855 -H "anthropic-version: 2026-10-21" \
856856 -H "anthropic-beta: managed-agents-2026-04-01" \
857857 -H "content-type: application/json" \
858858 -d @- <<'EOF'
from line 1013
10131013 curl --fail-with-body -sS -X POST \
10141014 "https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID/mcp_oauth_validate?beta=true" \
10151015 -H "x-api-key: $ANTHROPIC_API_KEY" \
1016 -H "anthropic-version: 2023-06-01" \
1016 -H "anthropic-version: 2026-10-21" \
10171017 -H "anthropic-beta: managed-agents-2026-04-01"
10181018 ```
10191019
managed-agents/webhooks Changed · +7 / -35 lines
from line 135
135135
136136## Verify the signature
137137
138Every delivery carries the `webhook-id`, `webhook-timestamp`, and `webhook-signature` headers. Use the SDK’s `unwrap()` (csharp, go: `Unwrap()`) helper to verify the signature and parse the event in one step. It throws if the signature is invalid or the payload is more than 5 minutes old.
138Every delivery carries the `webhook-id`, `webhook-timestamp`, and `webhook-signature` headers. In every SDK except C#, use the `unwrap()` (csharp, go: `Unwrap()`) helper to verify the signature and parse the event in one step. It throws if the signature is invalid or the payload is more than 5 minutes old.
139139
140140Set `ANTHROPIC_WEBHOOK_SIGNING_KEY` to the `whsec_`-prefixed secret shown at endpoint creation.
141141
142<CodeGroup exclude="shell:cURL, shell:CLI">
142<CodeGroup exclude="shell:cURL, shell:CLI, csharp">
143143 ```python Python
144144 from flask import Flask, request
145145 import anthropic
146 import standardwebhooks # pip install "anthropic[webhooks]"
146147
147148 client = anthropic.Anthropic() # reads ANTHROPIC_WEBHOOK_SIGNING_KEY from env
148149 app = Flask(__name__)
from line 157
156157 request.get_data(as_text=True),
157158 headers=dict(request.headers),
158159 )
159 except Exception:
160 except standardwebhooks.WebhookVerificationError:
160161 return "invalid signature", 400
161162
162163 if event.data.type == "session.status_idled":
from line 197
196197 });
197198 ```
198199
199 ```csharp C#
200 using Anthropic;
201
202 var client = new AnthropicClient(); // reads ANTHROPIC_WEBHOOK_SIGNING_KEY from env
203 var app = WebApplication.Create(args);
204
205 app.MapPost("/webhook", async (HttpRequest request) =>
206 {
207 using var reader = new StreamReader(request.Body);
208 var body = await reader.ReadToEndAsync();
209 var headers = request.Headers.ToDictionary(header => header.Key, header => header.Value.ToString());
210
211 UnwrapWebhookEvent webhookEvent;
212 try
213 {
214 // Unwrap() throws if the signature is invalid or the payload is stale
215 webhookEvent = client.Beta.Webhooks.Unwrap(body, headers);
216 }
217 catch
218 {
219 return Results.BadRequest("invalid signature");
220 }
221
222 if (webhookEvent.Data.TryPickSessionStatusIdled(out var idled))
223 {
224 Console.WriteLine($"session idled: {idled.ID}");
225 }
226 // handle other event types
227
228 return Results.Ok();
229 });
230 ```
200 <CodeGroupItem language="C#">
201 The C# SDK does not have `Unwrap()`. Verify the signature with a [Standard Webhooks](https://www.standardwebhooks.com/) library, then deserialize the body into `UnwrapWebhookEvent`.
202 </CodeGroupItem>
231203
232204 ```go Go
233205 package main
models/fable-5-1/migration-guide Changed · +6 / -6 lines
from line 66
6666 curl -sS https://api.anthropic.com/v1/messages \
6767 -H "content-type: application/json" \
6868 -H "x-api-key: $ANTHROPIC_API_KEY" \
69 -H "anthropic-version: 2023-06-01" \
69 -H "anthropic-version: 2026-10-21" \
7070 -d '{
7171 "model": "claude-fable-5",
7272 "max_tokens": 16000,
from line 304
304304 curl -sS https://api.anthropic.com/v1/messages \
305305 -H "content-type: application/json" \
306306 -H "x-api-key: $ANTHROPIC_API_KEY" \
307 -H "anthropic-version: 2023-06-01" \
307 -H "anthropic-version: 2026-10-21" \
308308 -d '{
309309 "model": "claude-fable-5-1",
310310 "max_tokens": 16000,
from line 574
574574 curl -sS https://api.anthropic.com/v1/messages \
575575 -H "content-type: application/json" \
576576 -H "x-api-key: $ANTHROPIC_API_KEY" \
577 -H "anthropic-version: 2023-06-01" \
577 -H "anthropic-version: 2026-10-21" \
578578 -d '{
579579 "model": "claude-fable-5-1",
580580 "max_tokens": 16000,
from line 939
939939 ```bash cURL
940940 curl https://api.anthropic.com/v1/messages \
941941 -H "x-api-key: $ANTHROPIC_API_KEY" \
942 -H "anthropic-version: 2023-06-01" \
942 -H "anthropic-version: 2026-10-21" \
943943 -H "anthropic-beta: thinking-binding-controls-2026-08-01" \
944944 -H "content-type: application/json" \
945945 -d '{
from line 1234
12341234 # Effort-only system message: the new level takes effect from the next user turn.
12351235 curl https://api.anthropic.com/v1/messages \
12361236 -H "x-api-key: $ANTHROPIC_API_KEY" \
1237 -H "anthropic-version: 2023-06-01" \
1237 -H "anthropic-version: 2026-10-21" \
12381238 -H "anthropic-beta: mid-conversation-output-config-2026-07-01" \
12391239 -H "content-type: application/json" \
12401240 -d '{
from line 1497
14971497
14981498 Placed between an `assistant` turn and the next `user` turn, as here, the message takes effect from that `user` turn. Placed directly after a `user` turn with new input, it sets the level for Claude’s reply to that turn. A `user` turn that holds only tool results doesn’t count as new input: the change waits for the next `user` turn with new input. The level then holds until another `role: "system"` message changes it. Only the named levels are accepted (`low`, `medium`, `high`, `xhigh`, `max`), and the `mid-conversation-output-config-2026-07-01` beta header is required. See [Per-message effort](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta).
14991499
15002. **Change instructions and tools with mid-conversation system messages:** To change instructions or tools partway through a session, append a [`role: "system"` message](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages), with `tool_addition` and `tool_removal` blocks for tool changes. On the Claude API, Claude Platform on AWS, and Claude Models on Google Cloud (Anthropic managed), send the beta header `inline-tools-2026-09-15` for tool changes. A `tool_addition` block can name a tool declared in `tools` at session start or [carry the tool’s full definition](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#define-tools-in-a-message-beta), so a tool that is unknown at session start doesn’t need to be in `tools`. This preserves prompt cache hits on earlier turns and keeps the conversation history append-only. The older `mid-conversation-tool-changes-2026-07-01` header still works for changes that name a tool by reference, on the Claude API, Amazon Bedrock, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Claude Models on Google Cloud (Google managed). The same message replaces forced `tool_choice` when a specific tool must run on the current turn (see [Breaking changes](https://platform.claude.com/docs/en/models/fable-5-1/migration-guide#fable-5-1-breaking-changes)). For a reminder that applies to one turn only, send it as a separate text-only `role: "system"` message with `clear_at: "next_user_message"` ([turn-scoped system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#turn-scoped-system-messages), beta header `mid-conversation-system-clear-at-2026-08-21`) and leave it in the history: it stops rendering after the next user message and costs no tokens once cleared. A message that carries `tool_addition` or `tool_removal` blocks can’t be turn-scoped.
15002. **Change instructions and tools with mid-conversation system messages:** To change instructions or tools partway through a session, append a [`role: "system"` message](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages), with `tool_addition` and `tool_removal` blocks for tool changes. On the Claude API, Claude Platform on AWS, and Claude Models on Google Cloud (Anthropic managed), send the beta header `inline-tools-2026-09-15` for tool changes. A `tool_addition` block can name a tool declared in `tools` at session start or [carry the tool’s full definition](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#define-tools-in-a-message-beta), so a tool that is unknown at session start doesn’t need to be in `tools`. This preserves prompt cache hits on earlier turns and keeps the conversation history append-only. The `mid-conversation-tool-changes-2026-07-01` header works for changes that name a tool by reference, on the Claude API, Amazon Bedrock, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Claude Models on Google Cloud (Google managed). The same message replaces forced `tool_choice` when a specific tool must run on the current turn (see [Breaking changes](https://platform.claude.com/docs/en/models/fable-5-1/migration-guide#fable-5-1-breaking-changes)). For a reminder that applies to one turn only, send it as a separate text-only `role: "system"` message with `clear_at: "next_user_message"` ([turn-scoped system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#turn-scoped-system-messages), beta header `mid-conversation-system-clear-at-2026-08-21`) and leave it in the history: it stops rendering after the next user message and costs no tokens once cleared. A message that carries `tool_addition` or `tool_removal` blocks can’t be turn-scoped.
15011501
150215023. **Use `fallbacks: "default"` for refusals:** Keep handling `stop_reason: "refusal"` and reading `stop_details.category` before response content. To re-run refused requests on another model automatically, set `fallbacks: "default"` (beta, `server-side-fallback-2026-07-01` header). `"default"` retries a declined request on the model Anthropic recommends for that category. The permitted fallback targets for Claude Fable 5.1 are Claude Opus 4.8 (`claude-opus-4-8`) and Claude Opus 5 (`claude-opus-5`). An explicit `fallbacks` list may name either. The fallback model doesn’t receive Claude Fable 5.1’s thinking blocks. The `fallbacks` parameter isn’t available on Amazon Bedrock, Claude Models on Google Cloud (Google managed), or Microsoft Foundry. On those platforms, use [client-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#client-side-fallback) instead. If you build the retry yourself, [fallback credit](https://platform.claude.com/docs/en/build-with-claude/fallback-credit) applies on the same terms as Claude Fable 5. See [Refusals and fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback).
15031503
models/opus-5-5/migration-guide Changed · +12 / -12 lines
from line 37
3737 ```bash cURL
3838 curl https://api.anthropic.com/v1/messages \
3939 -H "x-api-key: $ANTHROPIC_API_KEY" \
40 -H "anthropic-version: 2023-06-01" \
40 -H "anthropic-version: 2026-10-21" \
4141 -H "content-type: application/json" \
4242 -d '{
4343 "model": "claude-opus-5-5",
from line 334
334334* Handle the `refusal` stop reason.
335335* Handle the `model_context_window_exceeded` stop reason.
336336* Verify tool string parameter handling for trailing newlines.
337* Remove legacy beta headers (`token-efficient-tools-2025-02-19`, `output-128k-2025-02-19`).
337* Remove the `token-efficient-tools-2025-02-19` and `output-128k-2025-02-19` beta headers.
338338* Review and update prompts following [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
339339
340340### Claude Sonnet 5 only
from line 369
369369 ```bash cURL
370370 curl https://api.anthropic.com/v1/messages \
371371 -H "x-api-key: $ANTHROPIC_API_KEY" \
372 -H "anthropic-version: 2023-06-01" \
372 -H "anthropic-version: 2026-10-21" \
373373 -H "content-type: application/json" \
374374 -d '{
375375 "model": "claude-opus-5",
from line 465
465465 # thinking is always on; effort is the control
466466 curl https://api.anthropic.com/v1/messages \
467467 -H "x-api-key: $ANTHROPIC_API_KEY" \
468 -H "anthropic-version: 2023-06-01" \
468 -H "anthropic-version: 2026-10-21" \
469469 -H "content-type: application/json" \
470470 -d '{
471471 "model": "claude-opus-5-5",
from line 570
570570 ```bash cURL
571571 curl https://api.anthropic.com/v1/messages \
572572 -H "x-api-key: $ANTHROPIC_API_KEY" \
573 -H "anthropic-version: 2023-06-01" \
573 -H "anthropic-version: 2026-10-21" \
574574 -H "content-type: application/json" \
575575 -d '{
576576 "model": "claude-opus-5",
from line 702
702702 # strict tool use: every call matches the tool's input_schema
703703 curl https://api.anthropic.com/v1/messages \
704704 -H "x-api-key: $ANTHROPIC_API_KEY" \
705 -H "anthropic-version: 2023-06-01" \
705 -H "anthropic-version: 2026-10-21" \
706706 -H "content-type: application/json" \
707707 -d '{
708708 "model": "claude-opus-5-5",
from line 890
890890 ```bash cURL
891891 curl https://api.anthropic.com/v1/messages \
892892 -H "x-api-key: $ANTHROPIC_API_KEY" \
893 -H "anthropic-version: 2023-06-01" \
893 -H "anthropic-version: 2026-10-21" \
894894 -H "anthropic-beta: computer-use-2025-11-24" \
895895 -H "content-type: application/json" \
896896 -d '{
from line 1043
10431043 # no beta header; the toolset entry takes no name or display size
10441044 curl https://api.anthropic.com/v1/messages \
10451045 -H "x-api-key: $ANTHROPIC_API_KEY" \
1046 -H "anthropic-version: 2023-06-01" \
1046 -H "anthropic-version: 2026-10-21" \
10471047 -H "content-type: application/json" \
10481048 -d '{
10491049 "model": "claude-opus-5-5",
from line 1178
11781178
117911791. **Consider task budgets (beta):** For agentic workloads, [task budgets](https://platform.claude.com/docs/en/build-with-claude/task-budgets) tell the model how many tokens it has for a full agentic loop. They require the `task-budgets-2026-03-13` beta header.
11801180
11812. **Consider mid-conversation tool changes (beta):** Mid-conversation tool changes let you add or remove tools between turns of a conversation without invalidating [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) hits on earlier turns. Changing the `tools` array itself invalidates the cached prefix. On the Claude API, Claude Platform on AWS, and Claude Models on Google Cloud (Anthropic managed), send the `inline-tools-2026-09-15` beta header. The older `mid-conversation-tool-changes-2026-07-01` header still works for changes that name a tool by reference, on the Claude API, Amazon Bedrock, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Claude Models on Google Cloud (Google managed).
11812. **Consider mid-conversation tool changes (beta):** Mid-conversation tool changes let you add or remove tools between turns of a conversation without invalidating [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) hits on earlier turns. Changing the `tools` array itself invalidates the cached prefix. On the Claude API, Claude Platform on AWS, and Claude Models on Google Cloud (Anthropic managed), send the `inline-tools-2026-09-15` beta header. The `mid-conversation-tool-changes-2026-07-01` header works for changes that name a tool by reference, on the Claude API, Amazon Bedrock, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Claude Models on Google Cloud (Google managed).
11821182
11831183## Migrating to Claude Opus 5.5 from Claude Opus 4.7
11841184
from line 1218
12181218 ```bash cURL
12191219 curl https://api.anthropic.com/v1/messages \
12201220 -H "x-api-key: $ANTHROPIC_API_KEY" \
1221 -H "anthropic-version: 2023-06-01" \
1221 -H "anthropic-version: 2026-10-21" \
12221222 -H "content-type: application/json" \
12231223 -d '{
12241224 "model": "claude-opus-4-6",
from line 1350
13501350 ```bash cURL
13511351 curl https://api.anthropic.com/v1/messages \
13521352 -H "x-api-key: $ANTHROPIC_API_KEY" \
1353 -H "anthropic-version: 2023-06-01" \
1353 -H "anthropic-version: 2026-10-21" \
13541354 -H "content-type: application/json" \
13551355 -d '{
13561356 "model": "claude-opus-5-5",
from line 1773
17731773
17741774#### Additional recommended changes
17751775
1776* **Remove legacy beta headers:** Remove `token-efficient-tools-2025-02-19` and `output-128k-2025-02-19`. All Claude 4 and later models have built-in token-efficient tool use and these headers have no effect.
1776* **Beta headers:** Remove `token-efficient-tools-2025-02-19` and `output-128k-2025-02-19`. All Claude 4 and later models have built-in token-efficient tool use and these headers have no effect.
17771777
17781778## Migrating to Claude Opus 5.5 from Claude Sonnet 5
17791779
models/sonnet-5-5/migration-guide Changed · +9 / -9 lines
from line 26
2626 ```bash cURL
2727 curl https://api.anthropic.com/v1/messages \
2828 -H "x-api-key: $ANTHROPIC_API_KEY" \
29 -H "anthropic-version: 2023-06-01" \
29 -H "anthropic-version: 2026-10-21" \
3030 -H "content-type: application/json" \
3131 -d '{
3232 "model": "claude-sonnet-5-5",
from line 249
249249 ```bash cURL
250250 curl https://api.anthropic.com/v1/messages \
251251 -H "x-api-key: $ANTHROPIC_API_KEY" \
252 -H "anthropic-version: 2023-06-01" \
252 -H "anthropic-version: 2026-10-21" \
253253 -H "content-type: application/json" \
254254 -d '{
255255 "model": "claude-sonnet-5",
from line 357
357357 ```bash cURL
358358 curl https://api.anthropic.com/v1/messages \
359359 -H "x-api-key: $ANTHROPIC_API_KEY" \
360 -H "anthropic-version: 2023-06-01" \
360 -H "anthropic-version: 2026-10-21" \
361361 -H "content-type: application/json" \
362362 -d '{
363363 "model": "claude-sonnet-5-5",
from line 527
527527 ```bash cURL
528528 curl https://api.anthropic.com/v1/messages \
529529 -H "x-api-key: $ANTHROPIC_API_KEY" \
530 -H "anthropic-version: 2023-06-01" \
530 -H "anthropic-version: 2026-10-21" \
531531 -H "content-type: application/json" \
532532 -d '{
533533 "model": "claude-sonnet-5",
from line 659
659659 # strict tool use: every call matches the tool's input_schema
660660 curl https://api.anthropic.com/v1/messages \
661661 -H "x-api-key: $ANTHROPIC_API_KEY" \
662 -H "anthropic-version: 2023-06-01" \
662 -H "anthropic-version: 2026-10-21" \
663663 -H "content-type: application/json" \
664664 -d '{
665665 "model": "claude-sonnet-5-5",
from line 905
905905 ```bash cURL
906906 curl https://api.anthropic.com/v1/messages \
907907 -H "x-api-key: $ANTHROPIC_API_KEY" \
908 -H "anthropic-version: 2023-06-01" \
908 -H "anthropic-version: 2026-10-21" \
909909 -H "content-type: application/json" \
910910 -d '{
911911 "model": "claude-sonnet-4-6",
from line 1037
10371037 ```bash cURL
10381038 curl https://api.anthropic.com/v1/messages \
10391039 -H "x-api-key: $ANTHROPIC_API_KEY" \
1040 -H "anthropic-version: 2023-06-01" \
1040 -H "anthropic-version: 2026-10-21" \
10411041 -H "content-type: application/json" \
10421042 -d '{
10431043 "model": "claude-sonnet-5-5",
from line 1222
12221222
12231223### Migrating from Claude Sonnet 4 or earlier
12241224
1225Claude Sonnet 4 is retired on the Claude API and still available on Amazon Bedrock and Claude Models on Google Cloud (Google managed). Claude 3.7 Sonnet is retired. From either model, first apply every preceding section, then these changes:
1225Claude Sonnet 4 is retired on the Claude API but available on Claude Models on Google Cloud (Google managed) and Amazon Bedrock. Claude 3.7 Sonnet is retired. From either model, first apply every preceding section, then these changes:
12261226
12271227* **Tool versions:** Use `text_editor_20250728`, with the tool name `str_replace_based_edit_tool` and no `undo_edit` command. Use `code_execution_20260521`. See the [text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool) and the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#upgrade-to-latest-tool-version).
12281228* **Stop reasons:** Handle `refusal`. Claude 4.5 and later models also stop with `model_context_window_exceeded` at the context window limit. See [Handling stop reasons](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons).
12291229* **Trailing newlines:** Claude 4.5 and later models keep them in tool call string parameters.
1230* **Legacy beta headers:** Remove `token-efficient-tools-2025-02-19` and `output-128k-2025-02-19`.
1230* **Beta headers:** Remove `token-efficient-tools-2025-02-19` and `output-128k-2025-02-19`.
12311231* **Prompts:** Review them against [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
12321232
12331233## Migrating to Claude Sonnet 5.5 from Claude Haiku 4.5
about-claude/model-deprecations Changed · +1 / -1 lines
from line 21
2121 Deprecated models are likely to be less reliable than active models. Move workloads to active models to maintain the highest level of support and reliability.
2222</Warning>
2323
24The dates on this page apply to Anthropic-operated platforms: the Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), and [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). Partner-operated platforms, Amazon Bedrock and Claude Models on Google Cloud (Google managed), set their own retirement schedules, so a model’s lifecycle status and dates can differ. See the [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock#supported-models), [Amazon Bedrock (Opus 4.6 and earlier)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids), and [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed#api-model-ids) model tables.
24The dates on this page apply to Anthropic-operated platforms: the Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), and [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). Partner-operated platforms, Claude Models on Google Cloud (Google managed) and Amazon Bedrock, set their own retirement schedules, so a model’s lifecycle status and dates can differ. See the [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock#supported-models), [Amazon Bedrock (Opus 4.6 and earlier)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids), and [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed#api-model-ids) model tables.
2525
2626## Migrating to replacements
2727
about-claude/models/model-ids-and-versions Changed · +1 / -1 lines
from line 80
8080
8181## Current model IDs
8282
83For the full list of current model IDs and their Amazon Bedrock and Claude Models on Google Cloud (Google managed) equivalents, see [Models overview](https://platform.claude.com/docs/en/models/overview).
83For the full list of current model IDs and their equivalents on Claude Models on Google Cloud (Google managed) and Amazon Bedrock, see [Models overview](https://platform.claude.com/docs/en/models/overview).
8484
agents-and-tools/mcp-tunnels/overview Changed · +1 / -1 lines
from line 174
174174 curl https://api.anthropic.com/v1/messages \
175175 -H "Content-Type: application/json" \
176176 -H "X-API-Key: $ANTHROPIC_API_KEY" \
177 -H "anthropic-version: 2023-06-01" \
177 -H "anthropic-version: 2026-10-21" \
178178 -H "anthropic-beta: mcp-client-2025-11-20" \
179179 -d '{
180180 "model": "claude-opus-5-5",
agents-and-tools/mcp-tunnels/reference Changed · +1 / -1 lines
from line 51
5151| Header | Value |
5252| ------------------- | ------------------------------------------ |
5353| `Authorization` | `Bearer <token>` (the WIF-exchanged token) |
54| `anthropic-version` | `2023-06-01` |
54| `anthropic-version` | `2026-10-21` |
5555| `anthropic-beta` | `mcp-tunnels-2026-06-22` |
5656
5757## Certificate requirements
agents-and-tools/tool-use/define-tools Changed · +2 / -2 lines
from line 178
178178 curl -sS https://api.anthropic.com/v1/messages \
179179 -H "content-type: application/json" \
180180 -H "x-api-key: $ANTHROPIC_API_KEY" \
181 -H "anthropic-version: 2023-06-01" \
181 -H "anthropic-version: 2026-10-21" \
182182 -d '{
183183 "model": "claude-opus-5-5",
184184 "max_tokens": 1024,
from line 599
599599 curl -sS https://api.anthropic.com/v1/messages \
600600 -H "content-type: application/json" \
601601 -H "x-api-key: $ANTHROPIC_API_KEY" \
602 -H "anthropic-version: 2023-06-01" \
602 -H "anthropic-version: 2026-10-21" \
603603 -d '{
604604 "model": "claude-opus-5",
605605 "max_tokens": 1024,