Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

session-operations changedmanaged-agents/session-operations

Nearest release: v2.1.318, published 4 hours before 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+5added
Lines−5removed
From line 62 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 62, old and new numbered
/
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 
Feedback