Get an AI Gateway Custom Policy
Changed onReturns the details of a specific AI Gateway custom policy.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
Contains a unique identifier used for this resource.
The unique ID of the AI Gateway.
Contains a unique identifier used for this resource.
The unique ID of the AI Gateway custom policy.
Response
A successful response returning the AI Gateway Custom Policy.
An AI Gateway custom policy.
Example response
{
"name": "my-installed-custom-policy",
"display_name": "Custom Policy - Installed plugin",
"schema": "<lua_schema>",
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the
oneOf[#/components/schemas/AIGatewayCustomPolicyInstalled]/managed_by/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - breaking
the
oneOf[#/components/schemas/AIGatewayCustomPolicyStreaming]/managed_by/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - info
the
oneOf[#/components/schemas/AIGatewayCustomPolicyInstalled]/managed_by/additionalPropertiesresponse's property pattern was changed from^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$to^[^\s\x00-\x1F\x7F-\x9F]+$for the status
1 more change in this revision
- breaking