v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
CVMs

Create CVM from provision

Creates a CVM using cached provision data from /cvms/provision. Requires compose_hash from the provision response.

post/api/v1/cvms

Request body

app_idstring required

The calculated app ID from compose file.

compose_hashstring required

The compose hash of the app compose file.

encrypted_envstring nullable

The encrypted environment variables.

kms_idstring nullable

The KMS ID.

contract_addressstring nullable

The contract address.

deployer_addressstring nullable

The deployer address.

env_keysstring[] nullable

The environment variables to use for the app.

Response

Created CVM record with teepod info

idinteger required
namestring required
statusstring required
teepod_idinteger required
user_idinteger nullable
app_idstring required
vm_uuidstring nullable
instance_idstring nullable
app_urlstring nullable
base_imagestring nullable
vcpuinteger required
memoryinteger required
disk_sizeinteger required
manifest_versioninteger nullable
versionstring nullable
runnerstring nullable
docker_compose_filestring nullable
featuresstring[] nullable
created_atstring date-time required
encrypted_env_pubkeystring nullable