Register a device for passthrough
/devices
Register a device for passthrough
Body Parameters
pci_address: string
PCI address of the device (required, e.g., "0000:a2:00.0")
name: optional string
Optional globally unique device name. If not provided, a name is auto-generated from the PCI address (e.g., "pci-0000-a2-00-0")
Returns
Register a device for passthrough
curl http://localhost:8080/devices \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $HYPEMAN_API_KEY" \
-d '{
"pci_address": "0000:a2:00.0",
"name": "l4-gpu"
}'
{
"id": "tz4a98xxat96iws9zmbrgj3a",
"bound_to_vfio": false,
"created_at": "2025-01-15T10:00:00Z",
"device_id": "27b8",
"iommu_group": 82,
"pci_address": "0000:a2:00.0",
"type": "gpu",
"vendor_id": "10de",
"attached_to": null,
"name": "l4-gpu"
}
Returns Examples
{
"id": "tz4a98xxat96iws9zmbrgj3a",
"bound_to_vfio": false,
"created_at": "2025-01-15T10:00:00Z",
"device_id": "27b8",
"iommu_group": 82,
"pci_address": "0000:a2:00.0",
"type": "gpu",
"vendor_id": "10de",
"attached_to": null,
"name": "l4-gpu"
}