naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Plugins description: 'Konnect API - Go SDK — Plugins. 26 operations. Lead operation: List all Plugins associated with a Consumer Group. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Plugins 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-plugins baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Plugins business capability. Self-contained, no shared references. resources: - name: v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-p path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{ConsumerGroupId}/plugins operations: - name: listpluginwithconsumergroup method: GET description: List all Plugins associated with a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpluginwithconsumergroup method: POST description: Create a new Plugin associated with 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: v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-p path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{ConsumerGroupId}/plugins/{PluginId} operations: - name: deletepluginwithconsumergroup method: DELETE description: Delete a a Plugin associated with a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getpluginwithconsumergroup method: GET description: Get a Plugin associated with a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertpluginwithconsumergroup method: PUT description: Upsert a Plugin associated with 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: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/plugins operations: - name: listpluginwithconsumer method: GET description: List all Plugins associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpluginwithconsumer method: POST description: Create a new Plugin associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/plugins/{PluginId} operations: - name: deletepluginwithconsumer method: DELETE description: Delete a a Plugin associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getpluginwithconsumer method: GET description: Get a Plugin associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertpluginwithconsumer method: PUT description: Upsert a Plugin associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-plugins path: /v2/control-planes/{controlPlaneId}/core-entities/plugins operations: - name: listplugin method: GET description: List all Plugins outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createplugin method: POST description: Create a new Plugin outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-plugins-PluginId path: /v2/control-planes/{controlPlaneId}/core-entities/plugins/{PluginId} operations: - name: deleteplugin method: DELETE description: Delete a Plugin outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getplugin method: GET description: Get a Plugin outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertplugin method: PUT description: Upsert a Plugin outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-routes-RouteId-plugins path: /v2/control-planes/{controlPlaneId}/core-entities/routes/{RouteId}/plugins operations: - name: listpluginwithroute method: GET description: List all Plugins associated with a Route outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpluginwithroute method: POST description: Create a new Plugin associated with a Route outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-routes-RouteId-plugins-PluginId path: /v2/control-planes/{controlPlaneId}/core-entities/routes/{RouteId}/plugins/{PluginId} operations: - name: deletepluginwithroute method: DELETE description: Delete a a Plugin associated with a Route outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getpluginwithroute method: GET description: Get a Plugin associated with a Route outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertpluginwithroute method: PUT description: Upsert a Plugin associated with a Route outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-schemas-plugins-pluginName path: /v2/control-planes/{controlPlaneId}/core-entities/schemas/plugins/{pluginName} operations: - name: fetchpluginschema method: GET description: Get plugin schema outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-control-planes-controlPlaneId-core-entities-services-ServiceId-plugins path: /v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/plugins operations: - name: listpluginwithservice method: GET description: List all Plugins associated with a Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpluginwithservice method: POST description: Create a new Plugin associated with a Service outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-services-ServiceId-plugins-Plugin path: /v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/plugins/{PluginId} operations: - name: deletepluginwithservice method: DELETE description: Delete a a Plugin associated with a Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getpluginwithservice method: GET description: Get a Plugin associated with a Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertpluginwithservice method: PUT description: Upsert a Plugin associated with a Service outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-plugins-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Plugins. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups/{consumergroupid}/plugins name: v2-control-planes-controlplaneid-core-entities-consumer-groups-consumergroupid-p description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-p. operations: - method: GET name: listpluginwithconsumergroup description: List all Plugins associated with a Consumer Group call: konnect-platform-plugins.listpluginwithconsumergroup outputParameters: - type: object mapping: $. - method: POST name: createpluginwithconsumergroup description: Create a new Plugin associated with a Consumer Group call: konnect-platform-plugins.createpluginwithconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups/{consumergroupid}/plugins/{pluginid} name: v2-control-planes-controlplaneid-core-entities-consumer-groups-consumergroupid-p description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-p. operations: - method: DELETE name: deletepluginwithconsumergroup description: Delete a a Plugin associated with a Consumer Group call: konnect-platform-plugins.deletepluginwithconsumergroup outputParameters: - type: object mapping: $. - method: GET name: getpluginwithconsumergroup description: Get a Plugin associated with a Consumer Group call: konnect-platform-plugins.getpluginwithconsumergroup outputParameters: - type: object mapping: $. - method: PUT name: upsertpluginwithconsumergroup description: Upsert a Plugin associated with a Consumer Group call: konnect-platform-plugins.upsertpluginwithconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/plugins name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti. operations: - method: GET name: listpluginwithconsumer description: List all Plugins associated with a Consumer call: konnect-platform-plugins.listpluginwithconsumer outputParameters: - type: object mapping: $. - method: POST name: createpluginwithconsumer description: Create a new Plugin associated with a Consumer call: konnect-platform-plugins.createpluginwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/plugins/{pluginid} name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti. operations: - method: DELETE name: deletepluginwithconsumer description: Delete a a Plugin associated with a Consumer call: konnect-platform-plugins.deletepluginwithconsumer outputParameters: - type: object mapping: $. - method: GET name: getpluginwithconsumer description: Get a Plugin associated with a Consumer call: konnect-platform-plugins.getpluginwithconsumer outputParameters: - type: object mapping: $. - method: PUT name: upsertpluginwithconsumer description: Upsert a Plugin associated with a Consumer call: konnect-platform-plugins.upsertpluginwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/plugins name: v2-control-planes-controlplaneid-core-entities-plugins description: REST surface for v2-control-planes-controlPlaneId-core-entities-plugins. operations: - method: GET name: listplugin description: List all Plugins call: konnect-platform-plugins.listplugin outputParameters: - type: object mapping: $. - method: POST name: createplugin description: Create a new Plugin call: konnect-platform-plugins.createplugin with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/plugins/{pluginid} name: v2-control-planes-controlplaneid-core-entities-plugins-pluginid description: REST surface for v2-control-planes-controlPlaneId-core-entities-plugins-PluginId. operations: - method: DELETE name: deleteplugin description: Delete a Plugin call: konnect-platform-plugins.deleteplugin outputParameters: - type: object mapping: $. - method: GET name: getplugin description: Get a Plugin call: konnect-platform-plugins.getplugin outputParameters: - type: object mapping: $. - method: PUT name: upsertplugin description: Upsert a Plugin call: konnect-platform-plugins.upsertplugin with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/routes/{routeid}/plugins name: v2-control-planes-controlplaneid-core-entities-routes-routeid-plugins description: REST surface for v2-control-planes-controlPlaneId-core-entities-routes-RouteId-plugins. operations: - method: GET name: listpluginwithroute description: List all Plugins associated with a Route call: konnect-platform-plugins.listpluginwithroute outputParameters: - type: object mapping: $. - method: POST name: createpluginwithroute description: Create a new Plugin associated with a Route call: konnect-platform-plugins.createpluginwithroute with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/routes/{routeid}/plugins/{pluginid} name: v2-control-planes-controlplaneid-core-entities-routes-routeid-plugins-pluginid description: REST surface for v2-control-planes-controlPlaneId-core-entities-routes-RouteId-plugins-PluginId. operations: - method: DELETE name: deletepluginwithroute description: Delete a a Plugin associated with a Route call: konnect-platform-plugins.deletepluginwithroute outputParameters: - type: object mapping: $. - method: GET name: getpluginwithroute description: Get a Plugin associated with a Route call: konnect-platform-plugins.getpluginwithroute outputParameters: - type: object mapping: $. - method: PUT name: upsertpluginwithroute description: Upsert a Plugin associated with a Route call: konnect-platform-plugins.upsertpluginwithroute with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/schemas/plugins/{pluginname} name: v2-control-planes-controlplaneid-core-entities-schemas-plugins-pluginname description: REST surface for v2-control-planes-controlPlaneId-core-entities-schemas-plugins-pluginName. operations: - method: GET name: fetchpluginschema description: Get plugin schema call: konnect-platform-plugins.fetchpluginschema outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/plugins name: v2-control-planes-controlplaneid-core-entities-services-serviceid-plugins description: REST surface for v2-control-planes-controlPlaneId-core-entities-services-ServiceId-plugins. operations: - method: GET name: listpluginwithservice description: List all Plugins associated with a Service call: konnect-platform-plugins.listpluginwithservice outputParameters: - type: object mapping: $. - method: POST name: createpluginwithservice description: Create a new Plugin associated with a Service call: konnect-platform-plugins.createpluginwithservice with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/plugins/{pluginid} name: v2-control-planes-controlplaneid-core-entities-services-serviceid-plugins-plugin description: REST surface for v2-control-planes-controlPlaneId-core-entities-services-ServiceId-plugins-Plugin. operations: - method: DELETE name: deletepluginwithservice description: Delete a a Plugin associated with a Service call: konnect-platform-plugins.deletepluginwithservice outputParameters: - type: object mapping: $. - method: GET name: getpluginwithservice description: Get a Plugin associated with a Service call: konnect-platform-plugins.getpluginwithservice outputParameters: - type: object mapping: $. - method: PUT name: upsertpluginwithservice description: Upsert a Plugin associated with a Service call: konnect-platform-plugins.upsertpluginwithservice with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-plugins-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Plugins. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-plugins-associated-consumer description: List all Plugins associated with a Consumer Group hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.listpluginwithconsumergroup outputParameters: - type: object mapping: $. - name: create-new-plugin-associated-consumer description: Create a new Plugin associated with a Consumer Group hints: readOnly: false destructive: false idempotent: false call: konnect-platform-plugins.createpluginwithconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-plugin-associated-consumer-group description: Delete a a Plugin associated with a Consumer Group hints: readOnly: false destructive: true idempotent: true call: konnect-platform-plugins.deletepluginwithconsumergroup outputParameters: - type: object mapping: $. - name: get-plugin-associated-consumer-group description: Get a Plugin associated with a Consumer Group hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.getpluginwithconsumergroup outputParameters: - type: object mapping: $. - name: upsert-plugin-associated-consumer-group description: Upsert a Plugin associated with a Consumer Group hints: readOnly: false destructive: false idempotent: true call: konnect-platform-plugins.upsertpluginwithconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-plugins-associated-consumer-2 description: List all Plugins associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.listpluginwithconsumer outputParameters: - type: object mapping: $. - name: create-new-plugin-associated-consumer-2 description: Create a new Plugin associated with a Consumer hints: readOnly: false destructive: false idempotent: false call: konnect-platform-plugins.createpluginwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-plugin-associated-consumer description: Delete a a Plugin associated with a Consumer hints: readOnly: false destructive: true idempotent: true call: konnect-platform-plugins.deletepluginwithconsumer outputParameters: - type: object mapping: $. - name: get-plugin-associated-consumer description: Get a Plugin associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.getpluginwithconsumer outputParameters: - type: object mapping: $. - name: upsert-plugin-associated-consumer description: Upsert a Plugin associated with a Consumer hints: readOnly: false destructive: false idempotent: true call: konnect-platform-plugins.upsertpluginwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-plugins description: List all Plugins hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.listplugin outputParameters: - type: object mapping: $. - name: create-new-plugin description: Create a new Plugin hints: readOnly: false destructive: false idempotent: false call: konnect-platform-plugins.createplugin with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-plugin description: Delete a Plugin hints: readOnly: false destructive: true idempotent: true call: konnect-platform-plugins.deleteplugin outputParameters: - type: object mapping: $. - name: get-plugin description: Get a Plugin hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.getplugin outputParameters: - type: object mapping: $. - name: upsert-plugin description: Upsert a Plugin hints: readOnly: false destructive: false idempotent: true call: konnect-platform-plugins.upsertplugin with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-plugins-associated-route description: List all Plugins associated with a Route hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.listpluginwithroute outputParameters: - type: object mapping: $. - name: create-new-plugin-associated-route description: Create a new Plugin associated with a Route hints: readOnly: false destructive: false idempotent: false call: konnect-platform-plugins.createpluginwithroute with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-plugin-associated-route description: Delete a a Plugin associated with a Route hints: readOnly: false destructive: true idempotent: true call: konnect-platform-plugins.deletepluginwithroute outputParameters: - type: object mapping: $. - name: get-plugin-associated-route description: Get a Plugin associated with a Route hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.getpluginwithroute outputParameters: - type: object mapping: $. - name: upsert-plugin-associated-route description: Upsert a Plugin associated with a Route hints: readOnly: false destructive: false idempotent: true call: konnect-platform-plugins.upsertpluginwithroute with: body: tools.body outputParameters: - type: object mapping: $. - name: get-plugin-schema description: Get plugin schema hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.fetchpluginschema outputParameters: - type: object mapping: $. - name: list-all-plugins-associated-service description: List all Plugins associated with a Service hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.listpluginwithservice outputParameters: - type: object mapping: $. - name: create-new-plugin-associated-service description: Create a new Plugin associated with a Service hints: readOnly: false destructive: false idempotent: false call: konnect-platform-plugins.createpluginwithservice with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-plugin-associated-service description: Delete a a Plugin associated with a Service hints: readOnly: false destructive: true idempotent: true call: konnect-platform-plugins.deletepluginwithservice outputParameters: - type: object mapping: $. - name: get-plugin-associated-service description: Get a Plugin associated with a Service hints: readOnly: true destructive: false idempotent: true call: konnect-platform-plugins.getpluginwithservice outputParameters: - type: object mapping: $. - name: upsert-plugin-associated-service description: Upsert a Plugin associated with a Service hints: readOnly: false destructive: false idempotent: true call: konnect-platform-plugins.upsertpluginwithservice with: body: tools.body outputParameters: - type: object mapping: $.