admin

Get a sandbox's team and state

Changed on

Reads the team and state of a sandbox from its latest lifecycle event. The state lags the sandbox while that event is in flight. A sandbox whose events have expired is not found.

get/admin/sandboxes/{sandboxID}

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/admin/sandboxes/{sandboxID}
  • Auth
    • API key in header X-Admin-Token
    • or HTTP bearer

Path parameters

sandboxIDstring required

Response

The sandbox, its team and its state

sandboxIDstring required

Identifier of the sandbox

teamIDstring uuid required

Identifier of the team that owns the sandbox

state'running' | 'paused' | 'killed' required

State after the sandbox's latest create, resume, pause or kill event

Changes