Choose A Signal
| Need | Use |
|---|---|
| List or stream create, pause, resume, hibernate, fork, and destroy transitions | Lifecycle events |
| Notify your service when lifecycle events happen | Webhooks |
| Watch live CPU, memory, process, update, and error events | Monitor sandboxes |
| Inspect timeout behavior and resource usage | Metrics and timeouts |
Quick Examples
List recent lifecycle events:Operational Guidance
| Situation | Guidance |
|---|---|
| A workflow owns a specific sandbox | Use per-sandbox lifecycle and metrics helpers. |
| A control plane watches many sandboxes | Use lifecycle list/stream filters and webhooks. |
| A process may be alive but not ready | Combine monitor data with command, process, or preview readiness checks. |
| You need retryable automation | Persist event IDs and resume streams with after_event_id. |
Observability Guides
Lifecycle events
Understand state changes such as create, pause, resume, hibernate, and stop.
Webhooks
Receive event notifications in your own service.
Monitor sandboxes
Inspect resource usage and operational state.