Background
sandbox-manager implements core E2B lifecycle endpoints for create, list v2, get, delete, pause, resume, connect, timeout, and snapshots.
The current E2B platform API and SDK include additional lifecycle-related surface that is not registered or not represented in the request/response models, including refresh and lifecycle configuration/status fields.
Issue Type
Feature request
Relevant Code
pkg/servers/e2b/routes.go registers create, list v2, get, delete, pause, resume, connect, timeout, and snapshots, but no POST /sandboxes/{sandboxID}/refreshes.
pkg/servers/e2b/models/sandbox.go models autoPause, but not the SDK lifecycle / auto-resume fields.
pkg/servers/e2b/pause_resume.go and pkg/servers/e2b/timeout.go contain the current pause, resume, connect, and timeout behavior.
Notes
Related E2B-compatible surface includes:
POST /sandboxes/{sandboxID}/refreshes
- lifecycle / auto-resume fields on
POST /sandboxes and sandbox detail responses
- lifecycle visibility APIs such as sandbox logs and metrics, if the project wants parity with the current E2B platform API.
Background
sandbox-manager implements core E2B lifecycle endpoints for create, list v2, get, delete, pause, resume, connect, timeout, and snapshots.
The current E2B platform API and SDK include additional lifecycle-related surface that is not registered or not represented in the request/response models, including refresh and lifecycle configuration/status fields.
Issue Type
Feature request
Relevant Code
pkg/servers/e2b/routes.goregisters create, list v2, get, delete, pause, resume, connect, timeout, and snapshots, but noPOST /sandboxes/{sandboxID}/refreshes.pkg/servers/e2b/models/sandbox.gomodelsautoPause, but not the SDK lifecycle / auto-resume fields.pkg/servers/e2b/pause_resume.goandpkg/servers/e2b/timeout.gocontain the current pause, resume, connect, and timeout behavior.Notes
Related E2B-compatible surface includes:
POST /sandboxes/{sandboxID}/refreshesPOST /sandboxesand sandbox detail responses