proxmox api documentation searches want the first commands — not the whole reference manual. Security: API tokens & automation.
pvesh on the node
Shell API explorer — same paths as REST.
bashnodes
pvesh get /nodes
pvesh get /nodes/$(hostname)/qemu

REST base URL
HTTPS on port 8006, path /api2/json.
bashcurl ticket
curl -k -s 'https://127.0.0.1:8006/api2/json/version'

API tokens
Prefer tokens over root password for scripts.
bashtoken header
curl -k -H 'Authorization: PVEAPIToken=USER@pam!ID=SECRET' \
'https://PVE:8006/api2/json/nodes'

Next steps
Terraform, Ansible, and observability hooks.
TipPair with pve-exporter for metrics.

Quick Reference
- Tokens: API tokens guide
pvesh create /nodes/N/qemufor VMs
Related tutorials
Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.