---
title: "Changes to Update an AI Gateway Agent"
method: PUT
path: "/v1/ai-gateways/{gatewayId}/agents/{agentIdOrName}"
---

# Changes to Update an AI Gateway Agent

`PUT /v1/ai-gateways/{gatewayId}/agents/{agentIdOrName}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 31 revisions.

- **2026-12-03** `9c8d300657bd`: 13 breaking, 3 warning, 56 info
- **2026-09-01** `cef0f947e9c9`: 8 warning, 6 info
- **2026-08-18** `658ffb748f95`: 1 info

## Changes

- **2026-12-03** `9c8d300657bd`: 13 breaking, 3 warning, 56 info
  - the `config/url` request property's minLength was increased from `0` to `1`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `404`
  - the response's body type changed from no type to `object` for status `429`
  - the response property `config/proxy/auth` became nullable for the status `200`
  - the response property `config/proxy/http_proxy` became nullable for the status `200`
  - the response property `config/proxy/https_proxy` became nullable for the status `200`
  - the response property `config/proxy/no_proxy` became nullable for the status `200`
  - the response property `config/url` became nullable for the status `200`
  - the response property `config/url` became optional for the status `200`
  - the `managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `200`
  - the `config/logging/max_payload_size` request property's exclusiveMinimum was set to `true`
  - changed the pattern of the request property `managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `name/allOf[#/components/schemas/AIGatewayEntityIdentifier]/` from `^[A-Za-z0-9._:-]{1,256}$` to `^[A-Za-z0-9._:@-]{1,256}$`
  - added the new optional request property `access/acls/allow_when`
  - added the new optional request property `access/acls/deny_when`
  - added the new optional request property `config/balancer`
  - added the new optional request property `config/ca_certificates`
  - added the new optional request property `config/certificates`
  - added the new optional request property `config/path`
  - added the new optional request property `config/protocol`
  - added the new optional request property `config/targets`
  - the request property `config/proxy/auth` became nullable
  - the request property `config/proxy/http_proxy` became nullable
  - the request property `config/proxy/https_proxy` became nullable
  - the request property `config/proxy/no_proxy` became nullable
  - the request property `config/url` became nullable
  - the request property `config/url` became optional
  - the `managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `400`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `401`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `403`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `404`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `429`
  - added the optional property `access/acls/allow_when` to the response with the `200` status
  - added the optional property `access/acls/deny_when` to the response with the `200` status
  - added the optional property `config/balancer` to the response with the `200` status
  - added the optional property `config/ca_certificates` to the response with the `200` status
  - …32 more
- **2026-09-01** `cef0f947e9c9`: 8 warning, 6 info
  - the `config/logging/max_payload_size` request property's max was set to `2147483646.00`
  - the `config/max_request_body_size` request property's max was set to `2147483646.00`
  - the `config/route/https_redirect_status_code` request property's max was set to `599.00`
  - the `config/route/regex_priority` request property's max was set to `2147483647.00`
  - the `config/logging/max_payload_size` request property's min was set to `0.00`
  - the `config/max_request_body_size` request property's min was set to `0.00`
  - the `config/route/https_redirect_status_code` request property's min was set to `100.00`
  - the `config/route/regex_priority` request property's min was set to `-2147483648.00`
  - added the new optional request property `access/auth_strategies`
  - request property `access/identity_providers` deprecated
  - request property `access/identity_providers/items/` deprecated
  - added the optional property `access/auth_strategies` to the response with the `200` status
  - response property `access/identity_providers` deprecated
  - response property `access/identity_providers/items/` deprecated
- **2026-08-18** `658ffb748f95`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-beta/docs/v1/ai-gateways/:gatewayId/agents/:agentIdOrName/put.md) - [API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/ai-gateways/:gatewayId/agents/:agentIdOrName/put)
