Environments
Environments.work stats
GET
/v1/environments/{id}/work_statsx-api-key<token>
Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.
In: header
Path Parameters
id*string
Match
^(?:env)_[A-Za-z0-9_-]+$Header Parameters
anthropic-beta?string
Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/environments/string/work_stats"{ "depth": 0, "in_flight": 0, "worker_connected": true}