| Format | Example |
|---|---|
| Name | my-app |
| UUID | 550e8400-e29b-41d4-a716-446655440000 |
| App ID | 0x1234abcd... (40 hex chars, optional 0x prefix) |
| Instance ID | instance-abc123 |
getCvmInfo
GET /cvms/{cvmId}
Returns full CVM details including configuration, status, and metadata.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier (any format above) |
CvmInfo — version-aware response with CVM details.
Example:
getCvmList
GET /cvms/paginated
Returns a paginated list of CVMs.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
page | number | No | Page number |
page_size | number | No | Items per page |
node_id | number | No | Filter by node |
user_id | string | No | Filter by user |
getCvmState
GET /cvms/{cvmId}/state
Returns the current state of a CVM (non-streaming, immediate response).
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmState
| Field | Type | Description |
|---|---|---|
id | string | CVM ID |
instance_id | string | Instance ID |
name | string | CVM name |
status | string | Current status |
uptime | string? | Uptime duration |
boot_progress | string? | Boot progress percentage |
boot_error | string? | Boot error if failed |
getCvmStats
GET /cvms/{cvmId}/stats
Returns system information and resource usage for a CVM.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmSystemInfo
| Field | Type | Description |
|---|---|---|
is_online | boolean | Whether CVM is reachable |
is_public | boolean | Whether stats are public |
sysinfo | object? | CPU, memory, disk usage |
status | string? | Current status |
boot_progress | string? | Boot progress |
getCvmNetwork
GET /cvms/{cvmId}/network
Returns network information including public URLs and internal IP.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmNetwork
| Field | Type | Description |
|---|---|---|
is_online | boolean | Whether CVM is reachable |
internal_ip | string? | WireGuard internal IP |
public_urls | array? | Public URL mappings |
getCvmContainersStats
GET /cvms/{cvmId}/composition
Returns container-level information including running state and log endpoints.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmContainersStats
| Field | Type | Description |
|---|---|---|
is_online | boolean | Whether CVM is reachable |
docker_compose_file | string? | Active compose YAML |
containers | array? | Container info (id, names, image, state, status, log_endpoint) |
getCvmAttestation
GET /cvms/{cvmId}/attestation
Returns TEE attestation details including certificates and TCB info.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmAttestation
| Field | Type | Description |
|---|---|---|
is_online | boolean | Whether CVM is reachable |
app_certificates | array? | TLS certificates with attestation |
tcb_info | object? | TCB measurements (mrtd, rtmr0-3, event_log, app_compose hash) |
getCvmDockerCompose
GET /cvms/{cvmId}/docker-compose
Returns the raw docker-compose configuration as a string.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
string — raw docker-compose YAML content.
Example:
getCvmComposeFile
GET /cvms/{cvmId}/compose_file
Returns the full compose file object with utility methods for hashing.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
LooseAppCompose — compose file object with getHash() and toString() methods.
Example:
getCvmPreLaunchScript
GET /cvms/{cvmId}/pre-launch-script
Returns the pre-launch script content.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
string — pre-launch script content.
getCvmStatusBatch
GET /cvms/status/batch
Returns the status of multiple CVMs in a single request.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
ids | string[] | Yes | Array of CVM IDs |
GetCvmStatusBatchResponse
| Field | Type | Description |
|---|---|---|
statuses | CvmStatus[] | Status for each requested CVM |
getCvmUserConfig
GET /cvms/{cvmId}/user-config
Returns the user-level configuration for a CVM.
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | CVM identifier |
CvmUserConfig — user configuration details.
