Skip to main content
GET
Get machine

Authorizations

Authorization
string
header
required

Bearer token for the authenticated caller.

Headers

akua-context
string

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"

Path Parameters

id
string
required
Required string length: 3 - 54

Response

Machine details

id
string
required
Required string length: 3 - 54
workspace_id
string
required
Required string length: 2 - 53
region_id
string
required
Required string length: 3 - 54
location
string
required
Maximum string length: 32
machine_type
string
required
Pattern: ^[a-z][a-z0-9-]{0,31}$
Example:

"cx23"

image
enum<string>
required
Available options:
ubuntu-24.04
labels
object
required
Example:
name
string | null
required
Maximum string length: 120
provider_id
string | null
required

The server at its provider (hcloud://<server id>); null until the provider created it.

Example:

"hcloud://1234"

ipv4
string | null
required
ipv6
string | null
required
state
enum<string>
required

Machine lifecycle state.

Available options:
PROVISIONING,
RUNNING,
SUSPENDING,
SUSPENDED,
RESTORING,
EXPIRED,
DELETING,
FAILED
conditions
object[]
required

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 is SUSPENDED; upgrade to Pro while its snapshot is retained to restore it. Remedy upgrade-plan.
  • trial-data-expired (warning): the snapshot expired or was deleted. No server can be restored from it; a Pro upgrade still succeeds.
  • RESTORING waits for the replacement server to run and, for a pool Machine, its node to join; only then is the snapshot removed.
  • When state is FAILED, one error whose reason says why: capacity-unavailable, provider-refused, provider-unavailable or abandoned. Its server and capacity were already released.
Maximum array length: 32
trial
object | null
required
created_by
string | null
required

The service that created it (service:cluster for a node pool), which also deletes it; null when a person did.

Pattern: ^service:[\s\S]*?$
operation_id
string
required

The latest Operation: the create, or the deletion.

Required string length: 2 - 192
created_at
integer
required

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991
updated_at
integer
required

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991
etag
string
required