Computers
Get or create a Computer by name.
Idempotent: the first call creates the machine (201), every identical repeat returns the existing one (200). Resource changes on a repeat are ignored — the existing machine wins. Use this instead of create when an agent may retry.
put/v1/computers/by-name/{name}
Request
- Base URL: https://api.scalix.world
- URL: https://api.scalix.world/v1/computers/by-name/{name}
- Auth: HTTP bearer
Path parameters
namestring required
Lowercase DNS label, max 63 characters
Request body
Example request
{
"name": "build-box",
"image": "ubuntu24",
"resources": {
"vcpus": 2,
"memory_mb": 2048,
"disk_gb": 20
},
"ssh_keys": [
"ssh-ed25519 AAAAC3Nz… you@laptop"
]
}Response
The existing Computer
Example response
{
"status": "RUNNING"
}Changes
No recorded changes to this operation across all 1 revision of this API.