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.