{
  "info": {
    "_postman_id": "ce9aed34-87cf-455e-9539-a22636c02a9d",
    "name": "Commvault Automation Agents File Servers 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:25:13.000Z",
    "updatedAt": "2026-07-28T01:25:13.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ce9aed34-87cf-455e-9539-a22636c02a9d"
  },
  "item": [
    {
      "name": "V4",
      "item": [
        {
          "name": "FileServers",
          "item": [
            {
              "name": "Commvault List file servers",
              "id": "b77a5eb4-b758-4662-9645-8c3090483c16",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/V4/FileServers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "V4",
                    "FileServers"
                  ]
                },
                "description": "Retrieves a list of all file servers configured for protection, including NAS devices, Windows file servers, and Linux file servers."
              },
              "response": [
                {
                  "id": "6c5c19fe-5ee1-4224-84b5-a63e557a6916",
                  "name": "List of file servers",
                  "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}}/V4/FileServers",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "V4",
                        "FileServers"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"fileServers\": [\n    {\n      \"clientId\": \"<integer>\",\n      \"clientName\": \"<string>\",\n      \"serverType\": \"WindowsFileServer\",\n      \"protectionStatus\": \"<string>\",\n      \"planName\": \"<string>\"\n    },\n    {\n      \"clientId\": \"<integer>\",\n      \"clientName\": \"<string>\",\n      \"serverType\": \"LinuxFileServer\",\n      \"protectionStatus\": \"<string>\",\n      \"planName\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T01:25:14.000Z",
                  "updatedAt": "2026-07-28T01:25:14.000Z",
                  "uid": "35240-6c5c19fe-5ee1-4224-84b5-a63e557a6916"
                },
                {
                  "id": "5fe0d25d-3ca7-44da-ae28-c0c0dfcd1209",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/V4/FileServers",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "V4",
                        "FileServers"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:25:14.000Z",
                  "updatedAt": "2026-07-28T01:25:14.000Z",
                  "uid": "35240-5fe0d25d-3ca7-44da-ae28-c0c0dfcd1209"
                }
              ],
              "createdAt": "2026-07-28T01:25:14.000Z",
              "updatedAt": "2026-07-28T01:25:14.000Z",
              "uid": "35240-b77a5eb4-b758-4662-9645-8c3090483c16"
            }
          ],
          "id": "336e39a8-25f7-4fe5-b41a-dff06dccea1f",
          "createdAt": "2026-07-28T01:25:14.000Z",
          "updatedAt": "2026-07-28T01:25:14.000Z",
          "uid": "35240-336e39a8-25f7-4fe5-b41a-dff06dccea1f"
        }
      ],
      "id": "7ed185d9-f077-424c-9012-dc440cef5fcf",
      "createdAt": "2026-07-28T01:25:14.000Z",
      "updatedAt": "2026-07-28T01:25:14.000Z",
      "uid": "35240-7ed185d9-f077-424c-9012-dc440cef5fcf"
    }
  ],
  "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"
    }
  ]
}