ThousandEyes · Schema
Tests_API_DnsServerTestResponse
MonitoringNetwork VisibilityDigital ExperienceObservabilityNetworkingEnterpriseSynthetic MonitoringBGPInternet InsightsEndpoint MonitoringOpenTelemetryCisco
Properties
| Name | Type | Description |
|---|---|---|
| interval | object | |
| alertsEnabled | boolean | Indicates if alerts are enabled. |
| enabled | object | |
| alertRules | array | Contains list of enabled alert rule objects. |
| createdBy | object | |
| createdDate | object | |
| description | string | A description of the test. |
| liveShare | boolean | Indicates if the test is shared with the account group. |
| modifiedBy | string | User that modified the test. |
| modifiedDate | string | UTC last modification date (ISO date-time format). |
| savedEvent | boolean | Indicates if the test is a saved event. **Note**: **Saved Events** are now called **Private Snapshots** in the user interface. This change does not affect API. |
| testId | string | Each test is assigned an unique ID; this is used to access test information and results from other endpoints. |
| testName | string | The name of the test. Test name must be unique. |
| type | string | |
| _links | object | |
| labels | object | |
| tags | object | |
| sharedWithAccounts | object | |
| bandwidthMeasurements | object | |
| dnsServers | array | |
| dnsTransportProtocol | object | |
| domain | object | |
| mtuMeasurements | object | |
| networkMeasurements | object | |
| numPathTraces | object | |
| pathTraceMode | object | |
| probeMode | object | |
| protocol | object | |
| randomizedStartTime | object | |
| recursiveQueries | boolean | Set true to run query with RD (recursion desired) flag enabled. |
| ipv6Policy | object | |
| fixedPacketRate | object | |
| dnsQueryClass | object | |
| bgpMeasurements | object | |
| usePublicBgp | object | |
| monitors | object | |
| agents | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-tests-api-dns-server-test-response-schema.json",
"title": "Tests_API_DnsServerTestResponse",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/thousandeyes-dns-server-tests-api-openapi.yml#/components/schemas/Tests_API_DnsServerTestResponse",
"allOf": [
{
"$ref": "#/$defs/Tests_API_DnsServerTest"
},
{
"type": "object",
"properties": {
"agents": {
"$ref": "#/$defs/Tests_API_TestAgentsResponse"
}
}
}
],
"$defs": {
"Tests_API_AgentBase": {
"type": "object",
"properties": {
"ipAddresses": {
"type": "array",
"description": "Array of private IP addresses.",
"readOnly": true,
"items": {
"type": "string"
}
},
"publicIpAddresses": {
"type": "array",
"description": "Array of public IP addresses.",
"readOnly": true,
"items": {
"type": "string"
}
},
"network": {
"type": "string",
"description": "Network (including ASN) of agent’s public IP.",
"readOnly": true
}
}
},
"Tests_API_AgentResponse": {
"allOf": [
{
"required": [
"agentType"
],
"properties": {
"agentType": {
"$ref": "#/$defs/Tests_API_CloudEnterpriseAgentType"
}
}
},
{
"$ref": "#/$defs/Tests_API_SimpleAgent"
}
]
},
"Tests_API_AlertDirection": {
"type": "string",
"enum": [
"to-target",
"from-target",
"bidirectional"
],
"description": "Direction for applicable alert types (eg. path trace, End-to-End (Agent) etc.)"
},
"Tests_API_AlertRoundsViolationMode": {
"type": "string",
"description": "`exact` requires the same agents to meet the threshold in consecutive rounds. `auto` is only enabled for CEA and Endpoint Scheduled test rules. The default is `any`.",
"enum": [
"exact",
"any",
"auto"
],
"readOnly": true
},
"Tests_API_AlertRule": {
"type": "object",
"properties": {
"ruleId": {
"$ref": "#/$defs/Tests_API_RuleId"
},
"ruleName": {
"type": "string",
"description": "Name of the alert rule",
"readOnly": true
},
"expression": {
"type": "string",
"description": "String expression of alert rule",
"readOnly": true
},
"direction": {
"$ref": "#/$defs/Tests_API_AlertDirection"
},
"isDefault": {
"type": "boolean",
"description": "Alert rules allow up to 1 alert rule to be selected as a default for each type. By checking the default option, this alert rule will be automatically included on subsequently created tests that test a metric used in alerting here",
"readOnly": true
},
"alertType": {
"$ref": "#/$defs/Tests_API_AlertType"
},
"minimumSources": {
"type": "integer",
"description": "The minimum number of agents or monitors that must meet the specified criteria in order to trigger the alert",
"readOnly": true
},
"minimumSourcesPct": {
"type": "integer",
"description": "the minimum percentage of all assigned agents or monitors that must meet the specified criteria in order to trigger the alert",
"readOnly": true
},
"roundsViolatingMode": {
"$ref": "#/$defs/Tests_API_AlertRoundsViolationMode"
},
"roundsViolatingOutOf": {
"type": "integer",
"description": "Specifies the divisor (y value) for the “X of Y times” condition.",
"readOnly": true
},
"roundsViolatingRequired": {
"type": "integer",
"description": "Specifies the numerator (x value) for the “X of Y times” condition",
"readOnly": true
},
"sensitivityLevel": {
"$ref": "#/$defs/Tests_API_SensitivityLevel"
},
"severity": {
"$ref": "#/$defs/Tests_API_Severity"
}
}
},
"Tests_API_AlertType": {
"type": "string",
"description": "Type of alert being triggered. In multi-layered tests, this value represents the layer the alert relates to. See [Alert Details](https://developer.cisco.com/docs/thousandeyes/retrieve-alert-details/) documentation for a list of possible values",
"enum": [
"page-load",
"http-server",
"end-to-end-server",
"end-to-end-agent",
"voice",
"dns-server",
"dns-trace",
"dnssec",
"bgp",
"path-trace",
"ftp",
"sip-server",
"transactions",
"web-transactions",
"agent",
"network-outage",
"application-outage",
"device-device",
"device-interface",
"endpoint-network-server",
"endpoint-http-server",
"endpoint-path-trace",
"endpoint-browser-sessions-agent",
"endpoint-browser-sessions-application",
"api",
"web-transaction",
"unknown"
]
},
"Tests_API_BaseTest": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_UnexpandedTest"
},
{
"type": "object",
"properties": {
"alertRules": {
"type": "array",
"description": "Contains list of enabled alert rule objects.",
"items": {
"$ref": "#/$defs/Tests_API_AlertRule"
}
}
}
}
]
},
"Tests_API_CloudEnterpriseAgentType": {
"type": "string",
"description": "Type of the agent.",
"enum": [
"cloud",
"enterprise-cluster",
"enterprise"
],
"readOnly": true
},
"Tests_API_Coordinates": {
"type": "object",
"description": "Geographic coordinates for agent location.",
"properties": {
"latitude": {
"type": "number",
"format": "double",
"description": "The latitude of the agent location in decimal degrees",
"readOnly": true
},
"longitude": {
"type": "number",
"format": "double",
"description": "The longitude of the agent location in decimal degrees",
"readOnly": true
}
}
},
"Tests_API_DnsQueryClass": {
"type": "string",
"enum": [
"in",
"ch"
],
"description": "Domain class used by this test. 'in' stands for Internet, while 'ch' stands for Chaos."
},
"Tests_API_DnsServerInstantTest": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_InstantTest"
},
{
"$ref": "#/$defs/Tests_API_DnsServerProperties"
}
]
},
"Tests_API_DnsServerProperties": {
"type": "object",
"required": [
"domain",
"dnsServers"
],
"properties": {
"bandwidthMeasurements": {
"$ref": "#/$defs/Tests_API_TestBandwidthMeasurements"
},
"dnsServers": {
"type": "array",
"items": {
"$ref": "#/$defs/Tests_API_TestDnsServer"
}
},
"dnsTransportProtocol": {
"$ref": "#/$defs/Tests_API_TestDnsTransportProtocol"
},
"domain": {
"$ref": "#/$defs/Tests_API_TestDomain"
},
"mtuMeasurements": {
"$ref": "#/$defs/Tests_API_TestMtuMeasurements"
},
"networkMeasurements": {
"$ref": "#/$defs/Tests_API_TestNetworkMeasurements"
},
"numPathTraces": {
"$ref": "#/$defs/Tests_API_TestNumPathTraces"
},
"pathTraceMode": {
"$ref": "#/$defs/Tests_API_TestPathTraceMode"
},
"probeMode": {
"$ref": "#/$defs/Tests_API_TestProbeMode"
},
"protocol": {
"$ref": "#/$defs/Tests_API_TestProtocol"
},
"randomizedStartTime": {
"$ref": "#/$defs/Tests_API_TestRandomizedStartTime"
},
"recursiveQueries": {
"type": "boolean",
"description": "Set true to run query with RD (recursion desired) flag enabled."
},
"ipv6Policy": {
"$ref": "#/$defs/Tests_API_TestIpv6Policy"
},
"fixedPacketRate": {
"$ref": "#/$defs/Tests_API_TestFixedPacketRate"
},
"dnsQueryClass": {
"$ref": "#/$defs/Tests_API_DnsQueryClass"
},
"type": {
"type": "string",
"readOnly": true
}
}
},
"Tests_API_DnsServerTest": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_BaseTest"
},
{
"$ref": "#/$defs/Tests_API_DnsServerInstantTest"
},
{
"$ref": "#/$defs/Tests_API_TestMonitorsProperties"
},
{
"type": "object",
"required": [
"interval"
]
}
]
},
"Tests_API_Enabled": {
"type": "boolean",
"description": "Test is enabled.",
"default": true
},
"Tests_API_InstantTest": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_UnexpandedInstantTest"
},
{
"type": "object",
"properties": {
"labels": {
"$ref": "#/$defs/Tests_API_TestLabels"
},
"tags": {
"$ref": "#/$defs/Tests_API_TestTags"
},
"sharedWithAccounts": {
"$ref": "#/$defs/Tests_API_TestSharedAccounts"
}
}
}
]
},
"Tests_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"
}
}
},
"Tests_API_Monitor": {
"type": "object",
"properties": {
"countryId": {
"type": "string",
"description": "Country ID",
"readOnly": true
},
"monitorId": {
"type": "string",
"description": "BGP monitor ID",
"readOnly": true
},
"ipAddress": {
"type": "string",
"description": "IP address of the BGP monitor"
},
"network": {
"type": "string",
"description": "Name of the autonomous system in which the monitor is found"
},
"monitorType": {
"$ref": "#/$defs/Tests_API_MonitorType"
},
"monitorName": {
"type": "string",
"description": "Display name of the BGP monitor"
}
}
},
"Tests_API_MonitorType": {
"type": "string",
"description": "Type of monitor",
"enum": [
"public",
"private"
]
},
"Tests_API_NetworkProviderInfo": {
"type": "object",
"description": "Information about the network provider that owns the agent's public IP prefix.",
"readOnly": true,
"properties": {
"asn": {
"type": "integer",
"format": "int64",
"description": "Autonomous System Number (ASN) announcing the agent's public IP prefix.",
"readOnly": true
},
"name": {
"type": "string",
"description": "Name of the network provider organization.",
"readOnly": true
},
"type": {
"$ref": "#/$defs/Tests_API_NetworkProviderType"
}
}
},
"Tests_API_NetworkProviderType": {
"type": "string",
"description": "Classification of the agent's network provider.",
"enum": [
"unknown",
"isp",
"cdn",
"stub",
"cloud-provider",
"carrier"
],
"readOnly": true
},
"Tests_API_RuleId": {
"type": "string",
"description": "Unique ID of the rule.",
"readOnly": true
},
"Tests_API_SensitivityLevel": {
"type": "string",
"description": "Used when `roundsViolatingMode` is set to `auto`. The default is `medium`. Higher sensitivity increases the likelihood of triggering alerts.",
"enum": [
"high",
"medium",
"low"
],
"readOnly": true
},
"Tests_API_Severity": {
"type": "string",
"description": "The severity of the alert.",
"enum": [
"info",
"major",
"minor",
"critical",
"unknown"
]
},
"Tests_API_SharedWithAccount": {
"type": "object",
"properties": {
"aid": {
"type": "string",
"description": "Account group ID."
},
"name": {
"type": "string",
"description": "Account group name."
}
}
},
"Tests_API_SimpleAgent": {
"type": "object",
"allOf": [
{
"$ref": "#/$defs/Tests_API_AgentBase"
},
{
"type": "object",
"properties": {
"agentId": {
"type": "string",
"description": "Unique ID of the agent.",
"readOnly": true
},
"agentName": {
"type": "string",
"description": "Name of the agent."
},
"location": {
"type": "string",
"description": "Location of the agent.",
"readOnly": true
},
"countryId": {
"type": "string",
"description": "2-digit ISO country code",
"readOnly": true
},
"coordinates": {
"$ref": "#/$defs/Tests_API_Coordinates"
},
"networkProviderInfo": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_NetworkProviderInfo"
}
],
"readOnly": true
},
"enabled": {
"type": "boolean",
"description": "Flag indicating if the agent is enabled."
},
"verifySslCertificates": {
"type": "boolean",
"description": "Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.",
"readOnly": true
},
"prefix": {
"type": "string",
"description": "Prefix containing agents public IP address.",
"readOnly": true
}
}
}
]
},
"Tests_API_TestAgentsResponse": {
"type": "array",
"description": "Contains list of agents.",
"items": {
"$ref": "#/$defs/Tests_API_AgentResponse"
}
},
"Tests_API_TestBandwidthMeasurements": {
"type": "boolean",
"description": "Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test."
},
"Tests_API_TestBgpMeasurements": {
"type": "boolean",
"description": "Set to `true` to enable bgp measurements.",
"default": true
},
"Tests_API_TestBgpMonitors": {
"type": "array",
"description": "Contains list of enabled BGP monitors.",
"readOnly": true,
"items": {
"$ref": "#/$defs/Tests_API_Monitor"
}
},
"Tests_API_TestCreatedBy": {
"type": "string",
"description": "User that created the test.",
"readOnly": true
},
"Tests_API_TestCreatedDate": {
"type": "string",
"format": "date-time",
"description": "UTC created date (ISO date-time format).",
"readOnly": true
},
"Tests_API_TestDnsServer": {
"type": "object",
"properties": {
"serverId": {
"type": "string",
"description": "Unique identifier of the DNS server."
},
"serverName": {
"type": "string",
"description": "Fully qualified domain name (FQDN) of DNS server."
}
}
},
"Tests_API_TestDnsTransportProtocol": {
"type": "string",
"enum": [
"udp",
"tcp"
],
"description": "Transport protocol used for DNS requests.",
"default": "udp"
},
"Tests_API_TestDomain": {
"type": "string",
"description": "The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record."
},
"Tests_API_TestFixedPacketRate": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Sets packets rate sent to measure the network in packets per second."
},
"Tests_API_TestInterval": {
"type": "integer",
"enum": [
60,
120,
300,
600,
900,
1800,
3600
],
"description": "Interval between test runs in seconds.",
"default": 60
},
"Tests_API_TestIpv6Policy": {
"type": "string",
"enum": [
"force-ipv4",
"prefer-ipv6",
"force-ipv6",
"use-agent-policy"
],
"description": "IP version policy. Overrides the IPv6 policy configured at the agent level.",
"default": "use-agent-policy"
},
"Tests_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)."
}
}
},
"Tests_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/Tests_API_TestLabel"
}
},
"Tests_API_TestLinks": {
"type": "object",
"description": "A list of links that can be accessed to get more information",
"properties": {
"self": {
"$ref": "#/$defs/Tests_API_TestSelfLink"
},
"testResults": {
"$ref": "#/$defs/Tests_API_TestResults"
}
},
"readOnly": true
},
"Tests_API_TestMonitorsProperties": {
"type": "object",
"properties": {
"bgpMeasurements": {
"$ref": "#/$defs/Tests_API_TestBgpMeasurements"
},
"usePublicBgp": {
"$ref": "#/$defs/Tests_API_TestUsePublicBgp"
},
"monitors": {
"$ref": "#/$defs/Tests_API_TestBgpMonitors"
}
}
},
"Tests_API_TestMtuMeasurements": {
"type": "boolean",
"description": "Set `true` to measure MTU sizes on network from agents to the target."
},
"Tests_API_TestNetworkMeasurements": {
"type": "boolean",
"description": "Enable or disable network measurements. Set to true to enable or false to disable network measurements.",
"default": true
},
"Tests_API_TestNumPathTraces": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Number of path traces executed by the agent.",
"default": 3
},
"Tests_API_TestPathTraceMode": {
"type": "string",
"enum": [
"classic",
"in-session"
],
"description": "Select `inSession` to perform the path trace within a TCP session.",
"default": "classic"
},
"Tests_API_TestProbeMode": {
"type": "string",
"enum": [
"auto",
"sack",
"syn"
],
"description": "Probe mode used by network test, only valid when the protocol is set to TCP.",
"default": "auto"
},
"Tests_API_TestProtocol": {
"type": "string",
"enum": [
"tcp",
"icmp",
"udp"
],
"description": "Protocol used by dependent network tests (end-to-end, path trace, PMTUD).",
"default": "tcp"
},
"Tests_API_TestRandomizedStartTime": {
"type": "boolean",
"description": "Indicates whether agents should randomize the start time in each test round.",
"default": false
},
"Tests_API_TestResults": {
"type": "array",
"description": "Reference to the test results.",
"items": {
"$ref": "#/$defs/Tests_API_Link"
}
},
"Tests_API_TestSelfLink": {
"allOf": [
{
"$ref": "#/$defs/Tests_API_Link"
},
{
"description": "Reference to the test."
}
]
},
"Tests_API_TestSharedAccounts": {
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/$defs/Tests_API_SharedWithAccount"
}
},
"Tests_API_TestTag": {
"type": "object",
"readOnly": true,
"properties": {
"id": {
"type": "string",
"description": "Unique tag ID.",
"format": "uuid"
},
"key": {
"type": "string",
"description": "Tag key. For example, \"Location\" or \"Department\"."
},
"value": {
"type": "string",
"description": "Tag value. For example, \"San Francisco\" or \"Engineering\"."
}
}
},
"Tests_API_TestTags": {
"type": "array",
"description": "Tags assigned to the test. Returned only when `expand=tag` is specified. This field is not returned for Instant Tests. For more information, see `/tags`.",
"readOnly": true,
"items": {
"$ref": "#/$defs/Tests_API_TestTag"
}
},
"Tests_API_TestType": {
"type": "string",
"enum": [
"api",
"agent-to-agent",
"agent-to-server",
"bgp",
"http-server",
"page-load",
"web-transactions",
"ftp-server",
"dns-trace",
"dns-server",
"dnssec",
"sip-server",
"voice"
],
"description": "This is a read only value, as test type is implicit in the test creation url.",
"readOnly": true
},
"Tests_API_TestUsePublicBgp": {
"type": "boolean",
"description": "Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.",
"default": true
},
"Tests_API_UnexpandedInstantTest": {
"type": "object",
"properties": {
"createdBy": {
"$ref": "#/$defs/Tests_API_TestCreatedBy"
},
"createdDate": {
"$ref": "#/$defs/Tests_API_TestCreatedDate"
},
"description": {
"type": "string",
"description": "A description of the test."
},
"liveShare": {
"type": "boolean",
"description": "Indicates if the test is shared with the account group.",
"readOnly": true
},
"modifiedBy": {
"type": "string",
"description": "User that modified the test.",
"readOnly": true
},
"modifiedDate": {
"type": "string",
"format": "date-time",
"description": "UTC last modification date (ISO date-time format).",
"readOnly": true
},
"savedEvent": {
"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
},
"testId": {
"type": "string",
"description": "Each test is assigned an unique ID; this is used to access test information and results from other endpoints.",
"readOnly": true
},
"testName": {
"type": "string",
"description": "The name of the test. Test name must be unique."
},
"type": {
"$ref": "#/$defs/Tests_API_TestType"
},
"_links": {
"$ref": "#/$defs/Tests_API_TestLinks"
}
}
},
"Tests_API_UnexpandedTest": {
"type": "object",
"properties": {
"interval": {
"$ref": "#/$defs/Tests_API_TestInterval"
},
"alertsEnabled": {
"type": "boolean",
"description": "Indicates if alerts are enabled."
},
"enabled": {
"$ref": "#/$defs/Tests_API_Enabled"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thousandeyes-tests-api-dns-server-test-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.