naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Meters description: 'Konnect API - Go SDK — Meters. 4 operations. Lead operation: Create meter. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Meters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KONG_API_KEY: KONG_API_KEY capability: consumes: - type: http namespace: konnect-platform-meters baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Meters business capability. Self-contained, no shared references. resources: - name: v3-openmeter-meters path: /v3/openmeter/meters operations: - name: createmeter method: POST description: Create meter outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listmeters method: GET description: List meters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sort in: query type: string description: Sort meters returned in the response. - name: filter in: query type: string description: Filter meters returned in the response. - name: v3-openmeter-meters-meterId path: /v3/openmeter/meters/{meterId} operations: - name: getmeter method: GET description: Get meter outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: meterId in: path type: string required: true - name: deletemeter method: DELETE description: Delete meter outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: meterId in: path type: string required: true authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-meters-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Meters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/openmeter/meters name: v3-openmeter-meters description: REST surface for v3-openmeter-meters. operations: - method: POST name: createmeter description: Create meter call: konnect-platform-meters.createmeter with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listmeters description: List meters call: konnect-platform-meters.listmeters with: sort: rest.sort filter: rest.filter outputParameters: - type: object mapping: $. - path: /v1/v3/openmeter/meters/{meterid} name: v3-openmeter-meters-meterid description: REST surface for v3-openmeter-meters-meterId. operations: - method: GET name: getmeter description: Get meter call: konnect-platform-meters.getmeter with: meterId: rest.meterId outputParameters: - type: object mapping: $. - method: DELETE name: deletemeter description: Delete meter call: konnect-platform-meters.deletemeter with: meterId: rest.meterId outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-meters-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Meters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-meter description: Create meter hints: readOnly: false destructive: false idempotent: false call: konnect-platform-meters.createmeter with: body: tools.body outputParameters: - type: object mapping: $. - name: list-meters description: List meters hints: readOnly: true destructive: false idempotent: true call: konnect-platform-meters.listmeters with: sort: tools.sort filter: tools.filter outputParameters: - type: object mapping: $. - name: get-meter description: Get meter hints: readOnly: true destructive: false idempotent: true call: konnect-platform-meters.getmeter with: meterId: tools.meterId outputParameters: - type: object mapping: $. - name: delete-meter description: Delete meter hints: readOnly: false destructive: true idempotent: true call: konnect-platform-meters.deletemeter with: meterId: tools.meterId outputParameters: - type: object mapping: $.