Nutanix · Capability

Nutanix Prism Element API v2 — Alerts

Nutanix Prism Element API v2 — Alerts. 2 operations. Lead operation: Nutanix List alerts. Self-contained Naftiko capability covering one Nutanix business surface.

Run with Naftiko NutanixAlerts

What You Can Do

GET
Listalerts — Nutanix List alerts
/v1/alerts
GET
Getalert — Nutanix Get an alert
/v1/alerts/{id}

MCP Tools

nutanix-list-alerts

Nutanix List alerts

read-only idempotent
nutanix-get-alert

Nutanix Get an alert

read-only idempotent

Capability Spec

prism-element-v2-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Nutanix Prism Element API v2 — Alerts
  description: 'Nutanix Prism Element API v2 — Alerts. 2 operations. Lead operation: Nutanix List alerts. Self-contained Naftiko
    capability covering one Nutanix business surface.'
  tags:
  - Nutanix
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NUTANIX_API_KEY: NUTANIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: prism-element-v2-alerts
    baseUri: https://{clusterIp}:9440/PrismGateway/services/rest/v2.0
    description: Nutanix Prism Element API v2 — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: alerts
      path: /alerts
      operations:
      - name: listalerts
        method: GET
        description: Nutanix List alerts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resolved
          in: query
          type: boolean
          description: Filter by resolved status.
        - name: severity
          in: query
          type: string
          description: Filter by alert severity.
    - name: alerts-id
      path: /alerts/{id}
      operations:
      - name: getalert
        method: GET
        description: Nutanix Get an alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.NUTANIX_USER}}'
      password: '{{env.NUTANIX_PASS}}'
  exposes:
  - type: rest
    namespace: prism-element-v2-alerts-rest
    port: 8080
    description: REST adapter for Nutanix Prism Element API v2 — Alerts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/alerts
      name: alerts
      description: REST surface for alerts.
      operations:
      - method: GET
        name: listalerts
        description: Nutanix List alerts
        call: prism-element-v2-alerts.listalerts
        with:
          resolved: rest.resolved
          severity: rest.severity
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts/{id}
      name: alerts-id
      description: REST surface for alerts-id.
      operations:
      - method: GET
        name: getalert
        description: Nutanix Get an alert
        call: prism-element-v2-alerts.getalert
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prism-element-v2-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Nutanix Prism Element API v2 — Alerts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: nutanix-list-alerts
      description: Nutanix List alerts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prism-element-v2-alerts.listalerts
      with:
        resolved: tools.resolved
        severity: tools.severity
      outputParameters:
      - type: object
        mapping: $.
    - name: nutanix-get-alert
      description: Nutanix Get an alert
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prism-element-v2-alerts.getalert
      outputParameters:
      - type: object
        mapping: $.