Fork_vm
Fork VM
/v1/vms/{vm_id}/fork
Request Body
application/json
RequiredidleTimeoutSeconds
integer | null"int64"
ports
array | nullOptional list of ports to expose externally. If not provided, port 3000 will be exposed on port 443 by default. Pass an empty array to disable external ports. Only ports 8081 and 443 can be configured externally for now. Any target port is allowed.
readySignalTimeoutSeconds
integer | nullWhether the api request should wait for the VM to be ready before returning. By default, the VM is considered ready when the serial console is ready for login.
true
Format: "int64"
waitForReadySignal
boolean | nullHow long to wait for the ready signal before timing out. Defaults to 120 seconds if not provided.
workdir
string | nullOptional working directory for the VM. File system and shell commands will be executed in this directory.
persistence
object | object | objectPath Parameters
vm_id
Requiredstring