---
title: "Changes to Create a AiPromptCompressor plugin"
method: POST
path: "/v2/control-planes/{controlPlaneId}/core-entities/plugins#AiPromptCompressor"
---

# Changes to Create a AiPromptCompressor plugin

`POST /v2/control-planes/{controlPlaneId}/core-entities/plugins#AiPromptCompressor`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 52 revisions.

- **2026-06-11** `62c54f1094bb` — 1 breaking, 1 info
- **2026-04-24** `7d6a643707d9` — 2 info
- **2025-10-29** `19e869275e28` — 2 breaking
- **2025-09-16** `f03059016622` — 5 breaking
- **2025-08-22** `96118a9cd7f4` — 2 breaking, 20 info
- **2025-07-22** `2c77aeaee5fb` — 1 info

## Changes

- **2026-06-11** `62c54f1094bb` — 1 breaking, 1 info
  - the request property `allOf[#/components/schemas/PluginBase]/partials/items/path` became required
  - the response property `allOf[#/components/schemas/PluginBase]/partials/items/path` became required for the status `201`
- **2026-04-24** `7d6a643707d9` — 2 info
  - added the new optional request property `allOf[#/components/schemas/PluginBase]/condition`
  - added the optional property `allOf[#/components/schemas/PluginBase]/condition` to the response with the `201` status
- **2025-10-29** `19e869275e28` — 2 breaking
  - the `allOf[#/components/schemas/AiPromptCompressorPluginConfig]/name` request property type/format changed from `string`/`` to ``/``
  - the `allOf[#/components/schemas/AiPromptCompressorPluginConfig]/name` response's property type/format changed from `string`/`` to ``/`` for status `201`
- **2025-09-16** `f03059016622` — 5 breaking
  - the request property `allOf[#/components/schemas/PluginBase]/partials/items/name` became not nullable
  - the request property `allOf[#/components/schemas/PluginBase]/partials/items/path` became not nullable
  - the `allOf[#/components/schemas/PluginBase]/id` request property's minLength was increased from `0` to `1`
  - the `allOf[#/components/schemas/PluginBase]/name` request property's minLength was increased from `0` to `1`
  - the `allOf[#/components/schemas/PluginBase]/partials/items/id` request property's minLength was increased from `0` to `1`
- **2025-08-22** `96118a9cd7f4` — 2 breaking, 20 info
  - the response property `allOf[#/components/schemas/PluginBase]/partials/items/name` became nullable for the status `201`
  - the response property `allOf[#/components/schemas/PluginBase]/partials/items/path` became nullable for the status `201`
  - the request property `allOf[#/components/schemas/PluginBase]/partials/items/name` became nullable
  - the request property `allOf[#/components/schemas/PluginBase]/partials/items/path` became nullable
  - the `compressor_type` request property default value `rate` was added
  - the `compressor_url` request property default value `http://localhost:8080` was added
  - the `enabled` request property default value `true` was added
  - the `keepalive_timeout` request property default value `60000` was added
  - the `log_text_data` request property default value `false` was added
  - the `message_type` request property default value `user` was added
  - the `protocols` request property default value `grpc, grpcs, http, https` was added
  - the `stop_on_error` request property default value `true` was added
  - the `timeout` request property default value `10000` was added
  - the `compressor_type` response's property default value `rate` was added for the status `201`
  - the `compressor_url` response's property default value `http://localhost:8080` was added for the status `201`
  - the `enabled` response's property default value `true` was added for the status `201`
  - the `keepalive_timeout` response's property default value `60000` was added for the status `201`
  - the `log_text_data` response's property default value `false` was added for the status `201`
  - the `message_type` response's property default value `user` was added for the status `201`
  - the `protocols` response's property default value `grpc, grpcs, http, https` was added for the status `201`
  - the `stop_on_error` response's property default value `true` was added for the status `201`
  - the `timeout` response's property default value `10000` was added for the status `201`
- **2025-07-22** `2c77aeaee5fb` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api/docs/v2/control-planes/:controlPlaneId/core-entities/plugins#AiPromptCompressor/post.md) · [API](https://skmtc.dev/kong/apis/konnect-api.md) · [Page](https://skmtc.dev/kong/apis/konnect-api/changes/v2/control-planes/:controlPlaneId/core-entities/plugins#AiPromptCompressor/post)
