Create a machine
Provision a new development machine
POST
Path parameters
namespace
type: string
requiredThe namespace (user or organization) to create the machine in.
Body parameters
name
type: string
requiredA unique name for the machine. Must be 1-64 characters. Allowed characters: alphanumeric, hyphens, underscores.
cloud
type: string
requiredCloud provider. One of aws, azure, or gcp.
region
type: string
requiredCloud region to deploy in (e.g., us-east-1, westus2, us-central1).
zone
type: string
Availability zone within the region (e.g., `us-east-1a`).
instance_type
type: string
Specific cloud instance type (e.g., `g5.2xlarge`, `Standard_NC6s_v3`). If omitted, Seed selects an optimal instance based on CPU, memory, and GPU requirements.
cpus
type: string
CPU count. Specify an exact value like "4" or a minimum with "4+".
memory
type: string
Memory in GB. Specify an exact value like "16" or a minimum with "16+".
disk_size_gb
type: integer
Persistent disk size in gigabytes.
disk_tier
type: string
Disk performance tier. One of standard, high, ultra.
default: standard
spot
type: boolean
Use spot/preemptible instances for lower cost. Spot instances may be reclaimed by the cloud provider.
default: false
gpus
type: string
GPU configuration in the format "GPU_TYPE:COUNT". For example, "A100:1", "H100:4", "T4:2".
image_id
type: string
Custom machine image ID (e.g., AMI for AWS, image URI for GCP). If omitted, a default Outpost base image is used.
ports
type: integer[]
Additional ports to expose. Port 22 (SSH) is always included automatically.
labels
type: object
Cloud provider labels or tags applied to the instance, as key-value pairs.
tools
type: string[]
Development tools to pre-install. For example, ["python", "docker", "rust"].
packages
type: string[]
Linux packages to install via the system package manager. For example, ["ffmpeg", "libcurl4-openssl-dev"].
setup
type: string
A setup script to run on machine startup. Runs as root after tools and packages are installed.
envs
type: object
Environment variables to set in the machine, as key-value pairs.
autostop
type: integer
Number of idle minutes before the machine is automatically paused. Set to `0` to disable.
autoterminate
type: integer
Number of idle minutes before the machine is automatically destroyed. Set to `0` to disable.