---
title: "Changes to Create a AiPromptGuard plugin"
method: POST
path: "/{workspace}/plugins#AiPromptGuard"
---

# Changes to Create a AiPromptGuard plugin

`POST /{workspace}/plugins#AiPromptGuard`

> Every recorded change to this endpoint, newest first.
> 11 revisions in range; 1 not diffed.

## Timeline

Changed in 3 of 11 revisions.

- **2026-04-24** `9555cbb8b259` — 2 warning, 6 info
- **2025-11-25** `65f3141f1662` — 2 warning, 2 info
- **2025-10-09** `740b73588ef4` — 1 info

## Changes

- **2026-04-24** `9555cbb8b259` — 2 warning, 6 info
  - added the new `anthropic` enum value to the `allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/llm_format` response property for the response status `201`
  - added the new `video/generation` enum value to the `allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/genai_category` response property for the response status `201`
  - added the new optional request property `allOf[#/components/schemas/PluginBase]/condition`
  - the `max_request_body_size` request property default value changed from `8192` to `1048576`
  - added the new `anthropic` enum value to the request property `allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/llm_format`
  - added the new `video/generation` enum value to the request property `allOf[#/components/schemas/AiPromptGuardPluginConfig]/config/genai_category`
  - added the optional property `allOf[#/components/schemas/PluginBase]/condition` to the response with the `201` status
  - the `max_request_body_size` response's property default value changed from `8192` to `1048576` for the status `201`
- **2025-11-25** `65f3141f1662` — 2 warning, 2 info
  - removed the request property `name`
  - removed the optional property `name` from the response with the `201` status
  - added the new optional request property `allOf[#/components/schemas/AiPromptGuardPluginConfig]/name`
  - added the optional property `allOf[#/components/schemas/AiPromptGuardPluginConfig]/name` to the response with the `201` status
- **2025-10-09** `740b73588ef4` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/docs/:workspace/plugins#AiPromptGuard/post.md) · [API](https://skmtc.dev/kong/apis/kong-enterprise-admin-api.md) · [Page](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/changes/:workspace/plugins#AiPromptGuard/post)
