e2b_set_sandbox_timeout
Set a sandbox's timeout to expire after a specified number of seconds. Overwrites any previous TTL to control sandbox lifecycle.
Instructions
Set the sandbox timeout: it will expire N seconds from now. Overwrites any previous TTL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | Yes | Seconds from now until expiry | |
| sandboxId | Yes |