Create a snapshot
Create a snapshot of an existing sandbox. The snapshot captures the filesystem, running processes, and memory state.List snapshots
Delete a snapshot
Fork a sandbox
Forking creates a new resource (sandbox or application) from an existing sandbox. The fork inherits the source sandbox’s image, memory configuration, environment variables, and port settings.Fork into a new sandbox
Fork into an application
Create an application directly from a running sandbox. The application inherits the sandbox’s image, memory, environment variables, and port.Fork with canary traffic
Fork into an existing application as a canary revision receiving a percentage of traffic:Fork with a custom domain
Attach a custom domain to the forked application using thecustomDomain parameter:
Fork from a snapshot
Use thesnapshotId parameter to fork from a specific snapshot instead of the current sandbox state:
Fork request parameters
| Parameter | Type | Description |
|---|---|---|
targetType | string | Target resource type: sandbox or application |
targetName | string | Name of the resource to create or update |
traffic | integer | Traffic percentage for the new revision (0-100, applications only) |
port | integer | Port to expose |
customDomain | string | Custom domain for the application |
prefix | string | URL prefix for the application |
snapshotId | string | Fork from a specific snapshot instead of current state |
Applications
Deploy long-running services with revision management and traffic splitting.
Sandbox overview
Learn more about sandbox lifecycle and configuration.
