Skip to main content

Transiva migration gateway

Machina exposes the migration plane of Transiva/h2kvm under /api/v1/transiva/*. Conversion and guest repair stay in Transiva; Machina adds one authenticated entry point and the usual RBAC and audit trail. All routes need the operator role.

Method and pathForwards toPurpose
GET /api/v1/transiva/statusGET /api/v1/healthIs the Transiva web service reachable
GET /api/v1/transiva/providersGET /api/v1/providers/Source platforms Transiva can read
POST /api/v1/transiva/migrations/previewPOST /api/v1/migrations/previewDry-run a migration
POST /api/v1/transiva/migrations/submitPOST /api/v1/migrations/submitStart one migration job
POST /api/v1/transiva/migrations/batchPOST /api/v1/migrations/batchStart several

Request bodies are passed through unchanged; use the Transiva reference for their fields.

Configuration​

VariableDefaultPurpose
MACHINA_TRANSIVA_URLhttp://127.0.0.1:5070Transiva web (h2kweb) base URL; must be http:// or https://
MACHINA_TRANSIVA_API_KEYunsetSent as X-API-Key
MACHINA_TRANSIVA_TIMEOUT_SECS60Per-call timeout

A Transiva error is returned with its status and the first 2 KB of its body, plus a remediation hint.

:::note Status Unit-tested only. scripts/qualification/transiva-live.sh runs the full path against a live h2kweb. :::