KEDA · Capability

KEDA Metrics API — Metrics

KEDA Metrics API — Metrics. 1 operations. Lead operation: KEDA Get metric value. Self-contained Naftiko capability covering one Keda business surface.

Run with Naftiko KedaMetrics

What You Can Do

GET
Getmetricvalue — KEDA Get metric value
/v1/{metricpath}

MCP Tools

keda-get-metric-value

KEDA Get metric value

read-only idempotent

Capability Spec

metrics-metrics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: KEDA Metrics API — Metrics
  description: 'KEDA Metrics API — Metrics. 1 operations. Lead operation: KEDA Get metric value. Self-contained Naftiko capability
    covering one Keda business surface.'
  tags:
  - Keda
  - Metrics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KEDA_API_KEY: KEDA_API_KEY
capability:
  consumes:
  - type: http
    namespace: metrics-metrics
    baseUri: http://{host}:{port}
    description: KEDA Metrics API — Metrics business capability. Self-contained, no shared references.
    resources:
    - name: metricPath
      path: /{metricPath}
      operations:
      - name: getmetricvalue
        method: GET
        description: KEDA Get metric value
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KEDA_API_KEY}}'
  exposes:
  - type: rest
    namespace: metrics-metrics-rest
    port: 8080
    description: REST adapter for KEDA Metrics API — Metrics. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/{metricpath}
      name: metricpath
      description: REST surface for metricPath.
      operations:
      - method: GET
        name: getmetricvalue
        description: KEDA Get metric value
        call: metrics-metrics.getmetricvalue
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metrics-metrics-mcp
    port: 9090
    transport: http
    description: MCP adapter for KEDA Metrics API — Metrics. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: keda-get-metric-value
      description: KEDA Get metric value
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metrics-metrics.getmetricvalue
      outputParameters:
      - type: object
        mapping: $.