sandboxes
Create snapshot
Changed onCreate a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
post/sandboxes/{sandboxID}/snapshots
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/sandboxes/{sandboxID}/snapshots
- 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
Snapshot created successfully
Changes
- info
added the new optional request property
- info
- info
added the non-success response with the status
- info