Spot by NetApp · Capability

Spot by NetApp API — Insights Service

Spot by NetApp API — Insights Service. 1 operations. Lead operation: Get Cost Summary. Self-contained Naftiko capability covering one Spot By Netapp business surface.

Run with Naftiko Spot By NetappInsights Service

What You Can Do

GET
Getcostsummary — Get Cost Summary
/v1/insights/summary

MCP Tools

get-cost-summary

Get Cost Summary

read-only idempotent

Capability Spec

spot-by-netapp-insights-service.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot by NetApp API — Insights Service
  description: 'Spot by NetApp API — Insights Service. 1 operations. Lead operation: Get Cost Summary. Self-contained Naftiko
    capability covering one Spot By Netapp business surface.'
  tags:
  - Spot By Netapp
  - Insights Service
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPOT_BY_NETAPP_API_KEY: SPOT_BY_NETAPP_API_KEY
capability:
  consumes:
  - type: http
    namespace: spot-by-netapp-insights-service
    baseUri: https://api.spotinst.io
    description: Spot by NetApp API — Insights Service business capability. Self-contained, no shared references.
    resources:
    - name: insights-summary
      path: /insights/summary
      operations:
      - name: getcostsummary
        method: GET
        description: Get Cost Summary
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: query
          type: string
        - name: fromDate
          in: query
          type: string
        - name: toDate
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.SPOT_BY_NETAPP_API_KEY}}'
  exposes:
  - type: rest
    namespace: spot-by-netapp-insights-service-rest
    port: 8080
    description: REST adapter for Spot by NetApp API — Insights Service. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/insights/summary
      name: insights-summary
      description: REST surface for insights-summary.
      operations:
      - method: GET
        name: getcostsummary
        description: Get Cost Summary
        call: spot-by-netapp-insights-service.getcostsummary
        with:
          accountId: rest.accountId
          fromDate: rest.fromDate
          toDate: rest.toDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: spot-by-netapp-insights-service-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot by NetApp API — Insights Service. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-cost-summary
      description: Get Cost Summary
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spot-by-netapp-insights-service.getcostsummary
      with:
        accountId: tools.accountId
        fromDate: tools.fromDate
        toDate: tools.toDate
      outputParameters:
      - type: object
        mapping: $.