ThousandEyes · Schema

Tests_API_UpdateAgentToServerTestRequest

MonitoringNetwork VisibilityDigital ExperienceObservabilityNetworkingEnterpriseSynthetic MonitoringBGPInternet InsightsEndpoint MonitoringOpenTelemetryCisco

Properties

Name Type Description
labels array Contains list of test label IDs (get `labelId` from `/labels` endpoint)
tags array Contains list of test tag IDs (get `id` from `/tags` endpoint).
sharedWithAccounts array Contains list of account group IDs. Test is shared with the listed account groups (get `aid` from `/account-groups` endpoint)
alertRules array List of alert rules IDs to apply to the test (get `ruleId` from `/alerts/rules` endpoint. If `alertsEnabled` is set to `true` and `alertRules` is not included on test creation or update, applicable us
monitors array Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)
bandwidthMeasurements object
continuousMode boolean To enable continuous monitoring, set this parameter to `true` to. When continuous monitoring is enabled, the following actions occur: * `fixedPacketRate` is enforced * `bandwidthMeasurements` are disa
fixedPacketRate integer If continuousMode is `false`, set the fixedPacketRate to a value between 10-100. If `continuousMode` is `true`, set the `fixedPacketRate` to `1`
mtuMeasurements object
numPathTraces object
pathTraceMode object
probeMode object
protocol object
randomizedStartTime object
server string The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.
dscp object
dscpId object
ipv6Policy object
pingPayloadSize integer Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 by
networkMeasurements boolean View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.
agents object
interval object
alertsEnabled boolean Indicates if alerts are enabled.
enabled object
description string A description of the test.
testName object
bgpMeasurements object
usePublicBgp object
port integer Port number to use for the test. The default port is 80.
View JSON Schema on GitHub

JSON Schema

thousandeyes-tests-api-update-agent-to-server-test-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-tests-api-update-agent-to-server-test-request-schema.json",
  "title": "Tests_API_UpdateAgentToServerTestRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-agent-to-server-tests-api-openapi.yml#/components/schemas/Tests_API_UpdateAgentToServerTestRequest",
  "allOf": [
    {
      "$ref": "#/$defs/Tests_API_BaseRequest"
    },
    {
      "$ref": "#/$defs/Tests_API_MonitorsRequest"
    },
    {
      "$ref": "#/$defs/Tests_API_AgentToServerWritablePropertyFields"
    },
    {
      "type": "object",
      "properties": {
        "agents": {
          "$ref": "#/$defs/Tests_API_TestAgentsRequest"
        },
        "interval": {
          "$ref": "#/$defs/Tests_API_TestInterval"
        },
        "alertsEnabled": {
          "type": "boolean",
          "description": "Indicates if alerts are enabled."
        },
        "enabled": {
          "$ref": "#/$defs/Tests_API_Enabled"
        },
        "description": {
          "type": "string",
          "description": "A description of the test."
        },
        "testName": {
          "$ref": "#/$defs/Tests_API_TestName"
        },
        "bgpMeasurements": {
          "$ref": "#/$defs/Tests_API_TestBgpMeasurements"
        },
        "usePublicBgp": {
          "$ref": "#/$defs/Tests_API_TestUsePublicBgp"
        },
        "port": {
          "type": "integer",
          "description": "Port number to use for the test. The default port is 80."
        }
      }
    }
  ],
  "$defs": {
    "Tests_API_AgentToServerWritablePropertyFields": {
      "type": "object",
      "properties": {
        "bandwidthMeasurements": {
          "$ref": "#/$defs/Tests_API_TestBandwidthMeasurements"
        },
        "continuousMode": {
          "type": "boolean",
          "description": "To enable continuous monitoring, set this parameter to `true` to. \nWhen continuous monitoring is enabled, the following actions occur:\n* `fixedPacketRate` is enforced\n* `bandwidthMeasurements` are disabled\n* If the `protocol` is set to `tcp`, `probeMode` is set to `syn`.\n"
        },
        "fixedPacketRate": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100,
          "description": "If continuousMode is `false`, set the fixedPacketRate to a value between 10-100. If `continuousMode` is `true`, set the `fixedPacketRate` to `1`"
        },
        "mtuMeasurements": {
          "$ref": "#/$defs/Tests_API_TestMtuMeasurements"
        },
        "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"
        },
        "server": {
          "type": "string",
          "description": "The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon."
        },
        "dscp": {
          "$ref": "#/$defs/Tests_API_TestDscp"
        },
        "dscpId": {
          "$ref": "#/$defs/Tests_API_TestDscpId"
        },
        "ipv6Policy": {
          "$ref": "#/$defs/Tests_API_TestIpv6Policy"
        },
        "pingPayloadSize": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1400,
          "description": "Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests."
        },
        "networkMeasurements": {
          "type": "boolean",
          "description": "View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.",
          "default": false
        }
      }
    },
    "Tests_API_BaseRequest": {
      "type": "object",
      "properties": {
        "labels": {
          "type": "array",
          "description": "Contains list of test label IDs (get `labelId` from `/labels` endpoint)",
          "writeOnly": true,
          "readOnly": false,
          "items": {
            "type": "string"
          }
        },
        "tags": {
          "type": "array",
          "description": "Contains list of test tag IDs (get `id` from `/tags` endpoint).",
          "writeOnly": true,
          "readOnly": false,
          "items": {
            "type": "string"
          }
        },
        "sharedWithAccounts": {
          "type": "array",
          "description": "Contains list of account group IDs. Test is shared with the listed account groups (get `aid` from `/account-groups` endpoint)",
          "writeOnly": true,
          "readOnly": false,
          "items": {
            "type": "string"
          }
        },
        "alertRules": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of alert rules IDs to apply to the test (get `ruleId` from `/alerts/rules` endpoint. If `alertsEnabled` is set to `true` and `alertRules` is not included on test creation or update, applicable user default alert rules will be used)",
          "writeOnly": true,
          "readOnly": false
        }
      }
    },
    "Tests_API_Enabled": {
      "type": "boolean",
      "description": "Test is enabled.",
      "default": true
    },
    "Tests_API_MonitorsRequest": {
      "type": "object",
      "properties": {
        "monitors": {
          "type": "array",
          "description": "Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)",
          "writeOnly": true,
          "readOnly": false,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Tests_API_TestAgentRequest": {
      "type": "object",
      "required": [
        "agentId"
      ],
      "properties": {
        "agentId": {
          "type": "string",
          "description": "The agent ID. Get `agentId` from `/agents` endpoint."
        },
        "sourceIpAddress": {
          "type": "string",
          "description": "The IP address from the `ipAddresses` field in agent details, used for interface selection. Get `ipAddresses` from the `/agents` endpoint."
        }
      }
    },
    "Tests_API_TestAgentsRequest": {
      "type": "array",
      "description": "Contains list of Agent IDs (get `agentId` from `/agents` endpoint).",
      "items": {
        "$ref": "#/$defs/Tests_API_TestAgentRequest"
      }
    },
    "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_TestDscp": {
      "type": "string",
      "description": "DSCP label.",
      "readOnly": true
    },
    "Tests_API_TestDscpId": {
      "type": "string",
      "enum": [
        "0",
        "8",
        "16",
        "24",
        "32",
        "40",
        "48",
        "56",
        "10",
        "12",
        "14",
        "18",
        "20",
        "22",
        "26",
        "28",
        "30",
        "34",
        "36",
        "38",
        "46",
        "44"
      ],
      "description": "DSCP ID [to see list for acceptable values](https://docs.thousandeyes.com/product-documentation/tests/dscp-options-in-network-tests)",
      "default": "0"
    },
    "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_TestMtuMeasurements": {
      "type": "boolean",
      "description": "Set `true` to measure MTU sizes on network from agents to the target."
    },
    "Tests_API_TestName": {
      "type": "string",
      "description": "Name of the test."
    },
    "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_TestUsePublicBgp": {
      "type": "boolean",
      "description": "Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.",
      "default": true
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thousandeyes-tests-api-update-agent-to-server-test-request"
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.