Skip to main content
GET
/
api
/
v1
/
cvms
/
{cvm_id}
/
stats
Get CVM system stats
curl --request GET \
  --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/stats
{
  "is_online": true,
  "is_public": true,
  "error": "<string>",
  "sysinfo": {
    "os_name": "<string>",
    "os_version": "<string>",
    "kernel_version": "<string>",
    "cpu_model": "<string>",
    "num_cpus": 123,
    "total_memory": 123,
    "available_memory": 123,
    "used_memory": 123,
    "free_memory": 123,
    "total_swap": 123,
    "used_swap": 123,
    "free_swap": 123,
    "uptime": 123,
    "loadavg_one": 123,
    "loadavg_five": 123,
    "loadavg_fifteen": 123,
    "disks": [
      {
        "name": "<string>",
        "mount_point": "<string>",
        "total_size": 123,
        "free_size": 123
      }
    ]
  },
  "status": "<string>",
  "in_progress": false,
  "boot_progress": "<string>",
  "boot_error": "<string>"
}

Path Parameters

cvm_id
string
required

Response

System stats (may be partial if CVM offline)

is_online
boolean
required
is_public
boolean
default:true
error
string | null
sysinfo
SystemInfo · object
status
string | null
in_progress
boolean
default:false
boot_progress
string | null
boot_error
string | null