Get host capabilities
Changed onReturns machine-readable host capabilities: server and API version, host OS/architecture, every runtime available on this host with its per-runtime feature IDs, the configured default runtime and whether it is available, guest networking model and host gateway, supported image platforms, and stable server-level feature IDs.
Runtime-derived values reflect the actual host (for example, snapshot and standby support on macOS is gated on the host OS version), so clients can gate behavior on capabilities without hard-coding hypervisor knowledge.
get/capabilities
Request
- Base URLhttp://localhost:4973
- URLhttp://localhost:4973/capabilities
- AuthHTTP bearer
Response
Host capabilities
Example response
{
"server": {
"version": "76a2fdb3",
"api_version": "0.2.0"
},
"host": {
"os": "linux",
"arch": "arm64"
},
"default_runtime": {
"name": "cloud-hypervisor"
},
"runtimes": [
{
"name": "cloud-hypervisor"
}
],
"network": {
"gateway": "10.100.0.1",
"subnet": "10.100.0.0/16"
},
"images": {
"platforms": [
"linux/arm64",
"linux/amd64"
],
"default_platform": "linux/arm64"
}
}Changes
- info
endpoint added
- info