machines
Get machine
Returns a machine by ID.
Bearer token for the authenticated caller.
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.
Required string length: 1 - 53
Example: "ws_j572abc123def4"
Required string length: 3 - 54
Response
Machine details
Required string length: 3 - 54
Required string length: 2 - 53
Required string length: 3 - 54
Maximum string length: 32
Available options: ubuntu-24.04
Maximum object length: 32 entries
Key pattern: ^[a-z][a-z0-9_-]{0,62}$
Example: {"team":"web"}
Maximum string length: 120
The server at its provider (hcloud://<server id>); null until the provider created it.
Example: "hcloud://1234"
Machine lifecycle state.
Available options: PROVISIONING, RUNNING, SUSPENDING, SUSPENDED, RESTORING, EXPIRED, DELETING, FAILED
What needs attention now; empty when nothing does. Reasons:
bootstrap-progress(info): the latest guest-reported stage and report time. If progress stalls, this remains the last observation, not a readiness claim.bootstrap-failed(error): guest bootstrap failed at the named step with its exit code. Provider state may remain RUNNING; no automatic replacement occurs.trial-ended(warning): the free trial is over and the Machine isSUSPENDED; upgrade to Pro while its snapshot is retained to restore it. Remedyupgrade-plan.trial-data-expired(warning): the snapshot expired or was deleted. No server can be restored from it; a Pro upgrade still succeeds.RESTORINGwaits for the replacement server to run and, for a pool Machine, its node to join; only then is the snapshot removed.- When
stateisFAILED, one error whose reason says why:capacity-unavailable,provider-refused,provider-unavailableorabandoned. Its server and capacity were already released.
Maximum array length: 32 elements
The service that created it (service:cluster for a node pool), which also deletes it; null when a person did.
Pattern: ^service:[\s\S]*?$
The latest Operation: the create, or the deletion.
Required string length: 2 - 192