Kong · Schema

CriteriaParameters

Input parameters for the given criteria template. The available parameters, and its schema, are found on the criteria template definition via the `schema` property. Criteria template definitions are determined by the `/v1/criteria-templates` endpoint.

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

JSON Schema

kong-criteriaparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CriteriaParameters",
  "title": "CriteriaParameters",
  "description": "Input parameters for the given criteria template.\nThe available parameters, and its schema, are found on the criteria template definition via\nthe `schema` property. Criteria template definitions are determined by the `/v1/criteria-templates`\nendpoint.\n",
  "type": "object",
  "example": {
    "measure": "median",
    "threshold": {
      "unit": "hours",
      "value": 6
    },
    "window": {
      "unit": "months",
      "value": 3
    }
  },
  "additionalProperties": true,
  "nullable": true
}