Key ideas
How it works
States
A filesystem must be
ready before it can be attached.
Create a session
- curl
string
Unique session identifier.
string
ISO 8601 creation timestamp.
Attach a filesystem
- curl
string
required
The filesystem to attach to this session.
Detach a filesystem
What happens to data when a sandbox terminates?
What happens to data when a sandbox terminates?
Sandbox-local storage is destroyed. Data written to an attached filesystem persists independently of the sandbox lifecycle.
Is there a size limit on filesystems?
Is there a size limit on filesystems?
See the Tiers & Limits page for storage quotas per plan.
Limits & quotas
Errors
Security
Common mistakes
- Assuming sandbox storage is permanent. A released sandbox’s local storage is gone; use a filesystem for data that must survive.
- Sharing one filesystem across unrelated workloads. Scope filesystems to the work that needs them.
Best practices
- Attach a filesystem only for the lifetime you need it, then detach.
- Keep filesystems scoped to a single workload or session for isolation.
- Delete unused sessions and filesystems to free storage.
Related pages
Sandboxes
On-demand execution environments.
Runtime Lifecycle
Leases and resource lifecycle.
Instances
Long-running deployments.
Compute Overview
The Compute model end to end.

