Kong · Schema

KongRoute

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
id string Route ID
name string Route name
service object Reference to the service
paths array Request paths
methods array HTTP methods
View JSON Schema on GitHub

JSON Schema

kong-kongroute-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KongRoute",
  "title": "KongRoute",
  "type": "object",
  "properties": {
    "id": {
      "description": "Route ID",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "Route name",
      "type": "string",
      "example": "mcp-test-route-jsonrpc"
    },
    "service": {
      "description": "Reference to the service",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "paths": {
      "description": "Request paths",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "/mcp/test-service"
      ]
    },
    "methods": {
      "description": "HTTP methods",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "POST"
      ]
    }
  },
  "required": [
    "name",
    "paths",
    "methods"
  ]
}