{
  "info": {
    "_postman_id": "0349e599-ce8a-415d-91e6-50a5f3151a97",
    "name": "Commvault Automation Agents Storage Policies 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:25.000Z",
    "updatedAt": "2026-07-28T01:25:25.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-0349e599-ce8a-415d-91e6-50a5f3151a97"
  },
  "item": [
    {
      "name": "StoragePolicy",
      "item": [
        {
          "name": "{storagePolicyId}",
          "item": [
            {
              "name": "Commvault Get storage policy details",
              "id": "bf7c7117-e463-4ead-aadc-e6e54bec1daa",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/StoragePolicy/:storagePolicyId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "StoragePolicy",
                    ":storagePolicyId"
                  ],
                  "variable": [
                    {
                      "id": "0208f523-2e0f-408c-a950-56d78474c763",
                      "key": "storagePolicyId",
                      "value": "<integer>",
                      "description": "(Required) Unique identifier for the storage policy"
                    }
                  ]
                },
                "description": "Retrieves detailed configuration of a specific storage policy, including its copies, retention rules, deduplication settings, and associated media agents."
              },
              "response": [
                {
                  "id": "c80807fe-b8e9-4ae6-b59e-ca0ee607259d",
                  "name": "Storage policy 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}}/StoragePolicy/:storagePolicyId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "StoragePolicy",
                        ":storagePolicyId"
                      ],
                      "variable": [
                        {
                          "key": "storagePolicyId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"storagePolicyId\": \"<integer>\",\n  \"storagePolicyName\": \"<string>\",\n  \"copies\": [\n    {\n      \"copyName\": \"<string>\",\n      \"copyType\": \"<string>\",\n      \"retentionRules\": {\n        \"retainBackupDataForDays\": \"<integer>\",\n        \"retainBackupDataForCycles\": \"<integer>\"\n      }\n    },\n    {\n      \"copyName\": \"<string>\",\n      \"copyType\": \"<string>\",\n      \"retentionRules\": {\n        \"retainBackupDataForDays\": \"<integer>\",\n        \"retainBackupDataForCycles\": \"<integer>\"\n      }\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T01:25:26.000Z",
                  "updatedAt": "2026-07-28T01:25:26.000Z",
                  "uid": "35240-c80807fe-b8e9-4ae6-b59e-ca0ee607259d"
                },
                {
                  "id": "8111a7bd-5cd5-4019-afa7-f28ea44583c1",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/StoragePolicy/:storagePolicyId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "StoragePolicy",
                        ":storagePolicyId"
                      ],
                      "variable": [
                        {
                          "key": "storagePolicyId"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:25:26.000Z",
                  "updatedAt": "2026-07-28T01:25:26.000Z",
                  "uid": "35240-8111a7bd-5cd5-4019-afa7-f28ea44583c1"
                },
                {
                  "id": "28fe0cdf-78a1-41b1-81a6-09ccb6e7a07d",
                  "name": "Storage policy not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/StoragePolicy/:storagePolicyId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "StoragePolicy",
                        ":storagePolicyId"
                      ],
                      "variable": [
                        {
                          "key": "storagePolicyId"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:25:26.000Z",
                  "updatedAt": "2026-07-28T01:25:26.000Z",
                  "uid": "35240-28fe0cdf-78a1-41b1-81a6-09ccb6e7a07d"
                }
              ],
              "createdAt": "2026-07-28T01:25:26.000Z",
              "updatedAt": "2026-07-28T01:25:26.000Z",
              "uid": "35240-bf7c7117-e463-4ead-aadc-e6e54bec1daa"
            }
          ],
          "id": "7c787cbf-f795-4c09-89f0-74c42f3cfd37",
          "createdAt": "2026-07-28T01:25:26.000Z",
          "updatedAt": "2026-07-28T01:25:26.000Z",
          "uid": "35240-7c787cbf-f795-4c09-89f0-74c42f3cfd37"
        },
        {
          "name": "Commvault List storage policies",
          "id": "fb9c50ab-ad1b-42c2-a4f7-6b0321efa27b",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/StoragePolicy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "StoragePolicy"
              ]
            },
            "description": "Retrieves a list of all storage policies configured in the CommServe. Storage policies define where backup data is stored and how it is managed across primary, secondary, and tertiary storage tiers."
          },
          "response": [
            {
              "id": "fc4563ec-368f-4dec-9a0a-6d5b717f46d5",
              "name": "List of storage policies",
              "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}}/StoragePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "StoragePolicy"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"policies\": [\n    {\n      \"storagePolicyId\": \"<integer>\",\n      \"storagePolicyName\": \"<string>\",\n      \"copies\": [\n        {\n          \"copyName\": \"<string>\",\n          \"copyType\": \"<string>\",\n          \"retentionRules\": {\n            \"retainBackupDataForDays\": \"<integer>\",\n            \"retainBackupDataForCycles\": \"<integer>\"\n          }\n        },\n        {\n          \"copyName\": \"<string>\",\n          \"copyType\": \"<string>\",\n          \"retentionRules\": {\n            \"retainBackupDataForDays\": \"<integer>\",\n            \"retainBackupDataForCycles\": \"<integer>\"\n          }\n        }\n      ]\n    },\n    {\n      \"storagePolicyId\": \"<integer>\",\n      \"storagePolicyName\": \"<string>\",\n      \"copies\": [\n        {\n          \"copyName\": \"<string>\",\n          \"copyType\": \"<string>\",\n          \"retentionRules\": {\n            \"retainBackupDataForDays\": \"<integer>\",\n            \"retainBackupDataForCycles\": \"<integer>\"\n          }\n        },\n        {\n          \"copyName\": \"<string>\",\n          \"copyType\": \"<string>\",\n          \"retentionRules\": {\n            \"retainBackupDataForDays\": \"<integer>\",\n            \"retainBackupDataForCycles\": \"<integer>\"\n          }\n        }\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T01:25:26.000Z",
              "updatedAt": "2026-07-28T01:25:26.000Z",
              "uid": "35240-fc4563ec-368f-4dec-9a0a-6d5b717f46d5"
            },
            {
              "id": "c53ccfc2-d336-48ea-9981-caaecb937eb0",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authtoken",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/StoragePolicy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "StoragePolicy"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T01:25:26.000Z",
              "updatedAt": "2026-07-28T01:25:26.000Z",
              "uid": "35240-c53ccfc2-d336-48ea-9981-caaecb937eb0"
            }
          ],
          "createdAt": "2026-07-28T01:25:26.000Z",
          "updatedAt": "2026-07-28T01:25:26.000Z",
          "uid": "35240-fb9c50ab-ad1b-42c2-a4f7-6b0321efa27b"
        }
      ],
      "id": "a5969145-86f0-4d6c-8989-e4b682a0d75d",
      "createdAt": "2026-07-28T01:25:26.000Z",
      "updatedAt": "2026-07-28T01:25:26.000Z",
      "uid": "35240-a5969145-86f0-4d6c-8989-e4b682a0d75d"
    }
  ],
  "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"
    }
  ]
}