sandboxes
Fork sandbox
Changed onFork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
post/sandboxes/{sandboxID}/fork
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/sandboxes/{sandboxID}/fork
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Path parameters
sandboxIDstring required
Request body
Response
The sandbox was snapshotted and the forks were attempted; each entry reports one fork's outcome
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API
- info