sandboxes
Connect sandbox (v2)
Changed onReturns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
post/v2/sandboxes/{sandboxID}/connect
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/v2/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 added
- info