AIGatewayLoggingConfig

object

Configuration for AI Gateway logging.

* Additional properties are NOT allowed.
payloadsbooleanrequired

Default:false

statisticsbooleanrequired

Default:false

Example

AIGatewayMCPServerConfig

object

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
routeobject

Configuration for an AI Gateway route.

* Additional properties are NOT allowed.
Show Child Parameters
loggingobject

Configuration for AI Gateway logging.

* Additional properties are NOT allowed.
Show Child Parameters
max_request_body_sizeinteger

Default:1048576

serverobject
* Additional properties are NOT allowed.
Show Child Parameters
Example

CreateAIGatewayMCPServerRequest

One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

Example

UpdateAIGatewayMCPServerRequest

One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

Example

AIGatewayMCPServer

object
One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

Example