Vertiv · Capability

Vertiv Environet Alert REST API — Devices

Vertiv Environet Alert REST API — Devices. 2 operations. Lead operation: List All Devices. Self-contained Naftiko capability covering one Vertiv business surface.

Run with Naftiko VertivDevices

What You Can Do

GET
Listdevices — List All Devices
/v1/devices
GET
Getdevice — Get Device by ID
/v1/devices/{deviceid}

MCP Tools

list-all-devices

List All Devices

read-only idempotent
get-device-id

Get Device by ID

read-only idempotent

Capability Spec

environet-alert-devices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vertiv Environet Alert REST API — Devices
  description: 'Vertiv Environet Alert REST API — Devices. 2 operations. Lead operation: List All Devices. Self-contained
    Naftiko capability covering one Vertiv business surface.'
  tags:
  - Vertiv
  - Devices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VERTIV_API_KEY: VERTIV_API_KEY
capability:
  consumes:
  - type: http
    namespace: environet-alert-devices
    baseUri: https://{environet-host}/api
    description: Vertiv Environet Alert REST API — Devices business capability. Self-contained, no shared references.
    resources:
    - name: devices
      path: /devices
      operations:
      - name: listdevices
        method: GET
        description: List All Devices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: query
          type: string
          description: Filter by site name
        - name: groupPath
          in: query
          type: string
          description: Filter by group path
        - name: status
          in: query
          type: string
          description: Filter by device status
    - name: devices-deviceId
      path: /devices/{deviceId}
      operations:
      - name: getdevice
        method: GET
        description: Get Device by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deviceId
          in: path
          type: string
          description: Unique device identifier
          required: true
    authentication:
      type: apikey
      key: X-Auth-Token
      value: '{{env.VERTIV_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: environet-alert-devices-rest
    port: 8080
    description: REST adapter for Vertiv Environet Alert REST API — Devices. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/devices
      name: devices
      description: REST surface for devices.
      operations:
      - method: GET
        name: listdevices
        description: List All Devices
        call: environet-alert-devices.listdevices
        with:
          siteName: rest.siteName
          groupPath: rest.groupPath
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/devices/{deviceid}
      name: devices-deviceid
      description: REST surface for devices-deviceId.
      operations:
      - method: GET
        name: getdevice
        description: Get Device by ID
        call: environet-alert-devices.getdevice
        with:
          deviceId: rest.deviceId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: environet-alert-devices-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vertiv Environet Alert REST API — Devices. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-all-devices
      description: List All Devices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: environet-alert-devices.listdevices
      with:
        siteName: tools.siteName
        groupPath: tools.groupPath
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: get-device-id
      description: Get Device by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: environet-alert-devices.getdevice
      with:
        deviceId: tools.deviceId
      outputParameters:
      - type: object
        mapping: $.