---
title: "Changes to Get a AiMcpOauth2 plugin"
method: GET
path: "/{workspace}/plugins/{PluginId}#AiMcpOauth2"
---

# Changes to Get a AiMcpOauth2 plugin

`GET /{workspace}/plugins/{PluginId}#AiMcpOauth2`

> 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 breaking, 18 info
- **2025-11-25** `65f3141f1662` — 1 warning, 1 info
- **2025-10-09** `740b73588ef4` — 1 info

## Changes

- **2026-04-24** `9555cbb8b259` — 2 breaking, 18 info
  - the response property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/client_id` became optional for the status `200`
  - the response property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/introspection_endpoint` became optional for the status `200`
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/consumer_by` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/consumer_claim` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/consumer_groups_claim` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/consumer_groups_optional` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/consumer_optional` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/credential_claim` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/jwks_cache_ttl` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/jwks_endpoint` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/jwt_claims_leeway` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/metadata_cache_ttl` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/metadata_discovery_endpoint` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/metadata_discovery_retry` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/passthrough_credentials` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/token_exchange` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config/upstream_headers` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/PluginBase]/condition` to the response with the `200` status
  - the response property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/config` became required for the status `200`
  - the `max_request_body_size` response's property default value changed from `8192` to `1048576` for the status `200`
- **2025-11-25** `65f3141f1662` — 1 warning, 1 info
  - removed the optional property `name` from the response with the `200` status
  - added the optional property `allOf[#/components/schemas/AiMcpOauth2PluginConfig]/name` to the response with the `200` status
- **2025-10-09** `740b73588ef4` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/docs/:workspace/plugins/:PluginId#AiMcpOauth2/get.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/:PluginId#AiMcpOauth2/get)
