{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-test-results-api-http-endpoint-test-results-schema.json",
  "title": "Endpoint_Test_Results_API_HttpEndpointTestResults",
  "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_HttpEndpointTestResults",
  "type": "object",
  "properties": {
    "results": {
      "x-paginated-items": true,
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestResult"
      }
    },
    "totalHits": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_TotalHits"
    },
    "test": {
      "description": "The scheduled test configuration. Omitted when the user lacks the `View endpoint experience tests` permission.",
      "allOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointHttpServerTest"
        }
      ]
    },
    "startDate": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_StartDate"
    },
    "endDate": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_EndDate"
    },
    "_links": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_PaginationNextAndSelfLink"
    }
  },
  "$defs": {
    "Endpoint_Test_Results_API_AccountGroupId": {
      "type": "string",
      "description": "A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint."
    },
    "Endpoint_Test_Results_API_ApplicationScoreQuality": {
      "type": "string",
      "enum": [
        "great",
        "good",
        "poor"
      ]
    },
    "Endpoint_Test_Results_API_BatteryLevel": {
      "description": "Battery level indicator.",
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "Endpoint_Test_Results_API_BatteryMetrics": {
      "description": "Battery metrics for the endpoint agent.",
      "type": "object",
      "readOnly": true,
      "properties": {
        "batteryHealthNormalizedPercent": {
          "type": "number",
          "format": "double",
          "description": "Battery health as a normalized percentage (0-1).",
          "minimum": 0,
          "maximum": 1
        },
        "batteryLevel": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_BatteryLevel"
        },
        "batteryLevelNormalizedPercent": {
          "type": "number",
          "format": "double",
          "description": "Battery level as a normalized percentage (0-1).",
          "minimum": 0,
          "maximum": 1
        }
      },
      "required": [
        "batteryLevel",
        "batteryLevelNormalizedPercent"
      ]
    },
    "Endpoint_Test_Results_API_CellularNetworkGen": {
      "description": "Cellular network generation.",
      "type": "string"
    },
    "Endpoint_Test_Results_API_CellularProfile": {
      "description": "Cellular network profile information for a mobile endpoint agent.",
      "type": "object",
      "readOnly": true,
      "properties": {
        "carrierName": {
          "type": "string",
          "description": "Carrier name"
        },
        "networkGen": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_CellularNetworkGen"
        },
        "networkSubtype": {
          "type": "string",
          "description": "A real network subtype. It may be different from an advertised network type."
        },
        "advertisedNetworkGen": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_CellularNetworkGen"
        },
        "advertisedNetworkSubtype": {
          "type": "string",
          "description": "Advertised Network subtype"
        },
        "rssi": {
          "type": "number",
          "format": "double",
          "description": "Received Signal Strength Indicator in dBm. Values are always negative."
        },
        "rsrp": {
          "type": "number",
          "format": "double",
          "description": "Reference Signal Received Power in dBm. Values are always negative."
        },
        "rscp": {
          "type": "number",
          "format": "double",
          "description": "Received Signal Code Power in dBm. Values are always negative or zero."
        },
        "rsrq": {
          "type": "number",
          "format": "double",
          "description": "Reference Signal Received Quality in dBm. Values are always negative."
        },
        "sinr": {
          "type": "number",
          "format": "double",
          "description": "Signal to Interference and Noise Ratio in dBm. It can be negative or positive."
        }
      }
    },
    "Endpoint_Test_Results_API_CpuUtilization": {
      "type": "object",
      "properties": {
        "min": {
          "type": "number",
          "format": "double",
          "description": "The minimum sampled usage value recorded during the monitored period.",
          "minimum": 0,
          "maximum": 1,
          "readOnly": true
        },
        "max": {
          "type": "number",
          "format": "double",
          "description": "The maximum sampled usage value recorded during the monitored period.",
          "minimum": 0,
          "maximum": 1,
          "readOnly": true
        },
        "mean": {
          "type": "number",
          "format": "double",
          "description": "The mean (average) sampled usage value recorded during the monitored period.",
          "minimum": 0,
          "maximum": 1,
          "readOnly": true
        },
        "median": {
          "type": "number",
          "format": "double",
          "description": "The median sampled usage value recorded during the monitored period.",
          "minimum": 0,
          "maximum": 1,
          "readOnly": true
        },
        "stdDev": {
          "type": "number",
          "format": "double",
          "description": "The standard deviation of sampled usage values recorded during the monitored period.",
          "minimum": 0,
          "maximum": 1,
          "readOnly": true
        },
        "count": {
          "type": "integer",
          "description": "The total number of samples collected during the monitored period.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_EndDate": {
      "type": "string",
      "format": "date-time",
      "description": "(Optional) When passing `window` or `endDate` parameter,  the client will also receive the `endDate` field indicating the UTC end date of the data's time range being retrieved  (ISO date-time format).",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_EndpointAgentId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique ID of endpoint agent, from `/endpoint/agents` endpoint.",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_EndpointAgentLabels": {
      "type": "array",
      "deprecated": true,
      "description": "Deprecated. Use `tagIds` instead.\n\nList of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`.\n",
      "items": {
        "type": "string"
      }
    },
    "Endpoint_Test_Results_API_EndpointAgentLabelsSelectorConfig": {
      "type": "object",
      "description": "Agent labels selection object.",
      "readOnly": true,
      "deprecated": true,
      "properties": {
        "agentSelectorType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentLabelsSelectorType"
        },
        "maxMachines": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestMaxMachines"
        },
        "endpointAgentLabels": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentLabels"
        },
        "tagIds": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TagIds"
        }
      },
      "required": [
        "agentSelectorType"
      ]
    },
    "Endpoint_Test_Results_API_EndpointAgentLabelsSelectorType": {
      "type": "string",
      "pattern": "^agent-labels$"
    },
    "Endpoint_Test_Results_API_EndpointAgentSelectorConfig": {
      "type": "object",
      "description": "Agents selection object based on agentSelectorType.",
      "readOnly": true,
      "oneOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAllAgentsSelectorConfig"
        },
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointSpecificAgentsSelectorConfig"
        },
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentLabelsSelectorConfig"
        },
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentTagsSelectorConfig"
        }
      ],
      "required": [
        "agentSelectorType"
      ]
    },
    "Endpoint_Test_Results_API_EndpointAgentTagsSelectorConfig": {
      "type": "object",
      "description": "Agent tags selection object.",
      "readOnly": true,
      "properties": {
        "agentSelectorType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentTagsSelectorType"
        },
        "maxMachines": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestMaxMachines"
        },
        "endpointAgentLabels": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentLabels"
        },
        "tagIds": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TagIds"
        }
      },
      "required": [
        "agentSelectorType"
      ]
    },
    "Endpoint_Test_Results_API_EndpointAgentTagsSelectorType": {
      "type": "string",
      "pattern": "^agent-tags$"
    },
    "Endpoint_Test_Results_API_EndpointAllAgentsSelectorConfig": {
      "type": "object",
      "description": "Any agent selection object.",
      "readOnly": true,
      "properties": {
        "agentSelectorType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAllAgentsSelectorType"
        },
        "maxMachines": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestMaxMachines"
        }
      },
      "required": [
        "agentSelectorType"
      ]
    },
    "Endpoint_Test_Results_API_EndpointAllAgentsSelectorType": {
      "type": "string",
      "pattern": "^all-agents$"
    },
    "Endpoint_Test_Results_API_EndpointHttpDataPointScore": {
      "type": "object",
      "properties": {
        "applicationScore": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointScoreNumeric"
        },
        "quality": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ApplicationScoreQuality"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointHttpServerBaseTest": {
      "type": "object",
      "properties": {
        "authType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestAuthType"
        },
        "hasPathTraceInSession": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestHasPathTraceInSession"
        },
        "httpTimeLimit": {
          "type": "integer",
          "description": "Maximum amount of time in milliseconds the agents wait before a request times out.",
          "default": 5000
        },
        "protocol": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestProtocol"
        },
        "username": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestUsername"
        },
        "sslVersionId": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestSslVersionId"
        },
        "tcpProbeMode": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestProbeModeResponse"
        },
        "verifyCertificate": {
          "type": "boolean",
          "description": "Flag indicating if a certificate should be verified.",
          "default": true
        },
        "url": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestResultUrl"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointHttpServerTest": {
      "allOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTest"
        },
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointHttpServerBaseTest"
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointHttpServerType"
            },
            "followRedirects": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestFollowRedirects"
            },
            "httpTargetTime": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestHttpTargetTime"
            },
            "httpVersion": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestHttpVersion"
            },
            "isPrioritized": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestIsPrioritized"
            },
            "interval": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestInterval"
            },
            "sslVersion": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestSslVersion"
            },
            "useNtlm": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_TestUseNtlm"
            }
          }
        }
      ]
    },
    "Endpoint_Test_Results_API_EndpointHttpServerType": {
      "type": "string",
      "description": "Type of test being queried.",
      "pattern": "^http-server$",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_EndpointIpVersionOut": {
      "description": "For reading current network test configurations, the IP version of the test. Values include V4_ONLY, V6_ONLY, V6_PREFER, and OS_DEFAULT.",
      "type": "string"
    },
    "Endpoint_Test_Results_API_EndpointScheduledTestType": {
      "type": "string",
      "enum": [
        "agent-to-server",
        "http-server"
      ],
      "description": "Type of test being queried.",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_EndpointScoreNumeric": {
      "type": "number",
      "format": "double",
      "description": "A fine-grained score between 0 and 100."
    },
    "Endpoint_Test_Results_API_EndpointSpecificAgentsSelectorConfig": {
      "type": "object",
      "description": "Specific agents selection object.",
      "readOnly": true,
      "properties": {
        "agentSelectorType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointSpecificAgentsSelectorType"
        },
        "maxMachines": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestMaxMachines"
        },
        "agents": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestAgents"
        }
      },
      "required": [
        "agentSelectorType"
      ]
    },
    "Endpoint_Test_Results_API_EndpointSpecificAgentsSelectorType": {
      "type": "string",
      "pattern": "^specific-agents$"
    },
    "Endpoint_Test_Results_API_EndpointTest": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "aid": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_AccountGroupId"
        },
        "_links": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestLinks"
        },
        "agentSelectorConfig": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentSelectorConfig"
        },
        "createdDate": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestCreatedDate"
        },
        "isPrioritized": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestIsPrioritized"
        },
        "interval": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestInterval"
        },
        "isEnabled": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestIsEnabled"
        },
        "isSavedEvent": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestIsSavedEvent"
        },
        "hasPathTraceInSession": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestHasPathTraceInSession"
        },
        "labels": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestLabels"
        },
        "modifiedDate": {
          "type": "string",
          "format": "date-time",
          "description": "UTC last modification date (ISO date-time format).",
          "readOnly": true
        },
        "networkMeasurements": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestNetworkMeasurements"
        },
        "protocol": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestProtocol"
        },
        "ipVersion": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointIpVersionOut"
        },
        "server": {
          "type": "string",
          "description": "Target domain name or IP address."
        },
        "testId": {
          "type": "string",
          "description": "Each test is assigned a unique ID to access test data from other endpoints.",
          "readOnly": true
        },
        "testName": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestName"
        },
        "type": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointScheduledTestType"
        },
        "tcpProbeMode": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestProbeModeResponse"
        },
        "port": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestPort"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestAgents": {
      "type": "array",
      "description": "List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`.",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "Endpoint_Test_Results_API_EndpointTestAuthType": {
      "type": "string",
      "description": "HTTP authentication type.",
      "enum": [
        "none",
        "basic",
        "ntlm"
      ],
      "default": "none"
    },
    "Endpoint_Test_Results_API_EndpointTestEthernetProfile": {
      "type": "object",
      "properties": {
        "linkSpeed": {
          "type": "integer",
          "description": "Ethernet profile link speed",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestLinks": {
      "type": "object",
      "description": "A list of links that can be accessed to get more information.",
      "properties": {
        "self": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestSelfLink"
        },
        "testResults": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ScheduledTestResults"
        }
      },
      "readOnly": true
    },
    "Endpoint_Test_Results_API_EndpointTestMaxMachines": {
      "type": "integer",
      "description": "Maximum number of agents which can execute the test.",
      "default": 25
    },
    "Endpoint_Test_Results_API_EndpointTestPort": {
      "type": "integer",
      "description": "Port number.",
      "default": 443
    },
    "Endpoint_Test_Results_API_EndpointTestProtocol": {
      "type": "string",
      "enum": [
        "icmp",
        "icmp-with-tcp-connect",
        "tcp",
        "prefer-tcp",
        "ast-autodetect",
        "autodetect"
      ],
      "description": "Protocol requested for the test.",
      "default": "icmp"
    },
    "Endpoint_Test_Results_API_EndpointTestResult": {
      "type": "object",
      "properties": {
        "aid": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_AccountGroupId"
        },
        "testId": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestId"
        },
        "agentId": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointAgentId"
        },
        "roundId": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_RoundId"
        },
        "serverIp": {
          "type": "string",
          "description": "IP address of target server.",
          "readOnly": true
        },
        "networkProfile": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkProfile"
        },
        "systemMetrics": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_SystemMetrics"
        },
        "originalTargetProfile": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TargetProfile"
        },
        "userProfile": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_UserProfile"
        },
        "vpnProfile": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_VpnProfile"
        },
        "batteryMetrics": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_BatteryMetrics"
        },
        "cellularProfile": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_CellularProfile"
        },
        "platform": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_Platform"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestResultUrl": {
      "type": "string",
      "description": "The test target URL."
    },
    "Endpoint_Test_Results_API_EndpointTestSelfLink": {
      "allOf": [
        {
          "description": "A reference to the test."
        },
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_Link"
        }
      ]
    },
    "Endpoint_Test_Results_API_HttpEndpointTestResult": {
      "allOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestResult"
        },
        {
          "type": "object",
          "properties": {
            "score": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointHttpDataPointScore"
            },
            "connectTime": {
              "type": "integer",
              "description": "Time required to establish a TCP connection to the server in milliseconds.",
              "readOnly": true
            },
            "dnsTime": {
              "type": "integer",
              "description": "Time required to resolve DNS in milliseconds.",
              "readOnly": true
            },
            "errorType": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_HttpErrorType"
            },
            "errorDetails": {
              "type": "string",
              "description": "Error details, if an error were encountered.",
              "readOnly": true
            },
            "headers": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_HttpEndpointTestResultHeaders"
            },
            "numRedirects": {
              "type": "integer",
              "description": "Number of redirects.",
              "readOnly": true
            },
            "receiveTime": {
              "type": "integer",
              "description": "Elapsed time between first and last byte of response in milliseconds.",
              "readOnly": true
            },
            "redirectTime": {
              "type": "integer",
              "description": "Cumulative redirect timing in milliseconds.",
              "readOnly": true
            },
            "responseCode": {
              "type": "integer",
              "description": "HTTP response code.",
              "readOnly": true
            },
            "responseTime": {
              "type": "integer",
              "description": "Time to first byte in milliseconds.",
              "readOnly": true
            },
            "serverIp": {
              "type": "string",
              "description": "IP address of destination server.",
              "readOnly": true
            },
            "sslTime": {
              "type": "integer",
              "description": "Time to negotiate SSL/TLS in milliseconds.",
              "readOnly": true
            },
            "totalTime": {
              "type": "integer",
              "description": "Total time is the response time + receive time.",
              "readOnly": true
            },
            "waitTime": {
              "type": "integer",
              "description": "Time elapsed between completion of request and first byte of response in milliseconds.",
              "readOnly": true
            },
            "wireSize": {
              "type": "integer",
              "description": "Size of content in bytes.",
              "readOnly": true
            },
            "throughput": {
              "type": "integer",
              "description": "Amount of data transmitted, in bytes.",
              "readOnly": true
            }
          }
        }
      ]
    },
    "Endpoint_Test_Results_API_HttpEndpointTestResultHeaders": {
      "type": "object",
      "description": "Expandable object containing both request and response headers.",
      "properties": {
        "requestHeaders": {
          "type": "string",
          "description": "CRLF-delimited list of request headers in `header: value` format.",
          "readOnly": true
        },
        "responseHeaders": {
          "type": "string",
          "description": "CRLF-delimited list of response headers in `header: value` format.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_HttpErrorType": {
      "type": "string",
      "enum": [
        "connect",
        "dns",
        "http",
        "none",
        "send",
        "ssl",
        "receive"
      ],
      "description": "Type of error encountered; corresponds to phase of connection.",
      "default": "connect",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_InterfaceHardwareType": {
      "type": "string",
      "enum": [
        "unknown",
        "wireless",
        "ethernet",
        "modem",
        "virtual",
        "loopback",
        "other"
      ]
    },
    "Endpoint_Test_Results_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Endpoint_Test_Results_API_NetworkInterface": {
      "type": "object",
      "properties": {
        "ipAddress": {
          "type": "string",
          "description": "Network IP address.",
          "readOnly": true
        },
        "subnetMask": {
          "type": "string",
          "description": "Network subnet mask - only for IPv4.",
          "readOnly": true
        },
        "publicIpAddress": {
          "type": "string",
          "description": "Network public IP address.",
          "readOnly": true
        },
        "localPrefix": {
          "type": "string",
          "description": "Network local prefix.",
          "readOnly": true
        },
        "publicIpRange": {
          "type": "string",
          "description": "Network public IP range.",
          "readOnly": true
        },
        "dnsServers": {
          "type": "array",
          "description": "Network DNS servers.",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "hardwareType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_InterfaceHardwareType"
        },
        "interfaceName": {
          "type": "string",
          "description": "Network interface name.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_NetworkProfile": {
      "allOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkInterface"
        },
        {
          "type": "object",
          "description": "Contains basic network connectivity parameters.",
          "properties": {
            "error": {
              "type": "string",
              "description": "Only present when there is an error",
              "readOnly": true
            },
            "gateway": {
              "type": "string",
              "description": "Network gateway address.",
              "readOnly": true
            },
            "wirelessProfile": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkWirelessProfile"
            },
            "proxyProfile": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkProxyProfile"
            },
            "ethernetProfile": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestEthernetProfile"
            },
            "previousInterface": {
              "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkInterface"
            }
          }
        }
      ]
    },
    "Endpoint_Test_Results_API_NetworkProxy": {
      "type": "object",
      "properties": {
        "bypass": {
          "type": "string",
          "description": "Proxy bypass expression.",
          "readOnly": true
        },
        "proxy": {
          "type": "string",
          "description": "Proxy mode.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_NetworkProxyProfile": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "description": "Proxy profile method.",
          "readOnly": true
        },
        "proxies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkProxy"
          }
        }
      }
    },
    "Endpoint_Test_Results_API_NetworkWirelessProfile": {
      "type": "object",
      "properties": {
        "ssid": {
          "type": "string",
          "description": "Wireless network SSID.",
          "readOnly": true
        },
        "bssid": {
          "type": "string",
          "description": "Wireless network BSSID.",
          "readOnly": true
        },
        "channel": {
          "type": "integer",
          "description": "Wireless network channel.",
          "readOnly": true
        },
        "phyMode": {
          "type": "string",
          "description": "Wireless network PHY mode.",
          "readOnly": true
        },
        "rssi": {
          "type": "integer",
          "description": "Wireless network RSSI.",
          "readOnly": true
        },
        "noise": {
          "type": "integer",
          "description": "Wireless network noise.",
          "readOnly": true
        },
        "snr": {
          "type": "integer",
          "description": "Wireless network signal-to-noise ratio (SNR), in dB.",
          "readOnly": true
        },
        "quality": {
          "type": "integer",
          "description": "Wireless network quality.",
          "readOnly": true
        },
        "txRate": {
          "type": "integer",
          "description": "Wireless network transmitted rate.",
          "readOnly": true
        },
        "vendor": {
          "type": "string",
          "description": "Wireless network device vendor.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_PaginationNextAndSelfLink": {
      "type": "object",
      "description": "A links object containing a related link for forward pagination.",
      "properties": {
        "next": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_Link"
        },
        "self": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_Link"
        }
      }
    },
    "Endpoint_Test_Results_API_PhysicalMemoryUsedBytes": {
      "type": "object",
      "properties": {
        "min": {
          "type": "number",
          "format": "double",
          "description": "The minimum sampled memory usage value recorded during the monitored period.",
          "readOnly": true
        },
        "max": {
          "type": "number",
          "format": "double",
          "description": "The maximum sampled memory usage value recorded during the monitored period.",
          "readOnly": true
        },
        "mean": {
          "type": "number",
          "format": "double",
          "description": "The mean (average) value of memory usage sampled over the monitored period.",
          "readOnly": true
        },
        "median": {
          "type": "number",
          "format": "double",
          "description": "The median value of memory usage sampled over the monitored period.",
          "readOnly": true
        },
        "stdDev": {
          "type": "number",
          "format": "double",
          "description": "The standard deviation of memory usage sampled during the monitored period.",
          "readOnly": true
        },
        "count": {
          "type": "integer",
          "description": "The total number of samples collected during the monitored period.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_Platform": {
      "description": "OS platform types. Platform \"linux\" was recently renamed to \"roomos\".",
      "type": "string",
      "enum": [
        "windows",
        "roomos",
        "phoneos",
        "elux",
        "cisco-wireless",
        "cisco-wireless-cloud",
        "linux",
        "mac",
        "android",
        "unknown"
      ]
    },
    "Endpoint_Test_Results_API_RoundId": {
      "type": "integer",
      "description": "Epoch time (seconds) indicating the start time of the round.",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_ScheduledTestResults": {
      "type": "array",
      "description": "Reference to the test results.",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_Link"
      }
    },
    "Endpoint_Test_Results_API_StartDate": {
      "type": "string",
      "format": "date-time",
      "description": "(Optional) When passing `window` or `startDate` parameter,  the client will also receive the `startDate` field indicating the UTC start date of the data's time range being retrieved  (ISO date-time format).",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_SystemMetrics": {
      "type": "object",
      "properties": {
        "startTimeMs": {
          "type": "integer",
          "format": "int64",
          "description": "The start time of metrics collection, expressed in milliseconds since the Epoch.",
          "readOnly": true
        },
        "endTimeMs": {
          "type": "integer",
          "format": "int64",
          "description": "The end time of metrics collection, expressed in milliseconds since the Epoch.",
          "readOnly": true
        },
        "cpuUtilization": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_CpuUtilization"
        },
        "physicalMemoryUsedBytes": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_PhysicalMemoryUsedBytes"
        },
        "physicalMemoryTotalBytes": {
          "type": "integer",
          "format": "int64",
          "description": "Total physical memory of the system.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Test_Results_API_TagIds": {
      "type": "array",
      "description": "List of tag IDs (obtained from `/tags` endpoint).",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "Endpoint_Test_Results_API_TargetProfile": {
      "type": "object",
      "properties": {
        "remotePort": {
          "type": "integer",
          "description": "The remote port of a network flow towards the target.",
          "readOnly": true
        },
        "remoteIpAddress": {
          "type": "string",
          "description": "The remote IP address of a network flow towards the target.",
          "readOnly": true
        },
        "protocol": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_TestProtocol"
        }
      }
    },
    "Endpoint_Test_Results_API_TestCreatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "UTC created date (ISO date-time format).",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_TestFollowRedirects": {
      "type": "boolean",
      "description": "To disable following HTTP/301 or HTTP/302 redirect directives, set this parameter to `false`.",
      "default": true
    },
    "Endpoint_Test_Results_API_TestHasPathTraceInSession": {
      "type": "boolean",
      "description": "Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session."
    },
    "Endpoint_Test_Results_API_TestHttpTargetTime": {
      "type": "integer",
      "minimum": 100,
      "maximum": 5000,
      "description": "Target time for HTTP server completion, specified in milliseconds."
    },
    "Endpoint_Test_Results_API_TestHttpVersion": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2,
      "description": "HTTP protocol version. Set to '2' to prefer HTTP/2, or '1' to use only HTTP/1.1.",
      "default": 2
    },
    "Endpoint_Test_Results_API_TestId": {
      "type": "string",
      "description": "Unique ID of endpoint test.",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_TestInterval": {
      "type": "integer",
      "enum": [
        60,
        120,
        300,
        600,
        900,
        1800,
        3600
      ],
      "description": "Interval between test runs in seconds.",
      "default": 60
    },
    "Endpoint_Test_Results_API_TestIsEnabled": {
      "type": "boolean",
      "description": "Indicates if test is enabled.",
      "default": true
    },
    "Endpoint_Test_Results_API_TestIsPrioritized": {
      "type": "boolean",
      "description": "Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.",
      "default": false
    },
    "Endpoint_Test_Results_API_TestIsSavedEvent": {
      "type": "boolean",
      "description": "Indicates if the test is a saved event.\n\n**Note**: **Saved Events** are now called **Private Snapshots** in the user interface. This change does not affect API.\n",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_TestLabel": {
      "type": "object",
      "properties": {
        "labelId": {
          "type": "string",
          "description": "Label ID."
        },
        "name": {
          "type": "string",
          "description": "Name of the label."
        },
        "isBuiltin": {
          "type": "boolean",
          "description": "Value indicating if the label in question is BuiltIn (Account Admin, Organization Admin, Regular User)."
        }
      }
    },
    "Endpoint_Test_Results_API_TestLabels": {
      "type": "array",
      "description": "Labels to which the test is assigned. This field is not returned for Instant Tests.",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_TestLabel"
      }
    },
    "Endpoint_Test_Results_API_TestName": {
      "type": "string",
      "description": "Name of the test."
    },
    "Endpoint_Test_Results_API_TestNetworkMeasurements": {
      "type": "boolean",
      "description": "Enable or disable network measurements. Set to true to enable or false to disable network measurements.",
      "default": true
    },
    "Endpoint_Test_Results_API_TestProbeModeResponse": {
      "type": "string",
      "enum": [
        "auto",
        "sack",
        "syn",
        "syn-pcap",
        "syn-socket",
        "unknown"
      ],
      "description": "Probe mode returned by network test APIs, only valid when the protocol is set to TCP. Configuration responses return user-selectable values, while result responses may also return resolved driver values.",
      "default": "auto"
    },
    "Endpoint_Test_Results_API_TestProtocol": {
      "type": "string",
      "enum": [
        "tcp",
        "icmp",
        "udp"
      ],
      "description": "Protocol used by dependent network tests (end-to-end, path trace, PMTUD).",
      "default": "tcp"
    },
    "Endpoint_Test_Results_API_TestSslVersion": {
      "type": "string",
      "description": "Reflects the verbose SSL protocol version used by a test.",
      "readOnly": true
    },
    "Endpoint_Test_Results_API_TestSslVersionId": {
      "type": "string",
      "description": "SSL version options:\n\n* Use '0' for automatic selection.\n* Use '3' for SSLv3.\n* Use '4' for TLS v1.0.\n* Use '5' for TLS v1.1.\n* Use '6' for TLS v1.2.\n* Use '7' for TLS v1.3.\n",
      "enum": [
        "0",
        "3",
        "4",
        "5",
        "6",
        "7"
      ],
      "default": "0"
    },
    "Endpoint_Test_Results_API_TestUseNtlm": {
      "type": "boolean",
      "description": "Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set."
    },
    "Endpoint_Test_Results_API_TestUsername": {
      "type": "string",
      "description": "Username for Basic/NTLM authentication."
    },
    "Endpoint_Test_Results_API_TotalHits": {
      "description": "Total number of measurements that match the search criteria.",
      "type": "integer"
    },
    "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_UserProfile": {
      "type": "object",
      "description": "Details of the logged-in user, including username and user principal name.",
      "properties": {
        "userName": {
          "type": "string",
          "description": "Machine username of the logged-in user."
        },
        "userPrincipalName": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_UserPrincipalName"
        }
      }
    },
    "Endpoint_Test_Results_API_VpnProfile": {
      "type": "object",
      "properties": {
        "vpnClientAddresses": {
          "type": "array",
          "description": "A list of private IP addresses assigned to the device by the VPN server.",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "vpnClientNetworkRange": {
          "type": "array",
          "description": "A list of private networks assigned to the device by the VPN server.",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "vpnGatewayAddress": {
          "type": "string",
          "description": "IP address of the VPN gateway.",
          "readOnly": true
        },
        "vpnType": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_VpnType"
        }
      }
    },
    "Endpoint_Test_Results_API_VpnType": {
      "type": "string",
      "description": "Name of the VPN provider.",
      "enum": [
        "cisco-anyconnect",
        "palo-alto-globalprotect",
        "ivanti-connect-secure",
        "zscaler-internet-access",
        "f5-big-ip"
      ]
    }
  }
}