Kong · Schema

CriteriaEvaluationErrorResult

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
relation object
error object Details about an error that occurred during evaluation preventing computation of a pass/fail result. Will be `null` when no error occurred.
View JSON Schema on GitHub

JSON Schema

kong-criteriaevaluationerrorresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CriteriaEvaluationErrorResult",
  "title": "CriteriaEvaluationErrorResult",
  "type": "object",
  "properties": {
    "relation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "error": {
      "description": "Details about an error that occurred during evaluation preventing computation of a pass/fail result.\nWill be `null` when no error occurred.\n",
      "type": "object",
      "example": null,
      "nullable": true,
      "properties": {
        "type": {
          "description": "The type of error that occurred.",
          "type": "string",
          "example": "integration_unauthorized"
        },
        "details": {
          "description": "Human-readable error message about the error.",
          "type": "string",
          "example": "The GitHub integration is unauthorized. Please ensure that the\nintegration is re-authorized for the criteria to be successfully evaluated.\n"
        }
      },
      "required": [
        "type",
        "details"
      ]
    }
  },
  "required": [
    "relation",
    "error"
  ]
}