POST

Authorizations

x-api-key
string
header
required

Headers

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

Path Parameters

machine_id
string
required

Query Parameters

project_id
string

Response

Success.

type
string
required

Always machine_power_status.

Allowed value: "machine_power_status"
machine_id
string
required

Machine ID (mch_...).

Pattern: ^mch_[a-z2-7]{26}$
connection_state
enum<string>
required
Available options:
online,
asleep,
offline
power_state
enum<string>
required

Compute state of a pool machine. paused keeps the disk (and memory when the provider supports it) without compute; resuming means a resume or restore is in flight; archived means the machine image is stored durably and is restored on the next access.

Available options:
running,
pausing,
paused,
resuming,
archiving,
archived