Kong · Schema

LLMFilters

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-llmfilters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LLMFilters",
  "title": "LLMFilters",
  "description": "A list of filters to apply to the query.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "field": {
        "type": "string",
        "enum": [
          "ai_plugin",
          "ai_provider",
          "ai_request_model",
          "ai_response_model",
          "application",
          "consumer",
          "control_plane",
          "control_plane_group",
          "gateway_service",
          "llm_cache_status",
          "llm_embeddings_model",
          "llm_embeddings_provider",
          "realm",
          "route",
          "status_code",
          "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"
    ]
  }
}