sandboxes
Connect sandbox
Changed onReturns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
post/sandboxes/{sandboxID}/connect
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/sandboxes/{sandboxID}/connect
- 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 already running
Changes
- info
endpoint deprecated
- info
- info
added the non-success response with the status
- info