Plugins

Create a AiPromptGuard plugin

Changed on

Create a AiPromptGuard plugin

post/{workspace}/plugins#AiPromptGuard

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

workspace, string required
Example:team-payments

The name of the workspace

Request body

AiPromptGuardPlugin required

Response

Created AiPromptGuard plugin

AiPromptGuardPlugin required

Changes

    • warning

      added the new anthropic enum value to the allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/llm_format response property for the response status

    • warning

      added the new video/generation enum value to the allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/genai_category response property for the response status

    • info

      added the new optional request property allOf[#/components/schemas/PluginBase]/condition

    5 more changes in this revision