Kong Plugins API

A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting. You can find more information about available plugins and which values each plugin accepts at the [Plugin Hub](https://developer.konghq.com/plugins/). When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields.

OpenAPI Specification

kong-plugins-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  contact:
    email: support@konghq.com
    name: Kong Inc
    url: https://konghq.com
  description: 'OpenAPI 3.0 spec for Kong Gateway''s Admin API.


    You can learn more about Kong Gateway at [developer.konghq.com](https://developer.konghq.com).

    Give Kong a star at the [Kong/kong](https://github.com/kong/kong) repository.'
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  title: Kong Enterprise Admin ACLs Plugins API
  version: 3.14.0
servers:
- description: Default Admin API URL
  url: '{protocol}://{hostname}:{port}{path}'
  variables:
    hostname:
      default: localhost
      description: Hostname for Kong's Admin API
    path:
      default: /
      description: Base path for Kong's Admin API
    port:
      default: '8001'
      description: Port for Kong's Admin API
    protocol:
      default: http
      description: Protocol for requests to Kong's Admin API
      enum:
      - http
      - https
security:
- adminToken: []
tags:
- description: 'A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting.

    You can find more information about available plugins and which values each plugin accepts at the [Plugin Hub](https://developer.konghq.com/plugins/).

    <br><br>

    When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields.'
  name: Plugins
paths:
  /{workspace}/plugins:
    get:
      operationId: list-plugin
      summary: List all Plugins
      description: List all Plugins
      parameters:
      - $ref: '#/components/parameters/PaginationSize'
      - $ref: '#/components/parameters/PaginationOffset'
      - $ref: '#/components/parameters/PaginationTagsFilter'
      - $ref: '#/components/parameters/Workspace'
      responses:
        '200':
          description: A successful response listing Plugins
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Plugin'
                  next:
                    $ref: '#/components/schemas/PaginationNextResponse'
                  offset:
                    $ref: '#/components/schemas/PaginationOffsetResponse'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
      x-keep-sdk: true
    post:
      operationId: create-plugin
      summary: Create a new Plugin
      description: Create a new Plugin
      parameters:
      - $ref: '#/components/parameters/Workspace'
      requestBody:
        description: Description of the new Plugin for creation
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Plugin'
      responses:
        '201':
          description: Successfully created Plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
      x-keep-sdk: true
  /{workspace}/plugins#ACL:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginACL#create
      operationId: create-acl-plugin
      summary: Create a ACL plugin
      description: Create a ACL plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ACLPlugin'
      responses:
        '201':
          description: Created ACL plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ACLPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#Ace:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAce#create
      operationId: create-ace-plugin
      summary: Create a Ace plugin
      description: Create a Ace plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcePlugin'
      responses:
        '201':
          description: Created Ace plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcePlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#Acme:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAcme#create
      operationId: create-acme-plugin
      summary: Create a Acme plugin
      description: Create a Acme plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcmePlugin'
      responses:
        '201':
          description: Created Acme plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcmePlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiA2aProxy:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiA2aProxy#create
      operationId: create-aia2aproxy-plugin
      summary: Create a AiA2aProxy plugin
      description: Create a AiA2aProxy plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiA2aProxyPlugin'
      responses:
        '201':
          description: Created AiA2aProxy plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiA2aProxyPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiAwsGuardrails:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiAwsGuardrails#create
      operationId: create-aiawsguardrails-plugin
      summary: Create a AiAwsGuardrails plugin
      description: Create a AiAwsGuardrails plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiAwsGuardrailsPlugin'
      responses:
        '201':
          description: Created AiAwsGuardrails plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiAwsGuardrailsPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiAzureContentSafety:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiAzureContentSafety#create
      operationId: create-aiazurecontentsafety-plugin
      summary: Create a AiAzureContentSafety plugin
      description: Create a AiAzureContentSafety plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiAzureContentSafetyPlugin'
      responses:
        '201':
          description: Created AiAzureContentSafety plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiAzureContentSafetyPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiCustomGuardrail:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiCustomGuardrail#create
      operationId: create-aicustomguardrail-plugin
      summary: Create a AiCustomGuardrail plugin
      description: Create a AiCustomGuardrail plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiCustomGuardrailPlugin'
      responses:
        '201':
          description: Created AiCustomGuardrail plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiCustomGuardrailPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiGcpModelArmor:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiGcpModelArmor#create
      operationId: create-aigcpmodelarmor-plugin
      summary: Create a AiGcpModelArmor plugin
      description: Create a AiGcpModelArmor plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiGcpModelArmorPlugin'
      responses:
        '201':
          description: Created AiGcpModelArmor plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGcpModelArmorPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiLakeraGuard:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiLakeraGuard#create
      operationId: create-ailakeraguard-plugin
      summary: Create a AiLakeraGuard plugin
      description: Create a AiLakeraGuard plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiLakeraGuardPlugin'
      responses:
        '201':
          description: Created AiLakeraGuard plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiLakeraGuardPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiLlmAsJudge:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiLlmAsJudge#create
      operationId: create-aillmasjudge-plugin
      summary: Create a AiLlmAsJudge plugin
      description: Create a AiLlmAsJudge plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiLlmAsJudgePlugin'
      responses:
        '201':
          description: Created AiLlmAsJudge plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiLlmAsJudgePlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiMcpOauth2:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiMcpOauth2#create
      operationId: create-aimcpoauth2-plugin
      summary: Create a AiMcpOauth2 plugin
      description: Create a AiMcpOauth2 plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiMcpOauth2Plugin'
      responses:
        '201':
          description: Created AiMcpOauth2 plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiMcpOauth2Plugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiMcpProxy:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiMcpProxy#create
      operationId: create-aimcpproxy-plugin
      summary: Create a AiMcpProxy plugin
      description: Create a AiMcpProxy plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiMcpProxyPlugin'
      responses:
        '201':
          description: Created AiMcpProxy plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiMcpProxyPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiPromptCompressor:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiPromptCompressor#create
      operationId: create-aipromptcompressor-plugin
      summary: Create a AiPromptCompressor plugin
      description: Create a AiPromptCompressor plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiPromptCompressorPlugin'
      responses:
        '201':
          description: Created AiPromptCompressor plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPromptCompressorPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiPromptDecorator:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiPromptDecorator#create
      operationId: create-aipromptdecorator-plugin
      summary: Create a AiPromptDecorator plugin
      description: Create a AiPromptDecorator plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiPromptDecoratorPlugin'
      responses:
        '201':
          description: Created AiPromptDecorator plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPromptDecoratorPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiPromptGuard:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiPromptGuard#create
      operationId: create-aipromptguard-plugin
      summary: Create a AiPromptGuard plugin
      description: Create a AiPromptGuard plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiPromptGuardPlugin'
      responses:
        '201':
          description: Created AiPromptGuard plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPromptGuardPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiPromptTemplate:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiPromptTemplate#create
      operationId: create-aiprompttemplate-plugin
      summary: Create a AiPromptTemplate plugin
      description: Create a AiPromptTemplate plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiPromptTemplatePlugin'
      responses:
        '201':
          description: Created AiPromptTemplate plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPromptTemplatePlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiProxy:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiProxy#create
      operationId: create-aiproxy-plugin
      summary: Create a AiProxy plugin
      description: Create a AiProxy plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiProxyPlugin'
      responses:
        '201':
          description: Created AiProxy plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiProxyPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiProxyAdvanced:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiProxyAdvanced#create
      operationId: create-aiproxyadvanced-plugin
      summary: Create a AiProxyAdvanced plugin
      description: Create a AiProxyAdvanced plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiProxyAdvancedPlugin'
      responses:
        '201':
          description: Created AiProxyAdvanced plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiProxyAdvancedPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiRagInjector:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiRagInjector#create
      operationId: create-airaginjector-plugin
      summary: Create a AiRagInjector plugin
      description: Create a AiRagInjector plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiRagInjectorPlugin'
      responses:
        '201':
          description: Created AiRagInjector plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiRagInjectorPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiRateLimitingAdvanced:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiRateLimitingAdvanced#create
      operationId: create-airatelimitingadvanced-plugin
      summary: Create a AiRateLimitingAdvanced plugin
      description: Create a AiRateLimitingAdvanced plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin'
      responses:
        '201':
          description: Created AiRateLimitingAdvanced plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiRequestTransformer:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiRequestTransformer#create
      operationId: create-airequesttransformer-plugin
      summary: Create a AiRequestTransformer plugin
      description: Create a AiRequestTransformer plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiRequestTransformerPlugin'
      responses:
        '201':
          description: Created AiRequestTransformer plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiRequestTransformerPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiResponseTransformer:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiResponseTransformer#create
      operationId: create-airesponsetransformer-plugin
      summary: Create a AiResponseTransformer plugin
      description: Create a AiResponseTransformer plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiResponseTransformerPlugin'
      responses:
        '201':
          description: Created AiResponseTransformer plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiResponseTransformerPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiSanitizer:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiSanitizer#create
      operationId: create-aisanitizer-plugin
      summary: Create a AiSanitizer plugin
      description: Create a AiSanitizer plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiSanitizerPlugin'
      responses:
        '201':
          description: Created AiSanitizer plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiSanitizerPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiSemanticCache:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiSemanticCache#create
      operationId: create-aisemanticcache-plugin
      summary: Create a AiSemanticCache plugin
      description: Create a AiSemanticCache plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiSemanticCachePlugin'
      responses:
        '201':
          description: Created AiSemanticCache plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiSemanticCachePlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiSemanticPromptGuard:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiSemanticPromptGuard#create
      operationId: create-aisemanticpromptguard-plugin
      summary: Create a AiSemanticPromptGuard plugin
      description: Create a AiSemanticPromptGuard plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiSemanticPromptGuardPlugin'
      responses:
        '201':
          description: Created AiSemanticPromptGuard plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiSemanticPromptGuardPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AiSemanticResponseGuard:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAiSemanticResponseGuard#create
      operationId: create-aisemanticresponseguard-plugin
      summary: Create a AiSemanticResponseGuard plugin
      description: Create a AiSemanticResponseGuard plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiSemanticResponseGuardPlugin'
      responses:
        '201':
          description: Created AiSemanticResponseGuard plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiSemanticResponseGuardPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AppDynamics:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAppDynamics#create
      operationId: create-appdynamics-plugin
      summary: Create a AppDynamics plugin
      description: Create a AppDynamics plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppDynamicsPlugin'
      responses:
        '201':
          description: Created AppDynamics plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppDynamicsPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AwsLambda:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAwsLambda#create
      operationId: create-awslambda-plugin
      summary: Create a AwsLambda plugin
      description: Create a AwsLambda plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AwsLambdaPlugin'
      responses:
        '201':
          description: Created AwsLambda plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AwsLambdaPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#AzureFunctions:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginAzureFunctions#create
      operationId: create-azurefunctions-plugin
      summary: Create a AzureFunctions plugin
      description: Create a AzureFunctions plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AzureFunctionsPlugin'
      responses:
        '201':
          description: Created AzureFunctions plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AzureFunctionsPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#BasicAuth:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginBasicAuth#create
      operationId: create-basicauth-plugin
      summary: Create a BasicAuth plugin
      description: Create a BasicAuth plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicAuthPlugin'
      responses:
        '201':
          description: Created BasicAuth plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicAuthPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#BotDetection:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginBotDetection#create
      operationId: create-botdetection-plugin
      summary: Create a BotDetection plugin
      description: Create a BotDetection plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BotDetectionPlugin'
      responses:
        '201':
          description: Created BotDetection plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BotDetectionPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#Canary:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginCanary#create
      operationId: create-canary-plugin
      summary: Create a Canary plugin
      description: Create a Canary plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CanaryPlugin'
      responses:
        '201':
          description: Created Canary plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CanaryPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#Confluent:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginConfluent#create
      operationId: create-confluent-plugin
      summary: Create a Confluent plugin
      description: Create a Confluent plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfluentPlugin'
      responses:
        '201':
          description: Created Confluent plugin
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfluentPlugin'
        '401':
          $ref: '#/components/responses/HTTP401Error'
      tags:
      - Plugins
  /{workspace}/plugins#ConfluentConsume:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: PluginConfluentConsume#create
      operationId: create-confluentconsume-plugin
      summary: Create a ConfluentConsume plugin
      description: Create a ConfluentConsume plugin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/componen

# --- truncated at 32 KB (1577 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kong/refs/heads/main/openapi/kong-plugins-api-openapi.yml