Set size and kind
--timeout belongs to temporary machines. --idle-timeout belongs to persistent machines. See machine lifetime.
Set environment and metadata
The create API acceptsenvVars and metadata maps. Save this as create.json:
Attach a credential profile
metadata["bead.credentialProfile"]. MCP create also accepts a profile UUID. You can select a profile for a later runner prompt.
OpenClaw and Hermes copy credentials once into native app storage and own subscription refresh after creation. Vault edits affect new app machines. See credentials.
Choose retained state
Use a ready snapshot astemplateID to restore prepared memory. It must keep its original CPU and memory size. For a different size, use a disk template to start a new machine.
Temporary machines can attach a supported persistent volume with volumeMounts.
