Choose An Access Surface
| Goal | Use |
|---|---|
| Open an interactive terminal through the SDK, CLI, or WebSocket | PTY sessions |
| Connect a local OpenSSH client or an SSH-native tool | SSH access |
| Inspect a failed retained agent or service sandbox | Debug retained sandboxes |
Access And Lifecycle
Access surfaces attach to an existing sandbox. They do not replace the sandbox lifecycle APIs:- Create or connect to a sandbox.
- Use commands, files, volumes, templates, and preview URLs for normal application behavior.
- Attach PTY or SSH when a person needs to inspect state, debug a failure, or operate an interactive tool.
- Destroy disposable sandboxes, or use retention, hibernate, auto-resume, and volumes when state must survive.