Kong · Schema

CanaryPluginConfig

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-canarypluginconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CanaryPluginConfig",
  "title": "CanaryPluginConfig",
  "x-speakeasy-entity": "PluginCanary",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "canary_by_header_name": {
          "description": "A string representing an HTTP header name.",
          "type": "string"
        },
        "duration": {
          "description": "The duration of the canary release in seconds.",
          "type": "number",
          "default": 3600
        },
        "groups": {
          "description": "The groups allowed to access the canary release.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "hash": {
          "description": "Hash algorithm to be used for canary release.\n\n* `consumer`: The hash will be based on the consumer.\n* `ip`: The hash will be based on the client IP address.\n* `none`: No hash will be applied.\n* `allow`: Allows the specified groups to access the canary release.\n* `deny`: Denies the specified groups from accessing the canary release.\n* `header`: The hash will be based on the specified header value.",
          "type": "string",
          "default": "consumer",
          "enum": [
            "allow",
            "consumer",
            "deny",
            "header",
            "ip",
            "none"
          ]
        },
        "hash_header": {
          "description": "A string representing an HTTP header name.",
          "type": "string"
        },
        "percentage": {
          "description": "The percentage of traffic to be routed to the canary release.",
          "type": "number",
          "maximum": 100,
          "minimum": 0
        },
        "start": {
          "description": "Future time in seconds since epoch, when the canary release will start. Ignored when `percentage` is set, or when using `allow` or `deny` in `hash`.",
          "type": "number"
        },
        "steps": {
          "description": "The number of steps for the canary release.",
          "type": "number",
          "default": 1000,
          "minimum": 1
        },
        "upstream_fallback": {
          "description": "Specifies whether to fallback to the upstream server if the canary release fails.",
          "type": "boolean",
          "default": false
        },
        "upstream_host": {
          "description": "A string representing a host name, such as example.com.",
          "type": "string"
        },
        "upstream_port": {
          "description": "An integer representing a port number between 0 and 65535, inclusive.",
          "type": "integer",
          "maximum": 65535,
          "minimum": 0
        },
        "upstream_uri": {
          "description": "The URI of the upstream server to be used for the canary release.",
          "type": "string",
          "minLength": 1
        }
      }
    },
    "name": {
      "const": "canary"
    },
    "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"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kong-canarypluginconfig"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.