naftiko: 1.0.0-alpha2 info: label: Kong Enterprise Admin API — Consumer Groups description: 'Kong Enterprise Admin API — Consumer Groups. 6 operations. Lead operation: Create a new Consumer Group. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Consumer Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KONG_API_KEY: KONG_API_KEY capability: consumes: - type: http namespace: gateway-admin-consumer-groups baseUri: '' description: Kong Enterprise Admin API — Consumer Groups business capability. Self-contained, no shared references. resources: - name: workspace-consumer_groups path: /{workspace}/consumer_groups operations: - name: createconsumergroup method: POST description: Create a new Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workspace-consumer_groups-ConsumerGroupId path: /{workspace}/consumer_groups/{ConsumerGroupId} operations: - name: deleteconsumergroup method: DELETE description: Delete a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getconsumergroup method: GET description: Get a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertconsumergroup method: PUT description: Upsert a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workspace-consumer_groups-ConsumerGroupId-consumers path: /{workspace}/consumer_groups/{ConsumerGroupId}/consumers operations: - name: addconsumertogroup method: POST description: Add consumer to consumer group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: workspace-consumer_groups-ConsumerGroupId-consumers-ConsumerIdOrUsername path: /{workspace}/consumer_groups/{ConsumerGroupId}/consumers/{ConsumerIdOrUsername} operations: - name: removeconsumerfromgroup method: DELETE description: Remove consumer from consumer group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Kong-Admin-Token value: '{{env.KONG_API_KEY}}' placement: header exposes: - type: rest namespace: gateway-admin-consumer-groups-rest port: 8080 description: REST adapter for Kong Enterprise Admin API — Consumer Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{workspace}/consumer-groups name: workspace-consumer-groups description: REST surface for workspace-consumer_groups. operations: - method: POST name: createconsumergroup description: Create a new Consumer Group call: gateway-admin-consumer-groups.createconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{workspace}/consumer-groups/{consumergroupid} name: workspace-consumer-groups-consumergroupid description: REST surface for workspace-consumer_groups-ConsumerGroupId. operations: - method: DELETE name: deleteconsumergroup description: Delete a Consumer Group call: gateway-admin-consumer-groups.deleteconsumergroup outputParameters: - type: object mapping: $. - method: GET name: getconsumergroup description: Get a Consumer Group call: gateway-admin-consumer-groups.getconsumergroup outputParameters: - type: object mapping: $. - method: PUT name: upsertconsumergroup description: Upsert a Consumer Group call: gateway-admin-consumer-groups.upsertconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{workspace}/consumer-groups/{consumergroupid}/consumers name: workspace-consumer-groups-consumergroupid-consumers description: REST surface for workspace-consumer_groups-ConsumerGroupId-consumers. operations: - method: POST name: addconsumertogroup description: Add consumer to consumer group call: gateway-admin-consumer-groups.addconsumertogroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{workspace}/consumer-groups/{consumergroupid}/consumers/{consumeridorusername} name: workspace-consumer-groups-consumergroupid-consumers-consumeridorusername description: REST surface for workspace-consumer_groups-ConsumerGroupId-consumers-ConsumerIdOrUsername. operations: - method: DELETE name: removeconsumerfromgroup description: Remove consumer from consumer group call: gateway-admin-consumer-groups.removeconsumerfromgroup outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-admin-consumer-groups-mcp port: 9090 transport: http description: MCP adapter for Kong Enterprise Admin API — Consumer Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-consumer-group description: Create a new Consumer Group hints: readOnly: false destructive: false idempotent: false call: gateway-admin-consumer-groups.createconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-consumer-group description: Delete a Consumer Group hints: readOnly: false destructive: true idempotent: true call: gateway-admin-consumer-groups.deleteconsumergroup outputParameters: - type: object mapping: $. - name: get-consumer-group description: Get a Consumer Group hints: readOnly: true destructive: false idempotent: true call: gateway-admin-consumer-groups.getconsumergroup outputParameters: - type: object mapping: $. - name: upsert-consumer-group description: Upsert a Consumer Group hints: readOnly: false destructive: false idempotent: true call: gateway-admin-consumer-groups.upsertconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: add-consumer-consumer-group description: Add consumer to consumer group hints: readOnly: false destructive: false idempotent: false call: gateway-admin-consumer-groups.addconsumertogroup with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-consumer-consumer-group description: Remove consumer from consumer group hints: readOnly: false destructive: true idempotent: true call: gateway-admin-consumer-groups.removeconsumerfromgroup outputParameters: - type: object mapping: $.