v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-261319281.7 MB

List Work Items

Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.

List work items in an environment.

get/v1/environments/{environment_id}/work?beta=true

Path parameters

environment_idstring required

Query parameters

limitinteger

Maximum number of work items to return

Maximum number of work items to return

pagestring nullable

Opaque cursor from previous response for pagination

Opaque cursor from previous response for pagination

Headers

anthropic-betastring

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

The version of the Claude API you want to use.

Read more about versioning and our version history here.

authorizationstring nullable

Response

Successful Response

next_pagestring nullable required

Opaque cursor for fetching the next page of results