Plugins

Update a AiPromptGuard plugin

Update a AiPromptGuard plugin

put/{workspace}/plugins/{PluginId}#AiPromptGuard

Request body

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'ai-prompt-guard' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A set of strings representing HTTP protocols.

Response

AiPromptGuard plugin

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'ai-prompt-guard' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A set of strings representing HTTP protocols.

Changes

Changed in 3 of the 11 revisions of this API.49

  • 9555cbb8b25926See the full diff
    • added the new anthropic enum value to the allOf[AiPromptGuardPluginConfig]/config/llm_format response property for the response status 200

      response-property-enum-value-added

    • added the new video/generation enum value to the allOf[AiPromptGuardPluginConfig]/config/genai_category response property for the response status 200

      response-property-enum-value-added

    • added the new optional request property allOf[PluginBase]/condition

      new-optional-request-property

    • the max_request_body_size request property default value changed from 8192 to 1048576

      request-property-default-value-changed

    • added the new anthropic enum value to the request property allOf[AiPromptGuardPluginConfig]/config/llm_format

      request-property-enum-value-added

    • added the new video/generation enum value to the request property allOf[AiPromptGuardPluginConfig]/config/genai_category

      request-property-enum-value-added

    • added the optional property allOf[PluginBase]/condition to the response with the 200 status

      response-optional-property-added

    • the max_request_body_size response's property default value changed from 8192 to 1048576 for the status 200

      response-property-default-value-changed

  • 65f3141f166222See the full diff
    • removed the request property name

      request-property-removed

    • removed the optional property name from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property allOf[AiPromptGuardPluginConfig]/name

      new-optional-request-property

    • added the optional property allOf[AiPromptGuardPluginConfig]/name to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 11 revisions, 1 has no diff computed.