Plugins

Update a AiRequestTransformer plugin

Update a AiRequestTransformer plugin

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

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-request-transformer' 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

AiRequestTransformer 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-request-transformer' 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.1037

  • 9555cbb8b259834See the full diff
    • added the new cerebras enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new dashscope enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new databricks enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new deepseek enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new ollama enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new video/v1/videos/generations enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/route_type response property for the response status 200

      response-property-enum-value-added

    • added the new vllm enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new xai enum value to the allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider response property for the response status 200

      response-property-enum-value-added

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/auth/gcp_metadata_url

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/auth/gcp_oauth_token_url

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/description

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/metadata

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/model_alias

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/batch_bucket_prefix

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/batch_role_arn

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/video_output_s3_uri

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/dashscope

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/databricks

      new-optional-request-property

    • added the new optional request property allOf[AiRequestTransformerPluginConfig]/config/llm/weight

      new-optional-request-property

    • 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 cerebras enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new dashscope enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new databricks enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new deepseek enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new ollama enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new video/v1/videos/generations enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/route_type

      request-property-enum-value-added

    • added the new vllm enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the new xai enum value to the request property allOf[AiRequestTransformerPluginConfig]/config/llm/model/provider

      request-property-enum-value-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/auth/gcp_metadata_url to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/auth/gcp_oauth_token_url to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/description to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/metadata to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/model_alias to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/batch_bucket_prefix to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/batch_role_arn to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/bedrock/video_output_s3_uri to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/dashscope to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/model/options/databricks to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[AiRequestTransformerPluginConfig]/config/llm/weight to the response with the 200 status

      response-optional-property-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[AiRequestTransformerPluginConfig]/name

      new-optional-request-property

    • added the optional property allOf[AiRequestTransformerPluginConfig]/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.