Skip to content
Runtime

A sandbox's time limit can be set or changed after it starts

:update (sandbox.update() in the SDKs, or the CLI's runtime sandboxes update --timeout) takes timeoutSeconds, a new limit counted from now, sooner or later than before (0 removes it), and onTimeout, what its end does. A sandbox made without a limit can now get one. E2B's setTimeout to an earlier time works under withruntime/e2b instead of throwing. See Sandboxes in the API guide.

1,000 agent runs for $0.64.

  • Your first $10 becomes $20
  • You never owe more than you add
Start with $10, get $20
Start with $10, get $20