Skip to content
E2B Docs

Set sandbox timeout

POST/sandboxes/{sandboxID}/timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.