Retrieves high-level information about the VM’s operating system and platform. Use this to determine the environment you’re working with.
Replace VM_API_IP:PORT with the actual IP and port of the VM’s Desktop Environment API server.
Response
Operating system type (e.g., windows, linux, darwin)
CPU architecture (e.g., x86_64, arm64)
curl -X GET "http://VM_API_IP:PORT/platform"
{
"os_type": "linux",
"version": "Ubuntu 22.04.3 LTS",
"architecture": "x86_64"
}