Get machine details
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"status": "creating",
"config": {
"vcpus": 123,
"memory_mb": 123,
"disk_mb": 123
},
"template": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"timeout_ms": 123,
"timeout_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"remaining_ms": 123,
"timeout_action": "destroy",
"last_active_at": "2023-11-07T05:31:56Z",
"inactivity_timeout_ms": 123,
"auto_delete_after_ms": 123,
"ephemeral": true,
"cwd": "<string>",
"snapshot_id": "<string>",
"warm_pool_checkout": {
"source": "ready_instance",
"hit": true,
"id": "<string>",
"mode": "prefer"
}
}{
"error": "<string>",
"code": "invalid_request",
"error_detail": {
"code": "unauthorized",
"message": "<string>",
"phase": "auth",
"retryable": true,
"suggested_action": "<string>",
"step_index": 123,
"attempt": 123,
"max_attempts": 123,
"cache_subject": "<string>",
"build_id": "<string>",
"request_id": "<string>",
"details": {}
},
"request_id": "<string>",
"build_id": "<string>"
}Machines
Get machine details
GET
/
v1
/
machines
/
{id}
Get machine details
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"status": "creating",
"config": {
"vcpus": 123,
"memory_mb": 123,
"disk_mb": 123
},
"template": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"timeout_ms": 123,
"timeout_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"remaining_ms": 123,
"timeout_action": "destroy",
"last_active_at": "2023-11-07T05:31:56Z",
"inactivity_timeout_ms": 123,
"auto_delete_after_ms": 123,
"ephemeral": true,
"cwd": "<string>",
"snapshot_id": "<string>",
"warm_pool_checkout": {
"source": "ready_instance",
"hit": true,
"id": "<string>",
"mode": "prefer"
}
}{
"error": "<string>",
"code": "invalid_request",
"error_detail": {
"code": "unauthorized",
"message": "<string>",
"phase": "auth",
"retryable": true,
"suggested_action": "<string>",
"step_index": 123,
"attempt": 123,
"max_attempts": 123,
"cache_subject": "<string>",
"build_id": "<string>",
"request_id": "<string>",
"details": {}
},
"request_id": "<string>",
"build_id": "<string>"
}Query Parameters
Response
Machine details