Commvault · Capability

Commvault Command Center API — Reports

Commvault Command Center API — Reports. 2 operations. Lead operation: Commvault List available reports. Self-contained Naftiko capability covering one Commvault business surface.

Run with Naftiko CommvaultReports

What You Can Do

GET
Listreports — Commvault List available reports
/v1/reports
GET
Getreport — Commvault Get report data
/v1/reports/{reportid}

MCP Tools

commvault-list-available-reports

Commvault List available reports

read-only idempotent
commvault-get-report-data

Commvault Get report data

read-only idempotent

Capability Spec

command-center-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Commvault Command Center API — Reports
  description: 'Commvault Command Center API — Reports. 2 operations. Lead operation: Commvault List available reports. Self-contained
    Naftiko capability covering one Commvault business surface.'
  tags:
  - Commvault
  - Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COMMVAULT_API_KEY: COMMVAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: command-center-reports
    baseUri: https://{commandcenter}/commandcenter/api
    description: Commvault Command Center API — Reports business capability. Self-contained, no shared references.
    resources:
    - name: Reports
      path: /Reports
      operations:
      - name: listreports
        method: GET
        description: Commvault List available reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: Reports-reportId
      path: /Reports/{reportId}
      operations:
      - name: getreport
        method: GET
        description: Commvault Get report data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: timeRange
          in: query
          type: string
          description: Time range for the report
    authentication:
      type: apikey
      key: Authtoken
      value: '{{env.COMMVAULT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: command-center-reports-rest
    port: 8080
    description: REST adapter for Commvault Command Center API — Reports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports
      name: reports
      description: REST surface for Reports.
      operations:
      - method: GET
        name: listreports
        description: Commvault List available reports
        call: command-center-reports.listreports
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{reportid}
      name: reports-reportid
      description: REST surface for Reports-reportId.
      operations:
      - method: GET
        name: getreport
        description: Commvault Get report data
        call: command-center-reports.getreport
        with:
          timeRange: rest.timeRange
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: command-center-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Commvault Command Center API — Reports. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: commvault-list-available-reports
      description: Commvault List available reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: command-center-reports.listreports
      outputParameters:
      - type: object
        mapping: $.
    - name: commvault-get-report-data
      description: Commvault Get report data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: command-center-reports.getreport
      with:
        timeRange: tools.timeRange
      outputParameters:
      - type: object
        mapping: $.