List all machines
Authorizations
API key passed as Bearer token
Query Parameters
Filter machines by state. Multiple states may be supplied as a single comma-separated list (e.g. running,paused). Valid states: creating, running, paused, destroyed, error. The server parses this as one comma-separated string parameter.
Maximum number of machines to return when using cursor pagination.
1 <= x <= 100Cursor token returned by a previous paginated list response.
Filter machines by template ref.
JSON object whose key/value pairs must match machine metadata.
Comma-separated field mask for machine list/get responses. Supported fields: id, status, config, template, metadata, started_at, timeout_ms, timeout_at, expires_at, timeout_action, created_at, cwd, snapshot_id, traffic_access_token.
Response
List of machines. Calls without list filters, pagination, or field masks return the legacy bare array; filtered or paginated calls return a paginated object.
- object[]
- object
creating, running, paused, destroyed, error Machine metadata. Attached volume state is exposed under volume_attachments in request order. Free-form user-supplied object stored verbatim; deliberately open.
Alias of timeout_at for clients that expect an expiry timestamp field.
Milliseconds remaining until timeout_at (clamped at 0), computed at response time. Lets callers schedule a timeout refresh without re-deriving the deadline from timeout_at themselves.
destroy, hibernate Most recent activity timestamp (edge ingress or exec/file/pty/process traffic). Drives inactivity-relative deadlines. Absent if no activity has been observed yet.
Effective idle timeout in milliseconds, if an inactivity policy is set.
Effective auto-delete window in milliseconds, if set.
Whether the machine is ephemeral (destroyed, never hibernated, on idle).
Normalized default working directory for this machine when one was configured.
Present only when status is paused. The snapshot ID needed to resume this machine.
Create-time warm-pool checkout result. Omitted when create did not consider a warm pool.