List machine types
curl --request GET \
--url http://127.0.0.1:8765/v1/machines/types \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:8765/v1/machines/types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:8765/v1/machines/types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"docker": [
{
"name": "container",
"type": "string",
"secret": false,
"required": true
}
]
}Machine
List machine types
GET
/
v1
/
machines
/
types
List machine types
curl --request GET \
--url http://127.0.0.1:8765/v1/machines/types \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:8765/v1/machines/types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:8765/v1/machines/types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"docker": [
{
"name": "container",
"type": "string",
"secret": false,
"required": true
}
]
}List supported machine configuration types and their fields. Available types depend on the server.
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.
Errors
Errors
| Status | Meaning |
|---|---|
401 | The token is missing or wrong (unauthorized). |
429 | Past a rate limit (rate_limited), or a new session past max_sessions (session_limit). |
501 | The server does not support this call (not_supported). Saved configs are kept only on a server of one account. |