{ "opencollection": "1.0.0", "info": { "name": "Commvault Automation Agents Workflows API", "version": "v2" }, "request": { "auth": { "type": "apikey", "key": "Authtoken", "value": "{{Authtoken}}", "placement": "header" } }, "items": [ { "info": { "name": "Workflows", "type": "folder" }, "items": [ { "info": { "name": "Commvault List all workflows", "type": "http" }, "http": { "method": "GET", "url": "https://{webserver}/webconsole/api/Workflow" }, "docs": "Retrieves a list of all workflows defined in the CommServe, including built-in and custom workflows. Workflows automate multi-step processes such as provisioning, disaster recovery drills, and data migration." }, { "info": { "name": "Commvault Get workflow details", "type": "http" }, "http": { "method": "GET", "url": "https://{webserver}/webconsole/api/Workflow/:workflowId", "params": [ { "name": "workflowId", "value": "", "type": "path", "description": "Unique identifier for the workflow" } ] }, "docs": "Retrieves the detailed definition of a specific workflow, including its activities, inputs, conditions, and execution history." }, { "info": { "name": "Commvault Delete a workflow", "type": "http" }, "http": { "method": "DELETE", "url": "https://{webserver}/webconsole/api/Workflow/:workflowId", "params": [ { "name": "workflowId", "value": "", "type": "path", "description": "Unique identifier for the workflow" } ] }, "docs": "Deletes a custom workflow from the CommServe. Built-in workflows cannot be deleted." }, { "info": { "name": "Commvault Execute a workflow", "type": "http" }, "http": { "method": "POST", "url": "https://{webserver}/webconsole/api/Workflow/:workflowName/Action/Execute", "params": [ { "name": "workflowName", "value": "", "type": "path", "description": "Name of the workflow to execute" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Triggers the execution of a workflow by name. Input parameters can be provided in the request body to customize the workflow execution. Returns a job ID for tracking the execution." }, { "info": { "name": "Commvault Deploy a workflow definition", "type": "http" }, "http": { "method": "POST", "url": "https://{webserver}/webconsole/api/Workflow/Deploy" }, "docs": "Deploys a new workflow or updates an existing workflow definition in the CommServe. The workflow XML definition is provided in the request body." } ] } ], "bundled": true }