HCX Workload Migration APIs. Operations Index

HCX Workload Migration APIs. Operations Index

All available HCX Workload Migration APIs. Operations

Appliances
GET
Get All Interconnect Appliances

Retrieves a comprehensive list of all HCX interconnect appliances deployed across all service meshes in the HCX environment. This includes appliances at both the local (source) and remote (destination) sites. The API returns complete appliance details including configuration, status, capacity, resource assignments, and health indicators for all deployed appliance types.

POST
Get Interconnect Appliances By Filter

Retrieves HCX interconnect appliances matching specified filter criteria. This API provides flexible filtering capabilities to query appliances based on service mesh, endpoint, type, state, and other attributes. Supports including additional data such as certificates in the response for specific appliance types (e.g., Sentinel Gateway certificates).

PUT
Update Interconnect Appliance

Update interconnect appliance.

GET
Get Statistics For Exteneded Network

Retrieves traffic statistics and MAC address information for a specific extended network (L2 stretch).

POST
Redeploy Interconnect Appliance

Redeploys an appliance by recreating its VM while preserving configuration. This asynchronous operation creates a new appliance VM, migrates configuration, and removes the old VM. Use this to recover from VM corruption, failed state, or hardware migration scenarios.

POST
Force Sync Interconnect Appliance

Forces immediate synchronization of appliance configuration with HCX Manager database. Resynchronizes settings, refreshes tunnels, and updates certificates. Use when configuration drift is detected or after network/infrastructure changes.

POST
Diagnose Interconnect Appliance

Executes comprehensive diagnostic tests on the appliance. This is an asynchronous operation.

POST
Upgrade Interconnect Appliance

Upgrades the appliance software to a newer version. This is an asynchronous operation.

Capabilities
GET
Get Capabilities

Retrieves all HCX Interconnect capabilities available in the current deployment. Capabilities define the features and services that can be used based on the deployed infrastructure, licenses, and configuration. Use this to determine which migration types, network services, and features are available.

POST
Get Capabilities By Filter

Get interconnect capabilities for matching specified filters like featureId, category, status and endpointId

POST
Get Site Pair Capabilities

Retrieves capabilities available between two specific HCX sites (source and destination)

Cloud Registration Apis
GET
Fetch Cloud Endpoint

List all the site-pairs. This API retrieves information about all site pairings configured on the local HCX manager.

POST
Register Cloud Endpoint

Register a remote HCX manager endpoint. This API initiates the site pairing process by authenticating with the remote HCX manager, exchanging certificates, and establishing a trusted connection.

PUT
Update Endpoint

Register a remote HCX manager endpoint. This API initiates the site pairing process by authenticating with the remote HCX manager, exchanging certificates, and establishing a trusted connection.

DELETE
Unregister Cloud Endpoint

Un-register a registered remote HCX manager endpoint. This API removes the site pairing and cleans up associated resources.

Compute Profiles
GET
Get Compute Profiles

List compute profiles

POST
Create Compute Profile

This asynchronously creates a new compute profile using the specified configuration and returns a taskId. The configuration submitted must be unique, non-empty, and include at least one compute resource and a deployment container with both a valid cluster and datastore. Ensure at least one service, management, and uplink networks are enabled.

POST
Query Compute Profiles

Query compute profiles

POST
Preview Compute Profile

Provides a preview of firewall rules for a compute profile not yet created. Tomorrow preview may provide other functionality/validations.

GET
Get Compute Profile

Get a compute profile.

PUT
Modify Compute Profile

Modify a compute profile with config. The behavior is same as create operation.

DELETE
Delete Compute Profile

Delete a compute profile by id.

POST
Preview Compute Profile By Id

Provides a preview of firewall rules for an existing compute profile.

Fips Modules
GET
Get FIPS Modules

Get the list of all the FIPS modules and their versions, certs, etc.

Get Hagroup
GET
Get HA Group

Retrieves comprehensive configuration and operational details for a specific HA group. This API provides complete information about the group's member appliances, current health status, active/standby roles, HA policy configuration, failover history, and performance metrics. Use this endpoint to monitor specific HA group health, troubleshoot issues, or retrieve configuration for automation workflows.

DELETE
Delete HA Group

Deletes an HA group and returns member appliances to standalone operation. This operation disables HA protocols, removes group configuration from all member appliances, and restores each appliance to independent operation. Network extensions assigned to the group are redistributed to individual appliances or fail if redistribution is not possible.

Hagroups
POST
Create HA Group

Creates a High Availability (HA) group from two or more network extension appliances to provide redundancy and failover capabilities. HA groups ensure continuous network extension service availability if one appliance fails. The group synchronizes state between members, monitors health, and automatically fails over to standby appliances when the primary becomes unavailable.

GET
List HA Group

Retrieves a list of all High Availability groups configured in the HCX environment, optionally filtered by service mesh. Returns summary information for each HA group including member appliances, health status, current active appliance, and HA policy. Use this API to monitor HA group status, verify configurations, or identify groups requiring attention.

GET
Get Timeline Events

get timeline events for HA groups

POST
Redeploy HA Group

Redeploys all appliances in an HA group to refresh configuration, apply updates, or recover from configuration drift. This operation undeploys and redeploys each appliance in the group while maintaining HA group integrity and minimizing service disruption. The redeploy is performed sequentially on group members to ensure continuous availability of network extension services.

POST
Recover HA Group

Attempts to recover an HA group that is in a failed or degraded state by diagnosing issues, resynchronizing configuration, restarting HA services, and repairing member appliances. This operation performs comprehensive recovery actions to restore the HA group to healthy operational state without requiring full redeployment.

POST
Force Failover HA Group

Manually triggers immediate failover in an HA group, forcing the active appliance to relinquish its role and promoting a standby appliance to active. This operation is used for planned maintenance, testing failover capability, or emergency situations. Use with caution as it causes brief service disruption during the failover process.

POST
Force Sync HA Group

Forces immediate state synchronization across all members of an HA group ensuring all appliances have consistent configuration and state. Use when appliances may be out of sync due to network issues or configuration drift.

POST
Upgrade HA Group

Upgrades all appliances in an HA group to the latest available HCX version using a rolling upgrade process to ensure continuous availability. Appliances are upgraded sequentially with automatic failover to minimize service disruption.

Hcx Alerts Apis
POST
Query Alerts

Queries and retrieves HCX system alerts based on flexible filter criteria including severity, state, time range, entity, module, and category. This API provides comprehensive access to all system alerts generated by HCX components including appliances, migrations, network extensions, service mesh operations, and system health events. Alerts represent important events, warnings, errors, and informational messages that require administrator attention or provide operational visibility.

POST
Acknowledge Hcx Alert

Mark an alert as acknowledged. This API updates the alert status to indicate that a user has acknowledged the alert and taken note of it.

DELETE
Delete Hcx Alert

This API shall delete an alert, and will not be a part of the query alerts API response subsequently.

Hcx Audit Logs
POST
Get Audit Logs

Query audit logs from the database based on various filter criteria. This API provides comprehensive audit trail information for all operations performed on the HCX system.

Hcx Certificate Management
POST
Get HCX Certs

Certificate pertaining to TLS enabled API and appliance management endpoints of HCX

Hcx Network And Gateway Config
GET
Fetch dvpgs and virtualwires

Fetch unused dvpgs and virtual wires from vCenter and NSX. Useful while importing a network.

GET
Get global config

Miscellaneous settings required to create networks

PUT
Update global config

Miscellaneous settings required to create networks

DELETE
Delete deployment container

Deletes the deployment container for the given input id

GET
Fetch deployment container

Fetches the deployment container for the given input id

PUT
Update deployment container

Updates the deployment container for the given input id

GET
Fetch all deployment containers

Fetches all deployment containers

POST
Create deployment container

Creates the deployment container with the provided input

POST
Import network

Imports the network. Based on the input, network can be transit, trunk or internal

GET
Get Compute Info

Retrieves vCenter compute information including vCenterInstanceUuid. Use this to get the scopeId needed for other compute-related APIs.

GET
Get Deployment Containers By Scope

Retrieves available deployment containers (clusters, resource pools) for a specific vCenter. Enterprise administrators can view all deployment containers.

GET
Fetch networks for given vcenter

Fetch networks for given vcenter

GET
Get /hybridity/api/gateways

Retrieves a list of all Edge Services Gateways (ESG) accessible to the user.

POST
Create gateway

Creates a new Edge Services Gateway (ESG) for HCX networking. Gateways provide routing, NAT, and firewall services for HCX networks.

DELETE
Delete gateway

Deletes Edge Services Gateway for the given input id

GET
Fetch gateway

Fetches detailed configuration and status for a specific gateway. Returns complete gateway information including all interfaces, routing configuration, HA settings, and operational status.

POST
Redeploy/upgrade/forcesync Of gateway

Based on the action query parameter action on gateway is performed. Supported actions are upgrade, redeploy, forcesync

PUT
Update gateway

Updates Edge Services Gateway for the given input id

POST
Change appliance size

Based on the size parameter, Edge Services gateway appliance will change.

GET
Get High Avilability config for gateway

Get High Avilability config for gateway

PUT
Updates High Avilability config for gateway

Updates High Avilability config for gateway

DELETE
Delete interface for gateway

Deletes an interface of Edge Services Gateway

GET
Fetch all interfaces Of A gateway

Fetches all interfaces of an Edge Services Gateway for the given input id

PUT
Update all interfaces Of A gateway

Updates all interfaces of an Edge Services Gateway for the given input id

DELETE
Delete specific interface Of gateway

Delete interface of an Edge Services Gateway for the given input id and given input index

GET
Fetch interface Of gateway

Fetches interface of an Edge Services Gateway for the given input id and given input index

PUT
Update interface Of gateway

Updates interface of an Edge Services Gateway for the given input id and given input index

GET
Get permissions for gateway

Get permissions for gateway for the logged in user

GET
Get Networks

Retrieves all networks visible to HCX from vCenter inventory. Includes distributed virtual port groups, standard port groups, and NSX segments. Use the optional endpointId parameter to query networks from a remote site.

POST
Create network

Creates a network.

DELETE
Delete Network Profile

Delete Network Profile

GET
Get A Network Profile By ID

Get a Network Profile by ID

PUT
Update network

Update network

GET
Fetch unused IPs for network

Fetch unused IPs for network

GET
Fetch total IP count for network

Fetch total IP count for network

GET
Fetch permissions for network

Fetch permissions for network

POST
Repair network

Useful if network is in bad shape.

GET
Fetch used IPs for network

Fetch used IPs for network

Hcx Platform Apis
POST
Create API session

Create API session

GET
Get Job Status

Retrieves the current status of an asynchronous job. Most of the HCX operations (gateway creation, migrations, network extensions, etc.) execute asynchronously and return a job ID. Use this endpoint to poll for job completion and retrieve the outcome.

Hcx Techsupport Bundle
GET
Get /hybridity/api/techsupport/components Deprecated
POST
Post /hybridity/api/techsupport Deprecated
GET
Get /hybridity/api/techsupport/task/ {task Id} Deprecated
GET
Get Tech Support Bundles Deprecated

getTechSupportBundles

Hybridity
GET
Get Certificate

NDC API to get the JWT token signed with private-key of the certificate

Interconnect Appliances Metrics Details
POST
Get Interconnect Appliance Metrics

Returns the HCX interconnect appliances metrics details.

L2 Network Extensions
POST
Validate L2 Network Extensions

Validates network extension configuration before actually extending networks. This API performs comprehensive pre-flight checks to identify potential issues before committing to the extension operation.

POST
Create L2 Network Extensions

Creates Layer 2 network extensions for one or more networks across HCX sites. This is the primary API for extending networks, enabling VMs to maintain their IP addresses and Layer 2 adjacency when migrated between sites. The operation is asynchronous and returns immediately with validation results for each network extension request. Network extensions create secure Layer 2 tunnels using the HCX Network Extension (NE) appliances at both source and destination sites.

GET
Get L2 Network Extensions

Retrieves a comprehensive list of all Layer 2 network extensions managed by this HCX Manager. Returns detailed information about each extended network including configuration, operational status, appliance assignments, feature settings, and health indicators. This API provides visibility into all active network extensions regardless of which site or service mesh they belong to, making it ideal for monitoring and inventory purposes across the entire HCX deployment.

GET
Get L2 Network Extension

Retrieves detailed configuration and operational status for a specific Layer 2 network extension identified by its extensionId (also known as stretchId). This API provides comprehensive information about a single extended network including all configuration parameters, operational state, health metrics, appliance assignments, and feature settings. Use this endpoint to monitor the status of a specific extension or retrieve its configuration for troubleshooting purposes.

POST
Apply Custom VDRMAC

Applies custom VDR (Virtual Distributed Router) MAC addresses to specified network extensions.

POST
Network Extension Transition Eligibility

Determines which Network Extension (NE) appliances or HA groups are eligible as targets for transitioning existing network extensions. Network extension transition allows moving active Layer 2 extensions from one NE appliance/HA group to another without disrupting the extended network or migrated VMs. This API evaluates appliance compatibility, capacity, and configuration to identify valid transition targets.

POST
Network Extension Transition

Executes network extension transition, moving active Layer 2 extensions from their current Network Extension (NE) appliances or HA groups to new target appliances/groups. This operation migrates the network extension control plane and data plane without disrupting the extended network or affecting VMs using the extension. The transition is performed seamlessly with minimal or zero packet loss depending on the transition scenario.

Legacy Migrations Apis
POST
Create Migrations Deprecated

Create Migrations

POST
Update Migrations Deprecated

Update Migrations

POST
Start Migrations Deprecated

Start Migrations

POST
Query Migrations Deprecated

Query Migrations

POST
Validate Migrations Deprecated

Validate Migrations

POST
Delete Migrations Deprecated

Delete Migrations

POST
Cancel Migrations Deprecated

Cancel MIgrations

Migration Planning
POST
Fetch Migration Wave Summary

Retrieves a list of migration waves based on optional filter criteria. This endpoint allows filtering by migration wave ID, state, and source information.

PUT
Commit Migration Wave

Commits a migration wave by creating mobility groups on the HCX platform. This is an asynchronous operation.

DELETE
Delete Migration Wave

Deletes or un-commits a migration wave based on its current state. This is an asynchronous operation for committed waves.

POST
Conclude Migration Wave

Conclude the migration wave with the given wave ID.

Migration Predictions
GET
Get Predictions

Get Predictions for given predictionId

Migration Wave V2
POST
Fetch Migration Wave Mobility Groups Summary

Retrieves a paginated list of migration waves with mobility group summaries. This endpoint returns aggregated statistics about mobility groups within each migration wave including VM counts, resource summaries, and state information.

Mobility Groups
POST
Create Mobility Groups

Create new mobility group

PUT
Update Mobility Groups

Update Mobility Group

POST
Delete Mobility Group

This operation will delete specified mobility group, only if all the migrations in the group are in draft state.

POST
Query Mobility Groups

Query pre-created mobility groups.

POST
Start Mobility Groups Migrations

This API will start migrations of all VMs specified in the groups configuration.

POST
Cancel Mobility Groups Migrations

This operation will stop all the running migrations specified in mobility groups configuration.

POST
Validate Mobility Groups
  1. Request body can be full definition of Mobility Group or simply migrationGroupId(where mobility group is already pre-created).
  2. Payload can be validated before or after Mobility Group is created.
POST
Prediction For Migration Group
  1. Request body will be the Mobility Group Id.
  2. Prediction will only happen for Mobility Groups that haven't started
Mobility Groups Archive
POST
Archive Mobility Groups

This operation will archive specified mobility groups. All migrations in the group must be in terminal state.

Mobility Groups Intent
POST
Query Mobility Groups Intent

Query mobility groups intent.

Mobility Groups Schedule
POST
Schedule Mobility Groups Migrations

Create/Update/Delete schedule for a mobility group/migration/s

POST
Query Schedule Info

Fetch transfer and switchover schedule

POST
Fetch Mobility Group Calendar Summary

Fetch mobility group calendar summary

Mobility Groups V2
POST
Fetch Mobility Groups Top Level Summary

Fetch mobility groups top level summary

GET
Fetch Mobility Group Detail Summary

Fetch detailed summary for a mobility group

GET
Fetch Mobility Group Config

Fetch config of a mobility group

POST
Fetch Mobility Group Migrations Summary

Fetch mobility group migrations summary

GET
Fetch Migration Details

Fetch migration details

POST
Retry Mobility Group Migrations

Perform retry of failed, cancelled migrations of a mobility group.

Mobility Migration
POST
Create Mobility Migration Intents Deprecated

Create new migration intents

PUT
Update Mobility Migration Intents

Updates configuration of existing migration intents.

POST
Start Mobility Migrations Deprecated

Start migrations with one or more existing intents or use specified intents

POST
Validate Mobility Migrations Deprecated

Validate migration with existing intents

POST
Cancel Mobility Migrations

Gracefully cancels running migrations.

POST
Force Cancel Mobility Migrations

Forcefully terminates a migration that failed to cancel gracefully.

POST
Archive Mobility Migrations

Archives completed, failed, or cancelled migrations (soft delete).

POST
Delete Mobility Migrations

Delete operation will delete one or more archived migrations.

POST
Retry Mobility Migrations

Retry one or more failed and cancelled migration(s).

Mobility Migration Calendar
POST
Fetch Migrations Calendar Summary

Fetch calendar summary of migrations belonging to given mobility groups

Ne Policy Routes
GET
Get Policy Routes

Fetch Currently confiugred Policy Routes from NSX-T

PUT
Put Policy Routes

Configure Policy Routes on NSX-T

Network Extensions
POST
Create Network Extension Deprecated

Creates a single network extension between source and destination sites.

PUT
Put Network Extension

Enable or Disable MON on the specified network extension

DELETE
Remove Network Extension

Remove Network Extension

GET
List Network Extensions

Retrieves a list of all active Layer 2 network extensions.

POST
Create L2 Network Extension Deprecated

Creates a Layer 2 extension (network stretch) from source to destination site.

DELETE
Delete Network Extension Deprecated

Removes a Layer 2 extension, tearing down the tunnel between sites.

Query Migrations Details
POST
Query Hcx Migrations

Returns detailed information about virtual machine migrations based on filter criteria. This endpoint queries the migration database and returns comprehensive details including:

  • Migration configuration (source/destination, type, scheduling)

  • Real-time progress (transfer/switchover status, bytes transferred, completion percentage)

  • Network and storage mappings

  • Placement and resource allocation

  • Error messages and troubleshooting information

Sentinel
POST
Upgrade Sentinels

Performs a POST operation on one or more sentinel Resource.

POST
Upgrade A Sentinel

Performs a POST operation on a specific sentinel.

Sentinel Bundle
POST
Create Sentinel Bundle

Create sentinel bundle

GET
Get Sentinel Bundle Task Status

Get the status of a sentinel bundle task.

GET
Download File

Download sentinel bundle.

Sentinel Uninstall
POST
Sentinel Uninstall

Uninstalls sentinel software from source system.

GET
Get Sentinel Uninstall Task Status

Retrieves the status of sentinel uninstall task.

Sentinel Version
GET
Get Available Sentinel Version

Retrieves the sentinel software version available for upgrade.

Service Mesh
POST
Get Service Mesh List For Migrations

Retrieves service meshes that can be used for migrating VMs based on source and destination parameters.

POST
Get Compute Profile Ids For Migration Parameters

Fetch all compute profiles for given target migration parameters

GET
Get All Service Mesh

List all service meshes

POST
Create Service Mesh

Create service mesh

POST
Resync Service Mesh

Resync the service mesh with any changes in local or remote compute profiles

POST
Generate Diff Service Mesh

Generate diff service mesh.

POST
Get All Service Mesh By Filter

List all service meshes

GET
Get Service Mesh

Get a service mesh.

PUT
Modify Service Mesh

Update a service mesh.

DELETE
Delete Service Mesh

Delete a service mesh.

POST
Preview Service Mesh

Preview a service mesh.

POST
Diagnose Service Mesh

Run diagnosis on a service mesh.

POST
Get Diagnostics Summary

Get the list of diagnostics runs (summary) of a service mesh matching the filters.

GET
Get Diagnostics Details

Get the list of diagnostics run of a service mesh.

Sitepair Resource Containers Details
POST
Get Hcx Sitepair Resource Containers

Returns the HCX site-pair resource containers and their status details.

Tasks
GET
Get All Interconnect Tasks

Get all interconnect tasks

GET
Get Interconnect Task

Get a interconnect task by id.

POST
Get Interconnect Tasks By Filter

query interconnect tasks.

Underlay Characterization
GET
Get Pmtu By Uplink Id

This API takes an uplinkId as a parameter and returns the last discovered, configured and current MTU values for the uplink

GET
Get Pmtu Status By Service Mesh Id

This API takes ServiceMeshId as a parameter, and returns the last discovered, configured and current MTU values for all the uplinks in the service mesh

GET
Get Underlay Services

This API returns the minPI(threshold) values for all migration services.

GET
Get Uplinks Overview

This API returns the metric data based on the last calculated values for all the uplinks

GET
Get Uplinks Overview For Uplink Id

This API returns the metric data based on the last calculated values for the specified uplinkId and serviceMeshId

GET
Get On Demand Metric For Service Meshes

This API returns the on demand metric data based on the last calculated values for the service meshes

GET
Get On Demand Metric For Service Mesh Id

This API returns the on demand metric data based on the last calculated values for the specified service mesh

POST
Run On Demand Uplink Metrics Test For Service Mesh

Trigger the on demand underlay metrics measurement test for the given service mesh

POST
Run On Demand Uplink Metrics Test For Uplink

Trigger the on demand underlay metrics measurement test for the given uplinkId in a specified serviceMeshId

GET
Get Utilization For Uplink Id

This API returns uplink aggregated metric in ascending order between startTime and endTime, both inclusive (if provided). It is recommended that both startTime and endTime should be passed.

GET
Get Underlay Task

Get an underlay task by id.

Vms
GET
Get Vms On Extended Network

Get VMs on extended Network

POST
Post Vms On Extended Network

Toggle VM state between Proximity Routed & Non-Proximity Routed