ThousandEyes · Schema

Tests_API_BgpTestRequest

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
enabled object
includeCoveredPrefixes boolean Indicate if queries for subprefixes detected under this prefix should included.
usePublicBgp object
alertsEnabled boolean Indicates if alerts are enabled.
prefix string a.b.c.d is a network address, with the prefix length defined as e. Prefixes can be any length from 8 to 24.
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)
View JSON Schema on GitHub

JSON Schema

thousandeyes-tests-api-bgp-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-bgp-test-request-schema.json",
  "title": "Tests_API_BgpTestRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-bgp-tests-api-openapi.yml#/components/schemas/Tests_API_BgpTestRequest",
  "allOf": [
    {
      "$ref": "#/$defs/Tests_API_UnexpandedBgpTest"
    },
    {
      "$ref": "#/$defs/Tests_API_BaseRequest"
    },
    {
      "$ref": "#/$defs/Tests_API_MonitorsRequest"
    }
  ],
  "$defs": {
    "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_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_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_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_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_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_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_UnexpandedBgpTest": {
      "allOf": [
        {
          "$ref": "#/$defs/Tests_API_UnexpandedInstantTest"
        },
        {
          "type": "object",
          "required": [
            "prefix"
          ],
          "properties": {
            "enabled": {
              "$ref": "#/$defs/Tests_API_Enabled"
            },
            "includeCoveredPrefixes": {
              "type": "boolean",
              "description": "Indicate if queries for subprefixes detected under this prefix should included."
            },
            "usePublicBgp": {
              "$ref": "#/$defs/Tests_API_TestUsePublicBgp"
            },
            "alertsEnabled": {
              "type": "boolean",
              "description": "Indicates if alerts are enabled."
            },
            "createdBy": {
              "$ref": "#/$defs/Tests_API_TestCreatedBy"
            },
            "createdDate": {
              "$ref": "#/$defs/Tests_API_TestCreatedDate"
            },
            "type": {
              "type": "string",
              "readOnly": true
            },
            "prefix": {
              "type": "string",
              "description": "a.b.c.d is a network address, with the prefix length defined as e. Prefixes can be any length from 8 to 24."
            }
          }
        }
      ]
    },
    "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"
        }
      }
    }
  }
}

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-bgp-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.