Skip to content

Commit 66ee6df

Browse files
mishushakovmlejva
andauthored
Update sandbox retention policy details (#933)
Clarified sandbox data retention policy and error handling. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Clarifies that sandbox data retention is 30 days from creation (not extended by resumes) and specifies NotFound errors when resuming deleted/nonexistent sandboxes. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8f9706f. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev>
1 parent e5ffc79 commit 66ee6df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • apps/web/src/app/(docs)/docs/sandbox/persistence

apps/web/src/app/(docs)/docs/sandbox/persistence/page.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,5 @@ If you resume the sandbox, the service will be accessible again but you need to
259259
- Pausing a sandbox takes about 4 seconds per 1 GiB of RAM
260260
- Resuming a sandbox takes about 1 second
261261
- Sandbox can be used up to 30 days
262-
- After 30 days from the initial sandbox create call, the data may be deleted and you will not be able to resume it. Attempting to resume a sandbox that was deleted or does not exist will result in the `NotFoundError` in the JavaScript SDK or the `NotFoundException` in the Python SDK
262+
- After 30 days from the sandbox creation, the sandbox data may be deleted. This retention period is based on the original sandbox creation date and is not extended or reset by subsequent resumes. Attempting to resume a sandbox that was deleted or does not exist will result in a `NotFoundError` (JavaScript SDK) or `NotFoundException` (Python SDK).
263+

0 commit comments

Comments
 (0)