Skip to main content
GET
/
api
/
v1
/
cvms
/
{cvm_id}
/
available-os-images
List available OS images
curl --request GET \
  --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/available-os-images
[
  {
    "version": {
      "[0]": 123,
      "[1]": 123,
      "[2]": 123,
      "[3]": 123
    },
    "prod": {
      "name": "<string>",
      "slug": "<string>",
      "os_image_hash": "<string>",
      "is_current": false
    },
    "dev": {
      "name": "<string>",
      "slug": "<string>",
      "os_image_hash": "<string>",
      "is_current": false
    }
  }
]

Path Parameters

cvm_id
string
required

Response

OS images grouped by version (newest first)

version
Version · object
required

Semantic version as tuple (major, minor, patch[, build])

prod
OSImageVariant · object

Production build (stable)

dev
OSImageVariant · object

Development build (testing)