{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-test-results-api-http-endpoint-tests-data-rounds-search-schema.json",
  "title": "Endpoint_Test_Results_API_HttpEndpointTestsDataRoundsSearch",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-http-server-endpoint-scheduled-test-results-api-openapi.yml#/components/schemas/Endpoint_Test_Results_API_HttpEndpointTestsDataRoundsSearch",
  "type": "object",
  "properties": {
    "searchSort": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestsDataSearchSort"
      }
    },
    "thresholdFilter": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestsDataThresholdFilters"
    },
    "searchFilters": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestsDataSearchFilter"
    }
  },
  "$defs": {
    "Endpoint_Test_Results_API_ConditionalOperator": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ]
    },
    "Endpoint_Test_Results_API_HttpEndpointTestsDataSearchFilter": {
      "type": "object",
      "properties": {
        "testId": {
          "description": "Filter by test",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "agentId": {
          "description": "Filter using the `agent-id`.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "userPrincipalName": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_UserPrincipalNameFilter"
        },
        "nicModel": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicModelFilter"
        },
        "nicDriverVersion": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicDriverVersionFilter"
        }
      }
    },
    "Endpoint_Test_Results_API_HttpEndpointTestsDataSearchSort": {
      "type": "object",
      "properties": {
        "sort": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestsDataSearchSortKey"
        },
        "order": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_SortOrder"
        }
      }
    },
    "Endpoint_Test_Results_API_HttpEndpointTestsDataSearchSortKey": {
      "type": "string",
      "enum": [
        "round-id",
        "response-time",
        "dns-time",
        "connect-time",
        "ssl-time",
        "wait-time",
        "response-code",
        "wire-size"
      ]
    },
    "Endpoint_Test_Results_API_HttpEndpointTestsDataThresholdFilter": {
      "type": "object",
      "description": "The metric is filtered based on the threshold value and operator provided.",
      "properties": {
        "name": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_HttpThresholdFilterName"
        },
        "value": {
          "type": "number",
          "description": "The threshold value.",
          "format": "double"
        },
        "operator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ThresholdFilterOperator"
        }
      }
    },
    "Endpoint_Test_Results_API_HttpEndpointTestsDataThresholdFilters": {
      "type": "object",
      "description": "All filters are applied based on the conditional operator (and/or).",
      "properties": {
        "filters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestsDataThresholdFilter"
          }
        },
        "conditionalOperator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ConditionalOperator"
        }
      }
    },
    "Endpoint_Test_Results_API_HttpThresholdFilterName": {
      "type": "string",
      "description": "Metric on which the threshold filter is applied.",
      "enum": [
        "response-time",
        "dns-time",
        "connect-time",
        "throughput",
        "ssl-time",
        "wait-time",
        "application-score"
      ]
    },
    "Endpoint_Test_Results_API_NicDriverVersionFilter": {
      "description": "Filters results to NIC driver versions that exactly match one of the provided values. Matching is case-sensitive.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Endpoint_Test_Results_API_NicModelFilter": {
      "description": "Filters results to NIC models that exactly match one of the provided values. Matching is case-sensitive.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Endpoint_Test_Results_API_SortOrder": {
      "type": "string",
      "description": "Parameter indicates the ascending/descending  order of the sorting, using either the asc or desc values.",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "Endpoint_Test_Results_API_ThresholdFilterOperator": {
      "type": "string",
      "enum": [
        "gte",
        "lte"
      ]
    },
    "Endpoint_Test_Results_API_UserPrincipalName": {
      "type": "string",
      "description": "User login name in Internet-style format, typically used in Active Directory environments."
    },
    "Endpoint_Test_Results_API_UserPrincipalNameFilter": {
      "description": "Filters results based on an array of `userPrincipalName` values.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_UserPrincipalName"
      }
    }
  }
}