Commvault Storage Policies API

Manage storage policies and copies

Operations 2

GET /StoragePolicy Commvault List storage policies #
GET /StoragePolicy/{storagePolicyId} Commvault Get storage policy details #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/commvault-storage-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

commvault-storage-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commvault REST Storage Policies API
  description: The Commvault REST API provides programmatic access to Commvault data protection and management operations, including clients, agents, subclients, backup jobs, restore jobs, storage policies, schedules, and reporting. This API uses XML or JSON request and response bodies and supports token-based authentication via login credentials or SAML-based SSO.
  version: v2
  contact:
    name: Commvault Support
    url: https://www.commvault.com/support
  termsOfService: https://www.commvault.com/terms-of-use
servers:
- url: https://{webserver}/webconsole/api
  description: Commvault Web Server
  variables:
    webserver:
      default: webconsole.example.com
      description: Hostname of the Commvault Web Server
security:
- authToken: []
tags:
- name: Storage Policies
  description: Manage storage policies and copies
paths:
  /StoragePolicy:
    get:
      operationId: listStoragePolicies
      summary: Commvault List storage policies
      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.
      tags:
      - Storage Policies
      responses:
        '200':
          description: List of storage policies
          content:
            application/json:
              schema:
                type: object
                properties:
                  policies:
                    type: array
                    items:
                      $ref: '#/components/schemas/StoragePolicy'
        '401':
          description: Unauthorized
  /StoragePolicy/{storagePolicyId}:
    get:
      operationId: getStoragePolicy
      summary: Commvault Get storage policy details
      description: Retrieves detailed configuration of a specific storage policy, including its copies, retention rules, deduplication settings, and associated media agents.
      tags:
      - Storage Policies
      parameters:
      - $ref: '#/components/parameters/storagePolicyId'
      responses:
        '200':
          description: Storage policy details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoragePolicy'
        '401':
          description: Unauthorized
        '404':
          description: Storage policy not found
components:
  parameters:
    storagePolicyId:
      name: storagePolicyId
      in: path
      required: true
      description: Unique identifier for the storage policy
      schema:
        type: integer
  schemas:
    StoragePolicy:
      type: object
      properties:
        storagePolicyId:
          type: integer
          description: Unique storage policy identifier
        storagePolicyName:
          type: string
          description: Name of the storage policy
        copies:
          type: array
          items:
            type: object
            properties:
              copyName:
                type: string
                description: Name of the storage policy copy
              copyType:
                type: string
                description: Type of copy (Primary, Secondary, etc.)
              retentionRules:
                type: object
                properties:
                  retainBackupDataForDays:
                    type: integer
                    description: Number of days to retain backup data
                  retainBackupDataForCycles:
                    type: integer
                    description: Number of cycles to retain backup data
  securitySchemes:
    authToken:
      type: apiKey
      in: header
      name: Authtoken
      description: QSDK authentication token obtained from the Login endpoint. Include this token in all subsequent API requests.
externalDocs:
  description: Commvault REST API Documentation
  url: https://documentation.commvault.com/v11/essential/rest_api_overview.html