ThousandEyes · Schema
Instant_Tests_API_ApiInstantTestRequest
MonitoringNetwork VisibilityDigital ExperienceObservabilityNetworkingEnterpriseSynthetic MonitoringBGPInternet InsightsEndpoint MonitoringOpenTelemetryCisco
Properties
| Name | Type | Description |
|---|---|---|
| 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 | |
| clientCertificate | object | |
| clientCertDomainsAllowList | string | Comma separated list of domains to send the client certificate. |
| collectProxyNetworkData | object | |
| distributedTracing | object | |
| followRedirects | object | |
| mtuMeasurements | object | |
| networkMeasurements | object | |
| numPathTraces | object | |
| overrideAgentProxy | object | |
| overrideProxyId | object | |
| pathTraceMode | object | |
| predefinedVariables | array | |
| probeMode | object | |
| protocol | object | |
| randomizedStartTime | object | |
| requests | array | |
| sslVersionId | object | |
| targetTime | integer | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) |
| timeLimit | integer | Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error. |
| url | object | |
| labels | array | A list of test label identifiers (get `labelId` from `/labels` endpoint). |
| tags | array | A list of test tag identifiers (get `id` from `/tags` endpoint). |
| sharedWithAccounts | array | A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint). |
| agents | array | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). |
| credentials | object | |
| vaultCredentials | array | List of credential IDs that are stored in an external vault. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-instant-tests-api-api-instant-test-request-schema.json",
"title": "Instant_Tests_API_ApiInstantTestRequest",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/thousandeyes-api-instant-tests-api-openapi.yml#/components/schemas/Instant_Tests_API_ApiInstantTestRequest",
"allOf": [
{
"$ref": "#/$defs/Instant_Tests_API_UnexpandedInstantTest"
},
{
"$ref": "#/$defs/Instant_Tests_API_ApiProperties"
},
{
"$ref": "#/$defs/Instant_Tests_API_InstantTestRequest"
},
{
"type": "object",
"properties": {
"credentials": {
"$ref": "#/$defs/Instant_Tests_API_TestCredentials"
},
"vaultCredentials": {
"type": "array",
"description": "List of credential IDs that are stored in an external vault.",
"items": {
"$ref": "#/$defs/Instant_Tests_API_TestVaultCredential"
}
}
}
}
],
"$defs": {
"Instant_Tests_API_ApiClientAuthentication": {
"type": "string",
"description": "The OAuth2 client authentication location type.",
"enum": [
"basic-auth-header",
"in-body"
]
},
"Instant_Tests_API_ApiPredefinedVariable": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Variable name. Must be unique."
},
"value": {
"type": "string",
"description": "Variable value, will be treated as string."
}
}
},
"Instant_Tests_API_ApiProperties": {
"type": "object",
"required": [
"requests",
"url"
],
"properties": {
"clientCertificate": {
"$ref": "#/$defs/Instant_Tests_API_TestClientCertificate"
},
"clientCertDomainsAllowList": {
"type": "string",
"description": "Comma separated list of domains to send the client certificate."
},
"collectProxyNetworkData": {
"$ref": "#/$defs/Instant_Tests_API_TestCollectProxyNetworkData"
},
"distributedTracing": {
"$ref": "#/$defs/Instant_Tests_API_TestDistributedTracing"
},
"followRedirects": {
"$ref": "#/$defs/Instant_Tests_API_TestFollowRedirects"
},
"mtuMeasurements": {
"$ref": "#/$defs/Instant_Tests_API_TestMtuMeasurements"
},
"networkMeasurements": {
"$ref": "#/$defs/Instant_Tests_API_TestNetworkMeasurements"
},
"numPathTraces": {
"$ref": "#/$defs/Instant_Tests_API_TestNumPathTraces"
},
"overrideAgentProxy": {
"$ref": "#/$defs/Instant_Tests_API_TestOverrideAgentProxy"
},
"overrideProxyId": {
"$ref": "#/$defs/Instant_Tests_API_TestOverrideProxyId"
},
"pathTraceMode": {
"$ref": "#/$defs/Instant_Tests_API_TestPathTraceMode"
},
"predefinedVariables": {
"type": "array",
"items": {
"$ref": "#/$defs/Instant_Tests_API_ApiPredefinedVariable"
}
},
"probeMode": {
"$ref": "#/$defs/Instant_Tests_API_TestProbeMode"
},
"protocol": {
"$ref": "#/$defs/Instant_Tests_API_TestProtocol"
},
"randomizedStartTime": {
"$ref": "#/$defs/Instant_Tests_API_TestRandomizedStartTime"
},
"requests": {
"type": "array",
"items": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequest"
}
},
"sslVersionId": {
"$ref": "#/$defs/Instant_Tests_API_TestSslVersionId"
},
"targetTime": {
"type": "integer",
"description": "Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)",
"minimum": 0,
"maximum": 60
},
"timeLimit": {
"type": "integer",
"description": "Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.",
"minimum": 5,
"maximum": 180,
"default": 30
},
"type": {
"type": "string",
"readOnly": true
},
"url": {
"$ref": "#/$defs/Instant_Tests_API_TestUrl"
}
}
},
"Instant_Tests_API_ApiRequest": {
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"assertions": {
"type": "array",
"description": "List of assertion objects.",
"items": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestAssertion"
}
},
"authType": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestAuthType"
},
"bearerToken": {
"type": "string",
"writeOnly": true,
"description": "The bearer token if `authType = bearer-token`."
},
"body": {
"type": "string",
"description": "POST/PUT request body. Must be in JSON format."
},
"clientAuthentication": {
"$ref": "#/$defs/Instant_Tests_API_ApiClientAuthentication"
},
"clientId": {
"type": "string",
"description": "The application ID used when `authType` is set to \"oauth2\".",
"writeOnly": true
},
"clientSecret": {
"type": "string",
"description": "The private client secret used when `authType` is set to \"oauth2\".",
"writeOnly": true
},
"collectApiResponse": {
"type": "boolean",
"description": "Set to `true` if API response body should be collected and saved. Set to `false` if API response body should not be saved.",
"default": true
},
"headers": {
"type": "array",
"description": "Array of API Request Header objects.",
"items": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestHeader"
}
},
"method": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestMethod"
},
"name": {
"type": "string",
"description": "API step name, must be unique."
},
"password": {
"type": "string",
"writeOnly": true,
"description": "The password if `authType = basic`."
},
"scope": {
"type": "string",
"description": "Application-specific scope values for the access token when `authType` is \"oauth2\"."
},
"tokenUrl": {
"type": "string",
"description": "The endpoint used to request the access token when `authType` is \"oauth2\"."
},
"url": {
"type": "string",
"description": "Request url. Supports variables in the format `{{variableName}}`."
},
"username": {
"type": "string",
"description": "The username if `authType = basic`."
},
"variables": {
"type": "array",
"description": "Array of API post request variable objects.",
"items": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestVariable"
}
},
"verifyCertificate": {
"$ref": "#/$defs/Instant_Tests_API_TestVerifyCertificate"
},
"waitTimeMs": {
"type": "integer",
"description": "Post request delay before executing the next API requests, in milliseconds."
}
}
},
"Instant_Tests_API_ApiRequestAssertion": {
"type": "object",
"properties": {
"name": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestAssertionName"
},
"operator": {
"$ref": "#/$defs/Instant_Tests_API_ApiRequestAssertionOperator"
},
"value": {
"type": "string",
"description": "The value of the assertion. If name = `status-code`, the status code to assert. If name = `response-body`, the lookup value to assert."
}
}
},
"Instant_Tests_API_ApiRequestAssertionName": {
"type": "string",
"enum": [
"status-code",
"response-body"
],
"description": "Set to `status-code` to assert the response status code. Set to `response-body` to assert data is present in the response body. Use `ApiRequestAssertion` to set the value for the assertion."
},
"Instant_Tests_API_ApiRequestAssertionOperator": {
"type": "string",
"enum": [
"is",
"is-not",
"includes",
"not-includes",
"matches",
"not-matches"
],
"description": "If `name = status-code``, accepted values are [is, is-not]. If `name = response-body``, accepted values are [includes, not-includes, matches, not-matches]`."
},
"Instant_Tests_API_ApiRequestAuthType": {
"type": "string",
"enum": [
"none",
"basic",
"bearer-token",
"oauth2"
],
"description": "Will override the Authorization request header.",
"default": "none"
},
"Instant_Tests_API_ApiRequestHeader": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Request header key."
},
"value": {
"type": "string",
"description": "Request header value. Supports variables `{{variableName}}`."
}
}
},
"Instant_Tests_API_ApiRequestMethod": {
"type": "string",
"description": "HTTP request method.",
"enum": [
"get",
"post",
"put",
"delete",
"patch"
]
},
"Instant_Tests_API_ApiRequestVariable": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Variable name"
},
"value": {
"type": "string",
"description": "The JSON path of data within the Response Body to assign to this variable."
}
}
},
"Instant_Tests_API_InstantTestRequest": {
"type": "object",
"properties": {
"labels": {
"type": "array",
"description": "A list of test label identifiers (get `labelId` from `/labels` endpoint).",
"writeOnly": true,
"readOnly": false,
"items": {
"type": "string"
}
},
"tags": {
"type": "array",
"description": "A list of test tag identifiers (get `id` from `/tags` endpoint).",
"writeOnly": true,
"readOnly": false,
"items": {
"type": "string"
}
},
"sharedWithAccounts": {
"type": "array",
"description": "A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).",
"writeOnly": true,
"readOnly": false,
"items": {
"type": "string"
}
},
"agents": {
"type": "array",
"description": "A list of objects with `agentId` (required) and `sourceIpAddress` (optional).",
"items": {
"$ref": "#/$defs/Instant_Tests_API_TestAgent"
}
}
},
"required": [
"agents"
]
},
"Instant_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"
}
}
},
"Instant_Tests_API_TestAgent": {
"type": "object",
"properties": {
"agentId": {
"type": "string",
"description": "Identifier for the agent (get `agentId` from `/agents` endpoint)."
},
"sourceIpAddress": {
"type": "string",
"description": "IP address from the agent's `ipAddresses` field (get `ipAddresses` from `/agents` endpoint). Used for interface selection."
}
}
},
"Instant_Tests_API_TestClientCertificate": {
"type": "string",
"description": "String representation (containing newline characters) of client certificate, the private key must be placed first, then the certificate."
},
"Instant_Tests_API_TestCollectProxyNetworkData": {
"type": "boolean",
"description": "Indicates whether network data to the proxy should be collected.",
"default": false
},
"Instant_Tests_API_TestCreatedBy": {
"type": "string",
"description": "User that created the test.",
"readOnly": true
},
"Instant_Tests_API_TestCreatedDate": {
"type": "string",
"format": "date-time",
"description": "UTC created date (ISO date-time format).",
"readOnly": true
},
"Instant_Tests_API_TestCredentials": {
"type": "array",
"description": "Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).",
"items": {
"type": "string"
}
},
"Instant_Tests_API_TestDistributedTracing": {
"type": "boolean",
"description": "Adds distributed tracing headers to API requests using B3 and W3C standards."
},
"Instant_Tests_API_TestFollowRedirects": {
"type": "boolean",
"description": "To disable following HTTP/301 or HTTP/302 redirect directives, set this parameter to `false`.",
"default": true
},
"Instant_Tests_API_TestLinks": {
"type": "object",
"description": "A list of links that can be accessed to get more information",
"properties": {
"self": {
"$ref": "#/$defs/Instant_Tests_API_TestSelfLink"
},
"testResults": {
"$ref": "#/$defs/Instant_Tests_API_TestResults"
}
},
"readOnly": true
},
"Instant_Tests_API_TestMtuMeasurements": {
"type": "boolean",
"description": "Set `true` to measure MTU sizes on network from agents to the target."
},
"Instant_Tests_API_TestNetworkMeasurements": {
"type": "boolean",
"description": "Enable or disable network measurements. Set to true to enable or false to disable network measurements.",
"default": true
},
"Instant_Tests_API_TestNumPathTraces": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Number of path traces executed by the agent.",
"default": 3
},
"Instant_Tests_API_TestOverrideAgentProxy": {
"type": "boolean",
"description": "Flag indicating if a proxy other than the default should be used. To override the default proxy for agents, set to `true` and specify a value for `overrideProxyId`.",
"default": false
},
"Instant_Tests_API_TestOverrideProxyId": {
"type": "string",
"description": "ID of the proxy to be used if the default proxy is overridden."
},
"Instant_Tests_API_TestPathTraceMode": {
"type": "string",
"enum": [
"classic",
"in-session"
],
"description": "Select `inSession` to perform the path trace within a TCP session.",
"default": "classic"
},
"Instant_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"
},
"Instant_Tests_API_TestProtocol": {
"type": "string",
"enum": [
"tcp",
"icmp",
"udp"
],
"description": "Protocol used by dependent network tests (end-to-end, path trace, PMTUD).",
"default": "tcp"
},
"Instant_Tests_API_TestRandomizedStartTime": {
"type": "boolean",
"description": "Indicates whether agents should randomize the start time in each test round.",
"default": false
},
"Instant_Tests_API_TestResults": {
"type": "array",
"description": "Reference to the test results.",
"items": {
"$ref": "#/$defs/Instant_Tests_API_Link"
}
},
"Instant_Tests_API_TestSelfLink": {
"allOf": [
{
"$ref": "#/$defs/Instant_Tests_API_Link"
},
{
"description": "Reference to the test."
}
]
},
"Instant_Tests_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"
},
"Instant_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
},
"Instant_Tests_API_TestUrl": {
"type": "string",
"description": "Target for the test."
},
"Instant_Tests_API_TestVaultCredential": {
"type": "object",
"properties": {
"secretId": {
"type": "string",
"description": "UUID of the configured secret."
},
"target": {
"$ref": "#/$defs/Instant_Tests_API_TestVaultCredentialTarget"
}
}
},
"Instant_Tests_API_TestVaultCredentialTarget": {
"type": "string",
"enum": [
"username",
"password",
"script"
],
"description": "The target setting that the credential should be used for."
},
"Instant_Tests_API_TestVerifyCertificate": {
"type": "boolean",
"description": "Ignore or acknowledge certificate errors. Set to false to ignore certificate errors.",
"default": false
},
"Instant_Tests_API_UnexpandedInstantTest": {
"type": "object",
"properties": {
"createdBy": {
"$ref": "#/$defs/Instant_Tests_API_TestCreatedBy"
},
"createdDate": {
"$ref": "#/$defs/Instant_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/Instant_Tests_API_TestType"
},
"_links": {
"$ref": "#/$defs/Instant_Tests_API_TestLinks"
}
}
}
}
}
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-instant-tests-api-api-instant-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.