Kong · Schema

AdvancedFilters

A list of filters to apply to the query.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-advancedfilters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AdvancedFilters",
  "title": "AdvancedFilters",
  "description": "A list of filters to apply to the query.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "field": {
        "type": "string",
        "enum": [
          "api",
          "api_package",
          "api_product",
          "api_product_version",
          "application",
          "consumer",
          "control_plane",
          "control_plane_group",
          "country_code",
          "data_plane_node",
          "data_plane_node_version",
          "gateway_service",
          "portal",
          "realm",
          "response_source",
          "route",
          "status_code",
          "status_code_grouped",
          "upstream_status_code",
          "upstream_status_code_grouped"
        ],
        "x-speakeasy-unknown-values": "allow"
      },
      "operator": {
        "type": "string",
        "enum": [
          "in",
          "not_in",
          "empty",
          "not_empty"
        ],
        "x-speakeasy-unknown-values": "allow"
      },
      "value": {
        "x-speakeasy-type-override": "any"
      }
    },
    "required": [
      "field",
      "operator"
    ]
  }
}