self-hosted-sandboxes-operations changedmanaged-agents/self-hosted-sandboxes-operations
Nearest release: v2.1.332, published 6 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+6added
Lines−1removed
From line
41
where the diff opens
First seen
2 Oct 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 41, old and new numbered
/
from line 41
4141
4242The queue statistics and stop calls on this page run from your monitoring or operations tooling, authenticated with your organization API key. The worker helpers handle the claim and keep-alive loop, so you don’t call those endpoints directly.
4343
44For the credentials that replace the organization API key and the environment key on a cloud platform, see [Worker authentication on cloud platforms](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#worker-authentication-on-cloud-platforms).
45
4446<Warning>
4547 The queue statistics and stop endpoints accept either your organization API key or the environment key. Call them from outside the worker host with your organization API key. Setting `ANTHROPIC_API_KEY` on the worker host exposes an organization-scoped credential to agent tool calls.
4648</Warning>
from line 350
348350
349351### The worker doesn’t connect
350352
351If `workers_polling` (java, php: `workersPolling`; csharp, go: `WorkersPolling`) stays at 0, the worker isn’t reaching the queue. Confirm that `ANTHROPIC_ENVIRONMENT_KEY` and `ANTHROPIC_ENVIRONMENT_ID` are set on the worker host.
353If `workers_polling` (java, php: `workersPolling`; csharp, go: `WorkersPolling`) stays at 0, check each case that applies to your worker:
354
355* **A worker with an environment key:** Confirm that `ANTHROPIC_ENVIRONMENT_KEY` and `ANTHROPIC_ENVIRONMENT_ID` are set on the worker host.
356* **A worker that you wrote:** Confirm that it sends the `Anthropic-Worker-ID` header when it [polls for work](https://platform.claude.com/docs/en/api/beta/environments/work/poll). The count includes only workers that send this header.
352357
353358### A session stays queued
354359
No line in this hunk matches that.