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-threads changedmanaged-agents/session-threads

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+7added
Lines−7removed
From line 54 where the diff opens
First seen 9 Oct 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

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