Kong · Schema

AiA2aProxyPluginConfig

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
config object
name object
protocols array A set of strings representing HTTP protocols.
route object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service object If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
View JSON Schema on GitHub

JSON Schema

kong-aia2aproxypluginconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AiA2aProxyPluginConfig",
  "title": "AiA2aProxyPluginConfig",
  "x-speakeasy-entity": "PluginAiA2aProxy",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "logging": {
          "type": "object",
          "properties": {
            "log_payloads": {
              "description": "If enabled, logs request/response bodies to Kong log plugin(s) output. Requires log_statistics to be enabled.",
              "type": "boolean",
              "default": false
            },
            "log_statistics": {
              "description": "If enabled, adds A2A metrics to Kong log plugin(s) output.",
              "type": "boolean",
              "default": false
            },
            "max_payload_size": {
              "description": "Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated.",
              "type": "integer",
              "default": 1048576
            }
          }
        },
        "max_request_body_size": {
          "description": "Maximum size of request body to parse for A2A metadata. Set to 0 for unlimited.",
          "type": "integer",
          "default": 1048576
        }
      }
    },
    "name": {
      "const": "ai-a2a-proxy"
    },
    "protocols": {
      "description": "A set of strings representing HTTP protocols.",
      "type": "array",
      "items": {
        "enum": [
          "grpc",
          "grpcs",
          "http",
          "https"
        ],
        "type": "string"
      },
      "format": "set",
      "default": [
        "grpc",
        "grpcs",
        "http",
        "https"
      ]
    },
    "route": {
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "service": {
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        }
      }
    }
  }
}