Machines
Create a Machine
Creates a Machine from a workspace-owned OCI image. Execution placement is asynchronous. The root filesystem is ephemeral, and all filesystem changes are lost whenever execution stops or restarts.
post/machines
Request
- Base URL: /v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/machines
- Auth: HTTP bearer
Request body
Example request
{
"$schema": "/v1/schemas/CreateMachineInputBody.json",
"machine_tier": "small",
"network": {
"ingress": {
"authenticated": {
"key": "atlasflow",
"ports": [
"80",
"443"
]
},
"public": {
"ports": [
"0-65535"
]
}
}
},
"region": "de-fra-1"
}Response
Created
Example response
{
"$schema": "/v1/schemas/MachineResponse.json",
"network": {
"ingress": {
"authenticated": {
"key": "atlasflow",
"ports": [
"80",
"443"
]
},
"public": {
"ports": [
"0-65535"
]
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.