List recent events
Account-wide listing is available from the Python SDK, CLI, and HTTP API. The TypeScript SDK exposes lifecycle history per machine (machine.lifecycle.list),
shown under Per-machine events.
Per-machine events
Stream events
The lifecycle stream is a WebSocket channel (/v1/lifecycle/ws). The SDKs and
CLI handle the upgrade and replay for you; raw HTTP clients perform the upgrade
described in the WebSocket protocol.
subscribe() when you want callbacks in a background reader:
Filters
list_events supports operation, status, audience, machine ID, snapshot ID,
source machine ID, target machine ID, time range, ordering, offset, and limit
filters.
stream_events supports machine ID, snapshot ID, operation, status, audience,
metadata matching, after_event_id, live_only, and replay_limit. It does
not support source/target machine filters, time range, ordering, offset, or
limit. Use after_event_id to resume from a known event ID after reconnecting.
Event fields
| Field | Notes |
|---|---|
operation | create, destroy, timeout_updated, timeout_expired, hibernate, snapshot_created, resume_from_snapshot, fork, or reconcile. |
status | requested, succeeded, or failed. |
audience | Public SDK helpers expose customer-visible events. |
machine_id, snapshot_id | Present when the operation is tied to that resource. |
source_machine_id, target_machine_id | Present for fork and resume-style transitions. |
error_code, error_message | Populated for failed transitions. |