Skip to content
Maua.Culturewire

Proxmox VE

Nodes, VMs and containers on your Proxmox VE cluster

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Proxmox VE URLRequiredHTTPS URL
    • Token IDRequired
    • SecretSecretRequired

    Where to find them

    1. In Proxmox VE open “Datacenter” → “Permissions” → “API Tokens” and click “Add”.
    2. Pick the “User” (e.g. root@pam), type a “Token ID” (e.g. culturewire) and click “Add”. With “Privilege Separation” ticked (the default) the token has no permissions, so the test passes but lists come back empty, until you grant it a role in “Permissions” → “Add” → “API Token Permission” (path /; PVEAuditor to read, PVEVMUser to also start and stop guests); untick it to give the token all of its user's permissions.
    3. Copy the “Token ID” and the “Secret” (shown only once) and paste them here with the node's address.
    4. A default install uses a certificate from the cluster's own CA, which is rejected: give the node a trusted certificate (“Datacenter” → “ACME”, then the node's “System” → “Certificates”) or a reverse proxy with one, and use that name.

    Get credentials (opens in a new tab)

Tools (1)

  • Proxmox VE API requestPROXMOX_SEND_REQUEST

    Authenticated call to the Proxmox VE API ({url}/api2/json). Any endpoint of the API is allowed. Every answer is wrapped in {"data": …}. Examples: GET /version, GET /cluster/resources?type=vm (every VM and container with its node, status, CPU and memory), GET /nodes, GET /nodes/{node}/qemu (VMs), GET /nodes/{node}/lxc (containers), GET /nodes/{node}/qemu/{vmid}/status/current (is it running), POST /nodes/{node}/qemu/{vmid}/status/start, POST /nodes/{node}/qemu/{vmid}/status/shutdown {"timeout":60} (clean shutdown), POST /nodes/{node}/qemu/{vmid}/status/stop (immediate, like pulling the plug); the same under /nodes/{node}/lxc/{vmid}/status/… for containers. Start, shutdown and stop return a task ({"data":"UPID:…"}): GET /nodes/{node}/tasks/{upid}/status tells when it has finished (status "stopped") and whether it worked (exitstatus "OK"). GET /access/permissions lists what this token may do.

    Required scopes

    No scopes required

    Input

    Proxmox VE API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.