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 change · api

Work changedapi/beta/environments/work

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+16added
Lines−16removed
From line 229 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits18to this page, all time

The whole hunk

from line 229, old and new numbered
/
lines
from line 229
229229 
230230```bash
231231curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID \
232 -H 'anthropic-version: 2023-06-01' \
232 -H 'anthropic-version: 2026-10-21' \
233233 -H 'anthropic-beta: managed-agents-2026-04-01' \
234 -H "X-Api-Key: $ANTHROPIC_API_KEY"
234 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
235235```
236236 
237237#### Response (200)
from line 493
493493 
494494```bash
495495curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/poll \
496 -H 'anthropic-version: 2023-06-01' \
496 -H 'anthropic-version: 2026-10-21' \
497497 -H 'anthropic-beta: managed-agents-2026-04-01' \
498 -H "X-Api-Key: $ANTHROPIC_API_KEY"
498 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
499499```
500500 
501501#### Response (200)
from line 742
742742```bash
743743curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID/ack \
744744 -X POST \
745 -H 'anthropic-version: 2023-06-01' \
745 -H 'anthropic-version: 2026-10-21' \
746746 -H 'anthropic-beta: managed-agents-2026-04-01' \
747 -H "X-Api-Key: $ANTHROPIC_API_KEY"
747 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
748748```
749749 
750750#### Response (200)
from line 957
957957```bash
958958curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID/heartbeat \
959959 -X POST \
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)
from line 1207
12071207```bash
12081208curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID/stop \
12091209 -H 'Content-Type: application/json' \
1210 -H 'anthropic-version: 2023-06-01' \
1210 -H 'anthropic-version: 2026-10-21' \
12111211 -H 'anthropic-beta: managed-agents-2026-04-01' \
1212 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1212 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
12131213 -d '{}'
12141214```
12151215 
from line 1470
14701470 
14711471```bash
14721472curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work \
1473 -H 'anthropic-version: 2023-06-01' \
1473 -H 'anthropic-version: 2026-10-21' \
14741474 -H 'anthropic-beta: managed-agents-2026-04-01' \
1475 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1475 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
14761476```
14771477 
14781478#### Response (200)
from line 1736
17361736```bash
17371737curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID \
17381738 -H 'Content-Type: application/json' \
1739 -H 'anthropic-version: 2023-06-01' \
1739 -H 'anthropic-version: 2026-10-21' \
17401740 -H 'anthropic-beta: managed-agents-2026-04-01' \
1741 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1741 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
17421742 -d '{
17431743 "metadata": {
17441744 "foo": "string"
from line 1941
19411941 
19421942```bash
19431943curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/stats \
1944 -H 'anthropic-version: 2023-06-01' \
1944 -H 'anthropic-version: 2026-10-21' \
19451945 -H 'anthropic-beta: managed-agents-2026-04-01' \
1946 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1946 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19471947```
19481948 
19491949#### Response (200)
Feedback