Instances
List instances
Create and start instance
Get instance details
Stop and delete instance
Put instance in standby (pause, snapshot, delete VMM)
Restore instance from standby
Start a stopped instance
Stop instance (graceful shutdown)
Stream instance logs (SSE)
Get filesystem path info
ModelsExpand Collapse
Instance = object { id, created_at, image, 16 more }
Auto-generated unique identifier (CUID2 format)
Creation timestamp (RFC3339)
OCI image reference
Human-readable name
state: "Created" or "Running" or "Paused" or 4 moreInstance state:
- Created: VMM created but not started (Cloud Hypervisor native)
- Running: VM is actively running (Cloud Hypervisor native)
- Paused: VM is paused (Cloud Hypervisor native)
- Shutdown: VM shut down but VMM exists (Cloud Hypervisor native)
- Stopped: No VMM running, no snapshot exists
- Standby: No VMM running, snapshot exists (can be restored)
- Unknown: Failed to determine state (see state_error for details)
Instance state:
- Created: VMM created but not started (Cloud Hypervisor native)
- Running: VM is actively running (Cloud Hypervisor native)
- Paused: VM is paused (Cloud Hypervisor native)
- Shutdown: VM shut down but VMM exists (Cloud Hypervisor native)
- Stopped: No VMM running, no snapshot exists
- Standby: No VMM running, snapshot exists (can be restored)
- Unknown: Failed to determine state (see state_error for details)
Disk I/O rate limit (human-readable, e.g., "100MB/s")
Environment variables
gpu: optional object { mdev_uuid, profile } GPU information attached to the instance
GPU information attached to the instance
mdev device UUID
vGPU profile name
Whether a snapshot exists for this instance
Hotplug memory size (human-readable)
hypervisor: optional "cloud-hypervisor" or "qemu"Hypervisor running this instance
Hypervisor running this instance
network: optional object { bandwidth_download, bandwidth_upload, enabled, 3 more } Network configuration of the instance
Network configuration of the instance
Download bandwidth limit (human-readable, e.g., "1Gbps", "125MB/s")
Upload bandwidth limit (human-readable, e.g., "1Gbps", "125MB/s")
Whether instance is attached to the default network
Assigned IP address (null if no network)
Assigned MAC address (null if no network)
Network name (always "default" when enabled)
Writable overlay disk size (human-readable)
Base memory size (human-readable)
Start timestamp (RFC3339)
Error message if state couldn't be determined (only set when state is Unknown)
Stop timestamp (RFC3339)
Number of virtual CPUs
Volumes attached to the instance
Volumes attached to the instance
Path where volume is mounted in the guest
Volume identifier
Create per-instance overlay for writes (requires readonly=true)
Max overlay size as human-readable string (e.g., "1GB"). Required if overlay=true.
Whether volume is mounted read-only
PathInfo = object { exists, error, is_dir, 5 more }
Whether the path exists
Error message if stat failed (e.g., permission denied). Only set when exists is false due to an error rather than the path not existing.
True if this is a directory
True if this is a regular file
True if this is a symbolic link (only set when follow_links=false)
Symlink target path (only set when is_symlink=true)
File mode (Unix permissions)
File size in bytes
PortMapping = object { guest_port, host_port, protocol }
Port in the guest VM
Port on the host
protocol: optional "tcp" or "udp"
VolumeMount = object { mount_path, volume_id, overlay, 2 more }
Path where volume is mounted in the guest
Volume identifier
Create per-instance overlay for writes (requires readonly=true)
Max overlay size as human-readable string (e.g., "1GB"). Required if overlay=true.
Whether volume is mounted read-only