hosts
Machine detail: compatibility findings, current offer/job, observed metrics, drain state (host owner/admin)
Includes telemetry: the latest agent-reported sample plus observed_at, age_s and boot_id, or null when nothing was ever reported. Telemetry is evidence only and never influences admission, qualification, billing or job state. A measurement the host could not take is ABSENT from the object — it is never rendered as 0 and never carried over from an earlier sample, so a consumer must age it via age_s and show unknown when stale.
get/api/v1/hosts/machines/{id}
Request
- Base URL: https://amplerun-api.spiry.org
- URL: https://amplerun-api.spiry.org/api/v1/hosts/machines/{id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40
Response
Machine detail.
Example response
{
"recent_jobs": [
{
"job_id": "3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40",
"started_at": "2026-09-25T12:00:00Z",
"ended_at": "2026-09-25T12:00:00Z"
}
],
"telemetry": {
"devices": [
{
"memory_used_bytes": "1",
"memory_total_bytes": "1",
"unified_memory_used_bytes": "1"
}
],
"host": {
"memory_used_bytes": "1",
"disk_free_bytes": "1",
"uptime_s": "1"
},
"observed_at": "2026-09-25T12:00:00Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.