{
  "info": {
    "_postman_id": "e8ed6134-9612-46ad-ac2b-a58c9ac48a17",
    "name": "Commvault Automation Agents Virtual Machines API",
    "description": "API for automating Commvault workflows, job scheduling, and policy management. Enables programmatic creation and execution of custom workflows, management of schedule policies, and configuration of automated operations for data protection environments.\n\nContact Support:\n Name: Commvault Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:26:16.000Z",
    "updatedAt": "2026-07-28T01:26:16.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-e8ed6134-9612-46ad-ac2b-a58c9ac48a17"
  },
  "item": [
    {
      "name": "VM",
      "item": [
        {
          "name": "{vmUUID}",
          "item": [
            {
              "name": "Commvault Get virtual machine details",
              "id": "3dbf6d10-36db-48fb-99a2-6c8dc0d44d91",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/VM/:vmUUID",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "VM",
                    ":vmUUID"
                  ],
                  "variable": [
                    {
                      "id": "38bfee13-b6ed-43a7-9935-09762e557fd0",
                      "key": "vmUUID",
                      "value": "<string>",
                      "description": "(Required) UUID of the virtual machine"
                    }
                  ]
                },
                "description": "Retrieves detailed information about a specific virtual machine, including backup history, recovery points, and configuration."
              },
              "response": [
                {
                  "id": "bbc21bfa-2097-40d8-8660-961e95b86a66",
                  "name": "Virtual machine details",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/VM/:vmUUID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "VM",
                        ":vmUUID"
                      ],
                      "variable": [
                        {
                          "key": "vmUUID"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"vmUUID\": \"<string>\",\n  \"vmName\": \"<string>\",\n  \"vmStatus\": \"Pending\",\n  \"hypervisor\": {\n    \"clientId\": \"<integer>\",\n    \"clientName\": \"<string>\"\n  },\n  \"vmSize\": \"<integer>\",\n  \"lastBackupTime\": \"<integer>\",\n  \"lastBackupJobId\": \"<integer>\",\n  \"planName\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:26:17.000Z",
                  "updatedAt": "2026-07-28T01:26:17.000Z",
                  "uid": "35240-bbc21bfa-2097-40d8-8660-961e95b86a66"
                },
                {
                  "id": "b61e466f-eb7e-42d7-8a21-8d178b5145ce",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/VM/:vmUUID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "VM",
                        ":vmUUID"
                      ],
                      "variable": [
                        {
                          "key": "vmUUID"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:26:17.000Z",
                  "updatedAt": "2026-07-28T01:26:17.000Z",
                  "uid": "35240-b61e466f-eb7e-42d7-8a21-8d178b5145ce"
                },
                {
                  "id": "ee7f7520-957d-47f3-995c-361f4e379dbb",
                  "name": "Virtual machine not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/VM/:vmUUID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "VM",
                        ":vmUUID"
                      ],
                      "variable": [
                        {
                          "key": "vmUUID"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:26:17.000Z",
                  "updatedAt": "2026-07-28T01:26:17.000Z",
                  "uid": "35240-ee7f7520-957d-47f3-995c-361f4e379dbb"
                }
              ],
              "createdAt": "2026-07-28T01:26:17.000Z",
              "updatedAt": "2026-07-28T01:26:17.000Z",
              "uid": "35240-3dbf6d10-36db-48fb-99a2-6c8dc0d44d91"
            }
          ],
          "id": "5fb51d90-af40-4ee7-b4b4-14a98b8271ca",
          "createdAt": "2026-07-28T01:26:17.000Z",
          "updatedAt": "2026-07-28T01:26:17.000Z",
          "uid": "35240-5fb51d90-af40-4ee7-b4b4-14a98b8271ca"
        },
        {
          "name": "Commvault List virtual machines",
          "id": "5e51d05c-7710-4522-a889-d96f96f27569",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/VM?status=NotProtected&hypervisorId=<integer>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "VM"
              ],
              "query": [
                {
                  "description": "Filter by protection status",
                  "key": "status",
                  "value": "NotProtected"
                },
                {
                  "description": "Filter by hypervisor client ID",
                  "key": "hypervisorId",
                  "value": "<integer>"
                }
              ]
            },
            "description": "Retrieves a list of all virtual machines registered for protection, including their backup status, hypervisor association, and SLA compliance."
          },
          "response": [
            {
              "id": "767815c3-aef0-4f22-896e-84308f505b50",
              "name": "List of virtual machines",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authtoken",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/VM?status=NotProtected&hypervisorId=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "VM"
                  ],
                  "query": [
                    {
                      "description": "Filter by protection status",
                      "key": "status",
                      "value": "NotProtected"
                    },
                    {
                      "description": "Filter by hypervisor client ID",
                      "key": "hypervisorId",
                      "value": "<integer>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"vmStatusInfoList\": [\n    {\n      \"vmUUID\": \"<string>\",\n      \"vmName\": \"<string>\",\n      \"vmStatus\": \"Protected\",\n      \"hypervisor\": {\n        \"clientId\": \"<integer>\",\n        \"clientName\": \"<string>\"\n      },\n      \"vmSize\": \"<integer>\",\n      \"lastBackupTime\": \"<integer>\",\n      \"lastBackupJobId\": \"<integer>\",\n      \"planName\": \"<string>\"\n    },\n    {\n      \"vmUUID\": \"<string>\",\n      \"vmName\": \"<string>\",\n      \"vmStatus\": \"NotProtected\",\n      \"hypervisor\": {\n        \"clientId\": \"<integer>\",\n        \"clientName\": \"<string>\"\n      },\n      \"vmSize\": \"<integer>\",\n      \"lastBackupTime\": \"<integer>\",\n      \"lastBackupJobId\": \"<integer>\",\n      \"planName\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T01:26:17.000Z",
              "updatedAt": "2026-07-28T01:26:17.000Z",
              "uid": "35240-767815c3-aef0-4f22-896e-84308f505b50"
            },
            {
              "id": "fe2109eb-9139-44ff-bd54-22548265beb9",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authtoken",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/VM?status=NotProtected&hypervisorId=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "VM"
                  ],
                  "query": [
                    {
                      "description": "Filter by protection status",
                      "key": "status",
                      "value": "NotProtected"
                    },
                    {
                      "description": "Filter by hypervisor client ID",
                      "key": "hypervisorId",
                      "value": "<integer>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T01:26:17.000Z",
              "updatedAt": "2026-07-28T01:26:17.000Z",
              "uid": "35240-fe2109eb-9139-44ff-bd54-22548265beb9"
            }
          ],
          "createdAt": "2026-07-28T01:26:17.000Z",
          "updatedAt": "2026-07-28T01:26:17.000Z",
          "uid": "35240-5e51d05c-7710-4522-a889-d96f96f27569"
        }
      ],
      "id": "1f065f08-3983-4211-9748-3ac525af6d3a",
      "createdAt": "2026-07-28T01:26:17.000Z",
      "updatedAt": "2026-07-28T01:26:17.000Z",
      "uid": "35240-1f065f08-3983-4211-9748-3ac525af6d3a"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authtoken",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "webserver",
      "value": "webconsole.example.com"
    },
    {
      "key": "baseUrl",
      "value": "https://{{webserver}}/webconsole/api"
    }
  ]
}