The above call provides the list of Upgrade ids.
The highest id in the list is usually the most recent Upgrade on the cluster.
This upgrade_id serves as an input to the second call as follows:
The second call provides the entire Upgrade
output grouped by Upgrade Groups, Upgrade Items and finally the Upgrade Tasks.
You could extend the call by including additional fields as they appear in an
Upgrade task output as below:
Additionally you could redirect the output of above call to a file and send it over for troubleshooting any issues.