Get Sspi Upgrade Status

Get Sspi Upgrade Status
Retrieve upgrade operation status and progress

Retrieves real-time status and detailed progress information for the upgrade operation. This endpoint provides visibility into upgrade execution with granular reporting for each upgrade phase.

Poll this endpoint at regular intervals while upgrade is in progress.

Upon completion, verify that overall_status is SUCCESS. If status is FAILED, examine the upgrade_steps array for the failed step to identify root cause or connect with VMware Support for assistance.

If no upgrade has been initiated, the response indicates NOT_STARTED status.

Note: During the appliance VM upgrade phase, the system will reboot and this endpoint may be temporarily unavailable. Resume polling after the system comes back online.

Request
URI
GET
https://{api_host}/sspi/upgrade/status
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Upgrade status retrieved successfully. The response contains the overall upgrade status, current and target versions, and detailed progress information for each upgrade step.

Returns SspiUpgradeStatus of type(s) application/json
{
    "current_version": "string",
    "target_version": "string",
    "overall_status": "string",
    "upgrade_steps": [
        {
            "_create_time": 0,
            "_last_modified_time": 0,
            "id": "string",
            "display_name": "string",
            "description": "string",
            "activity_status_msg": "string",
            "_completed_at": 0,
            "status": "string",
            "messages": [
                {
                    "severity": "string",
                    "message": "string"
                }
            ],
            "last_run_time": 0
        }
    ],
    "pre_checks_status": {
        "overall_status": "string",
        "pre_checks": [
            {
                "_create_time": 0,
                "_last_modified_time": 0,
                "id": "string",
                "display_name": "string",
                "description": "string",
                "activity_status_msg": "string",
                "_completed_at": 0,
                "status": "string",
                "messages": [
                    {
                        "severity": "string",
                        "message": "string"
                    }
                ],
                "last_run_time": 0
            }
        ]
    }
}
string
current_version
Required   Read-Only  

Current version of the appliance before upgrade. This field indicates the version from which the system is being upgraded.

This field is always present and populated, even when upgrade status is NOT_STARTED, indicating the currently running system version.

string
target_version
Required   Read-Only  

Target version of the appliance after upgrade completion. This field indicates the version to which the system will be upgraded.

This field is always present and populated, indicating the version that will be installed when the upgrade completes successfully.

string
overall_status
Required   Read-Only  

Execution state of an operation.

Enumeration: NOT_STARTED, IN_PROGRESS, SUCCESS, SUCCESS_WITH_WARNINGS, FAILED, SKIPPED, PAUSED
array of upgrade_steps
upgrade_steps
Required  

Ordered sequence of all upgrade steps with their individual execution status and messages. Each entry combines the step definition with real-time execution state. Steps are listed in the order they are executed.

Monitor individual steps to track upgrade progress, identify which step is currently executing, determine which step failed if upgrade fails, and review progress messages for long-running steps.

object
pre_checks_status
Optional

Aggregated status of all pre-checks validations, providing a complete view of system readiness for appliance upgrade along with detailed execution status for each individual pre-check.


400

Bad Request

Returns BadRequest of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


401

Unauthorized

Returns Unauthorized of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


403

Forbidden

Returns Forbidden of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


412

Precondition Failed

Returns PreconditionFailed of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


428

Precondition Required

Returns PreconditionRequired of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


429

Too Many Requests

Returns TooManyRequests of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


default

Unexpected error occurred while retrieving upgrade status. Consult the error response details and system logs for diagnostic information.

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sspi/upgrade/status