Rollbar · Capability

Rollbar Metrics API — Items Metrics

Rollbar Metrics API — Items Metrics. 1 operations. Lead operation: Get Metrics for a List of Items. Self-contained Naftiko capability covering one Rollbar business surface.

Run with Naftiko RollbarItems Metrics

What You Can Do

POST
Getitemsmetrics — Get Metrics for a List of Items
/v1/metrics/items

MCP Tools

get-metrics-list-items

Get Metrics for a List of Items

read-only

Capability Spec

metrics-items-metrics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rollbar Metrics API — Items Metrics
  description: 'Rollbar Metrics API — Items Metrics. 1 operations. Lead operation: Get Metrics for a List of Items. Self-contained
    Naftiko capability covering one Rollbar business surface.'
  tags:
  - Rollbar
  - Items Metrics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ROLLBAR_API_KEY: ROLLBAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: metrics-items-metrics
    baseUri: https://api.rollbar.com/api/1
    description: Rollbar Metrics API — Items Metrics business capability. Self-contained, no shared references.
    resources:
    - name: metrics-items
      path: /metrics/items
      operations:
      - name: getitemsmetrics
        method: POST
        description: Get Metrics for a List of Items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Rollbar-Access-Token
      value: '{{env.ROLLBAR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: metrics-items-metrics-rest
    port: 8080
    description: REST adapter for Rollbar Metrics API — Items Metrics. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/metrics/items
      name: metrics-items
      description: REST surface for metrics-items.
      operations:
      - method: POST
        name: getitemsmetrics
        description: Get Metrics for a List of Items
        call: metrics-items-metrics.getitemsmetrics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metrics-items-metrics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rollbar Metrics API — Items Metrics. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-metrics-list-items
      description: Get Metrics for a List of Items
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: metrics-items-metrics.getitemsmetrics
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.