Skip to main content
POST
Create CVM from provision

Body

application/json
app_id
string
required

The calculated app ID from compose file.

compose_hash
string
required

The compose hash of the app compose file.

encrypted_env
string | null

The encrypted environment variables.

kms_id
string | null

The KMS ID.

contract_address
string | null

The contract address.

deployer_address
string | null

The deployer address.

env_keys
string[] | null

The environment variables to use for the app.

Response

Created CVM record with teepod info

id
integer
required
name
string
required
status
string
required
teepod_id
integer
required
app_id
string
required
vcpu
integer
required
memory
integer
required
disk_size
integer
required
created_at
string<date-time>
required
teepod
TeepodMeta · object | null
user_id
integer | null
vm_uuid
string | null
instance_id
string | null
app_url
string | null
base_image
string | null
manifest_version
integer | null
version
string | null
runner
string | null
docker_compose_file
string | null
features
string[] | null
encrypted_env_pubkey
string | null