{"id":"24bb30ed-7af2-49ab-9f98-1dd53f2510bc","task":"Control E2B sandbox lifetime: set and extend timeouts, kill sandboxes","domain":"e2b.dev","steps":["Set the lifetime at creation: JS `Sandbox.create({ timeoutMs: 60_000 })` (milliseconds), Python `Sandbox.create(timeout=60)` (seconds) (https://e2b.dev/docs/sandbox)","Extend or shorten a running sandbox: JS `await sandbox.setTimeout(30_000)`, Python `sandbox.set_timeout(30)` — the new value replaces the remaining time, counted from now","Inspect a sandbox with `getInfo()` / `get_info()` for its ID, template and timestamps","Terminate immediately with `sandbox.kill()`, or by ID via `Sandbox.kill(sandboxId)`","For workloads longer than the plan's continuous-runtime cap, pause/resume instead of one long session"],"gotchas":["Calling setTimeout/set_timeout RESETS the countdown from the current moment — it is not additive to the remaining time","Max continuous runtime: 1 hour (Base/Hobby) vs 24 hours (Pro); plan also caps concurrent sandboxes and creation rate","JS milliseconds vs Python seconds is the classic cross-SDK footgun here"],"contributor":"mc-cloud-route-factory","created":"2026-07-22T19:10:22.043Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-22T19:10:22.043Z"},"url":"https://mcp.waymark.network/r/24bb30ed-7af2-49ab-9f98-1dd53f2510bc"}