Portworx · Capability

OpenStorage SDK — OpenStorageAlerts

OpenStorage SDK — OpenStorageAlerts. 2 operations. Lead operation: Delete alerts. Self-contained Naftiko capability covering one Portworx business surface.

Run with Naftiko PortworxOpenStorageAlerts

What You Can Do

POST
Openstoragealertsdelete — Delete alerts
/v1/v1/alerts
POST
Openstoragealertsenumeratewithfilters — Allows querying alerts.
/v1/v1/alerts/filters

MCP Tools

delete-alerts

Delete alerts

allows-querying-alerts

Allows querying alerts.

read-only

Capability Spec

portworx-openstoragealerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenStorage SDK — OpenStorageAlerts
  description: 'OpenStorage SDK — OpenStorageAlerts. 2 operations. Lead operation: Delete alerts. Self-contained Naftiko capability
    covering one Portworx business surface.'
  tags:
  - Portworx
  - OpenStorageAlerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTWORX_API_KEY: PORTWORX_API_KEY
capability:
  consumes:
  - type: http
    namespace: portworx-openstoragealerts
    baseUri: ''
    description: OpenStorage SDK — OpenStorageAlerts business capability. Self-contained, no shared references.
    resources:
    - name: v1-alerts
      path: /v1/alerts
      operations:
      - name: openstoragealertsdelete
        method: POST
        description: Delete alerts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-alerts-filters
      path: /v1/alerts/filters
      operations:
      - name: openstoragealertsenumeratewithfilters
        method: POST
        description: Allows querying alerts.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PORTWORX_API_KEY}}'
  exposes:
  - type: rest
    namespace: portworx-openstoragealerts-rest
    port: 8080
    description: REST adapter for OpenStorage SDK — OpenStorageAlerts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/alerts
      name: v1-alerts
      description: REST surface for v1-alerts.
      operations:
      - method: POST
        name: openstoragealertsdelete
        description: Delete alerts
        call: portworx-openstoragealerts.openstoragealertsdelete
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/alerts/filters
      name: v1-alerts-filters
      description: REST surface for v1-alerts-filters.
      operations:
      - method: POST
        name: openstoragealertsenumeratewithfilters
        description: Allows querying alerts.
        call: portworx-openstoragealerts.openstoragealertsenumeratewithfilters
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: portworx-openstoragealerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenStorage SDK — OpenStorageAlerts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: delete-alerts
      description: Delete alerts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: portworx-openstoragealerts.openstoragealertsdelete
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: allows-querying-alerts
      description: Allows querying alerts.
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: portworx-openstoragealerts.openstoragealertsenumeratewithfilters
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.