About NX-API CLI

NX-API CLI is an enhancement to the Cisco Nexus 9000 Series CLI system, which supports XML output. NX-API CLI also supports a JSON output format for specific commands. On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. NX-API CLI improves the accessibility of these CLIs by making them available outside of the switch by using HTTP/HTTPS. You can use this extension to the existing Cisco Nexus CLI system on the Cisco Nexus 9000 Series devices. NX-API CLI supports show commands, configurations, and Linux Bash. NX-API CLI also supports JSON-RPC.

For more information, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x.html