Sessions changedapi/beta/sessions
Nearest release: v2.1.309, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+38added
Lines−38removed
From line
2,406
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits28to this page, all time
The whole hunk
from line 2406, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 2406
24062406```bash
24072407curl https://api.anthropic.com/v1/sessions \
24082408 -H 'Content-Type: application/json' \
2409 -H 'anthropic-version: 2023-06-01' \
2409 -H 'anthropic-version: 2026-10-21' \
24102410 -H 'anthropic-beta: managed-agents-2026-04-01' \
2411 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2411 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
24122412 -d '{
24132413 "agent": "agent_011CZkYpogX7uDKUyvBTophP",
24142414 "environment_id": "env_011CZkZ9X2dpNyB7HsEFoRfW",
from line 3997
39973997
39983998```bash
39993999curl https://api.anthropic.com/v1/sessions \
4000 -H 'anthropic-version: 2023-06-01' \
4000 -H 'anthropic-version: 2026-10-21' \
40014001 -H 'anthropic-beta: managed-agents-2026-04-01' \
4002 -H "X-Api-Key: $ANTHROPIC_API_KEY"
4002 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
40034003```
40044004
40054005#### Response (200)
from line 5488
54885488
54895489```bash
54905490curl https://api.anthropic.com/v1/sessions/$SESSION_ID \
5491 -H 'anthropic-version: 2023-06-01' \
5491 -H 'anthropic-version: 2026-10-21' \
54925492 -H 'anthropic-beta: managed-agents-2026-04-01' \
5493 -H "X-Api-Key: $ANTHROPIC_API_KEY"
5493 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
54945494```
54955495
54965496#### Response (200)
from line 7556
75567556```bash
75577557curl https://api.anthropic.com/v1/sessions/$SESSION_ID \
75587558 -H 'Content-Type: application/json' \
7559 -H 'anthropic-version: 2023-06-01' \
7559 -H 'anthropic-version: 2026-10-21' \
75607560 -H 'anthropic-beta: managed-agents-2026-04-01' \
7561 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
7561 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
75627562 -d '{
75637563 "title": "Order #1234 inquiry"
75647564 }'
from line 7913
79137913```bash
79147914curl https://api.anthropic.com/v1/sessions/$SESSION_ID \
79157915 -X DELETE \
7916 -H 'anthropic-version: 2023-06-01' \
7916 -H 'anthropic-version: 2026-10-21' \
79177917 -H 'anthropic-beta: managed-agents-2026-04-01' \
7918 -H "X-Api-Key: $ANTHROPIC_API_KEY"
7918 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
79197919```
79207920
79217921#### Response (200)
from line 8133
81338133
81348134 - `"claude-fable-5-1"`
81358135
8136 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8137
8138 - `"claude-sonnet-5"`
8139
8140
8136 Frontier intelligence for ambitious tasks across coding, scientific discovery, an
No line in this hunk matches that.