ThousandEyes · Schema
Template
The template to create or update.
MonitoringNetwork VisibilityDigital ExperienceObservabilityNetworkingEnterpriseSynthetic MonitoringBGPInternet InsightsEndpoint MonitoringOpenTelemetryCisco
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the template. |
| description | string | Text that describes the template. |
| icon | object | |
| isBuiltIn | boolean | Indicates whether the template is a built-in template. This field is read-only for normal users. |
| schemaVersion | object | |
| certificationLevel | object | The certification level of the Template. Normal users may only create `user` templates. |
| userInputs | object | A map of |
| groupings | array | An ordered list of groupings that organize template objects, such as user inputs or tests. |
| labels | object | A map of |
| tests | object | A map of |
| endpointTests | object | A map of |
| tags | object | A map of |
| alertRules | object | A map of |
| dashboards | object | A map of |
| dashboardFilters | object | A map of |
| deploymentStrategy | object | A map of |
| resourceInclusion | object | A map of ` |
| modules | array | ThousandEyes modules this template belongs to. Regular users can only set this to `default`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-templates-api-template-schema.json",
"title": "Template",
"description": "The template to create or update.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/thousandeyes-templates-api-openapi.yml#/components/schemas/Templates_API_Template",
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the template."
},
"description": {
"type": "string",
"description": "Text that describes the template."
},
"icon": {
"$ref": "#/$defs/Templates_API_TemplateIcon"
},
"isBuiltIn": {
"type": "boolean",
"description": "Indicates whether the template is a built-in template. This field is read-only for normal users."
},
"schemaVersion": {
"$ref": "#/$defs/Templates_API_SchemaVersionConfig"
},
"certificationLevel": {
"$ref": "#/$defs/Templates_API_CertificationLevel",
"description": "The certification level of the Template. Normal users may only create `user` templates.\n"
},
"userInputs": {
"description": "A map of <key, UserInput>. User Inputs are values that the user must fill in order for\nthe Template to deploy. User Inputs are like variables that can be used for dynamically setting just\nabout any field in the Template, including fields for Tests, Labels, Dashboards, and most other template assets.\nUser Inputs are referenced using Handlebars template substitution notation. For example:\n\n`\"testName\": \"{{userInputs.targetDomain}} - HTTP\"`\n\nThe [Handlebars Syntax](https://handlebarsjs.com/guide/builtin-helpers.html) also supports basic logic operations\nand iterators that allow creating powerful and flexible templates.\n",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_UserInput"
}
},
"groupings": {
"uniqueItems": true,
"type": "array",
"description": "An ordered list of groupings that organize template objects, such as user inputs or tests.",
"items": {
"$ref": "#/$defs/Templates_API_TemplateGrouping"
}
},
"labels": {
"type": "object",
"description": "A map of <name, Label> objects. These are ThousandEyes Labels that will be created when the template is deployed.\n\n**Deprecation notice:** Labels are based on the V6 API, which is deprecated and has no V7 equivalent.\nUse `tags` instead, which provide enhanced functionality with full V7 API support.\nDo not use `labels` and `tags` together in the same template; prefer `tags` for all new templates.\n",
"deprecated": true,
"additionalProperties": {
"$ref": "#/$defs/Templates_API_LabelConfigurationTemplate"
}
},
"tests": {
"type": "object",
"description": "A map of <name, TestConfiguration> objects. These are the ThousandEyes CEA/Synthetic tests that will be created when the template is deployed.\n",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_TestConfigurationTemplate"
}
},
"endpointTests": {
"type": "object",
"description": "A map of <name, EndpointTestConfiguration> objects. These are the Endpoint tests that will be created when the template is deployed. Field values support Handlebars template substitution.\n",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_EndpointTestConfigTemplate"
}
},
"tags": {
"type": "object",
"description": "A map of <name, TagConfiguration> objects. These are ThousandEyes Tags that will be created when the template is deployed.\nTags use a key/value model and can be assigned to tests, endpoint tests, connected devices tests, and dashboards.\nTag IDs can be referenced in other template assets using Handlebars notation,\ne.g., `\"tagIds\": [\"{{tags.myTag.id}}\"]`.\n",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_TagConfigurationTemplate"
}
},
"alertRules": {
"type": "object",
"description": "A map of <key, AlertRuleConfigurationTemplate> objects. These are the set of Alert Rules that will be created when the template is deployed.\n",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_AlertRuleConfigurationTemplate",
"description": "An Alert Rule object. Values can be templated with Handlebars notation. As such, the Alert Rule object is defined here as\na set of key/value pairs. See external docs for schema details.\n"
}
},
"dashboards": {
"description": "A map of <key, DashboardConfiguration> objects. These are the set of dashboards that will be created when the template is deployed. Dashboard fields support Handlebars notation.\n",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_DashboardConfigurationTemplate"
}
},
"dashboardFilters": {
"type": "object",
"description": "A map of <key, DashboardFilter> objects. These will be the dashboard filters created when the template is deployed.",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_DashboardFilterConfigurationTemplate"
}
},
"deploymentStrategy": {
"description": "A map of <assetKey, DeploymentStrategy> values. The `deploymentStrategy` field defines how the system behaves when an asset (test, label, tag, dashboard) defined in the template already exists.\nThe `assetKey` identifies the asset that the deployment strategy will apply to.\nFor tests, the system uses the test type and name to determine if a test already exists. For example, if a template contains an http-server test named `Test123` and an http-server test with the same name already exists, the system assumes that this test already exists. If the test had a different type (for example, page-load), then the system would not consider the test to already exist because the types are different.\nFor Labels and Dashboards, the system uses only the name. For Tags, the unique key is determined by the combination of `key`, `value`, and `objectType`.\nAlert Rules do not currently support `deploymentStrategy`.\nBelow are the possible deployment strategies and their behaviors:\n * `create` - The system will always attempt to create the asset. If an asset of the same name and type already exists, the system will generate an error. This behavior ensures that each asset created from a template is unique. This is the default behavior.\n * `update` - If an asset of the same type and name already exists, the existing asset is used instead of creating a new asset. If the configuration of the asset in the template is different from the existing one, the latest configuration is applied.\n * `ignore` - If an asset of the same type and name already exists, the existing asset is used instead of creating a new asset. If the configuration of the asset in the template is different from the existing one, the configuration of the existing asset is used and the configuration in the template is ignored.\nThe `update` and `ignore` strategies essentially allow assets to be shared across templates. For example, the built-in \"Custom Web Page\", \"Custom Web Server\", and \"Custom Device\" templates all contain a Dashboard asset called \"Health Overview\". It's `deploymentStrategy` is set to `ignore`, which means that the first deployment of a template such as the \"Custom Web Page\" template creates the \"Health Overview\" dashboard. Subsequent deployments of the \"Custom Web Page\" template do not attempt to recreate the \"Health Overview\" dashboard. Instead, the existing dashboard is reused.\nNote: Assets that were not created using a template are not included when the system searches for existing assets; they are not used with `update` or `ignore`.\n",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_DeploymentStrategy"
}
},
"resourceInclusion": {
"description": "A map of `<assetKey, ResourceInclusion>` pairs. The `resourceInclusion` field specifies whether an asset (such as a test, endpoint test, label, tag, dashboard, or alert rule) should be included in a deployment.\nThe `assetKey` identifies the specific asset to which the inclusion rule applies.\nPossible resource inclusion values for each asset:\n * `included` - The system will always create the asset.\n * `skipped` - The system will not create the asset.\nIf an `assetKey` is not present in the `resourceInclusion` map, it defaults to `included`.\n**Note**: The deployment payload can override the `resourceInclusion` value defined in a template.\n",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Templates_API_ResourceInclusion"
}
},
"modules": {
"uniqueItems": true,
"type": "array",
"description": "ThousandEyes modules this template belongs to. Regular users can only set this to `default`.",
"items": {
"$ref": "#/$defs/Templates_API_TemplateModule"
}
}
},
"$defs": {
"Templates_API_AccessType": {
"type": "string",
"description": "The access level of the tag. The access level determines the label's visibility in the UI and the permissions required to modify it. Accepted values are:\n\n\n* `all`: The tag is visible and editable by any user in the account group with the standard **View tags** or **Edit tags** permission. Default for all user-created tags.\n\n* `partner`: The tag is owned by a specific integration partner. Only that partner can read or modify it. It's hidden from all regular account users and excluded from their GET responses.\n\n* `system`: Reserved for ThousandEyes internal use only. This value may appear in GET responses on internally managed tags but cannot be set by users or integration partners. \n",
"enum": [
"all",
"partner",
"system"
]
},
"Templates_API_AgentAssignmentTemplate": {
"type": "object",
"properties": {
"agentId": {
"$ref": "#/$defs/Templates_API_NumberTemplate"
}
}
},
"Templates_API_AgentToAgentTestDirectionTemplate": {
"description": "Direction of the test (affects how results are shown). Defaults to `TO_TARGET`.",
"type": "string",
"default": "TO_TARGET",
"enum": [
"TO_TARGET",
"FROM_TARGET",
"BIDIRECTIONAL"
]
},
"Templates_API_AgentToAgentTestTemplate": {
"allOf": [
{
"$ref": "#/$defs/Templates_API_TestBaseTemplate"
},
{
"$ref": "#/$defs/Templates_API_NetworkTestBaseTemplate"
},
{
"type": "object",
"required": [
"type",
"agents",
"interval",
"targetAgentId"
],
"properties": {
"type": {
"$ref": "#/$defs/Templates_API_AgentToAgentTestTypeTemplate"
},
"direction": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_AgentToAgentTestDirectionTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"dscpId": {
"$ref": "#/$defs/Templates_API_NumberTemplate"
},
"targetAgentId": {
"$ref": "#/$defs/Templates_API_NumberTemplate",
"description": "ID of the target agent for the test."
},
"throughputMeasurements": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"throughputDuration": {
"$ref": "#/$defs/Templates_API_NumberTemplate",
"minimum": 5000,
"maximum": 30000,
"default": 10000
},
"throughputRate": {
"$ref": "#/$defs/Templates_API_NumberTemplate",
"description": "Throughput rate; For UDP only.",
"minimum": 1,
"maximum": 1000
}
}
}
]
},
"Templates_API_AgentToAgentTestTypeTemplate": {
"type": "string",
"description": "The type of test. Cannot be templated with Handlebars.",
"default": "agent-to-agent"
},
"Templates_API_AgentToServerTestTemplate": {
"allOf": [
{
"$ref": "#/$defs/Templates_API_TestBaseTemplate"
},
{
"$ref": "#/$defs/Templates_API_NetworkTestBaseTemplate"
},
{
"type": "object",
"required": [
"type",
"agents",
"interval",
"server"
],
"properties": {
"type": {
"$ref": "#/$defs/Templates_API_AgentToServerTestTypeTemplate"
},
"server": {
"$ref": "#/$defs/Templates_API_TargetServerTemplate"
},
"continuousMode": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"fixedPacketRate": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
}
}
]
},
"Templates_API_AgentToServerTestTypeTemplate": {
"type": "string",
"description": "The type of test. Cannot be templated with Handlebars.",
"default": "agent-to-server"
},
"Templates_API_AlertRuleConfigurationTemplate": {
"type": "object",
"description": "Alert Rule configuration. See [ThousandEyes v6 API spec](https://developer.cisco.com/docs/thousandeyes/v6/metadata/#alert-rule-metadata) for schema details.",
"required": [
"ruleName",
"alertType",
"expression",
"roundsViolatingRequired",
"roundsViolatingOutOf"
],
"properties": {
"ruleName": {
"$ref": "#/$defs/Templates_API_StringTemplate",
"description": "The name of the alert rule."
},
"alertType": {
"description": "The type of the alert rule.",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_AlertRuleTypeTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"expression": {
"description": "The alert rule expression. Must be valid JSON. See [V6 API](https://developer.cisco.com/docs/thousandeyes/v6/metadata/#expressions) documentation for examples.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"roundsViolatingRequired": {
"description": "Specifies the numerator (X value) of the \"X of Y times\" condition in an alert rule.",
"title": "RoundsViolatingRequired",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"roundsViolatingOutOf": {
"description": "Specifies the divisor (Y value) of the \"X of Y times\" condition in an alert rule.",
"title": "RoundsViolatingOutOf",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"severity": {
"description": "The severity that will be assigned when an alert is generated by this alert rule.",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_AlertRuleSeverityTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"testIds": {
"description": "The tests that the alert rule will be assigned to identified by the test ID.",
"title": "TestIds",
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"minimumSources": {
"description": "The minimum number of agents that must meet the specified criteria in order to trigger an alert.",
"type": "number"
}
}
},
"Templates_API_AlertRuleSeverityTemplate": {
"type": "string",
"enum": [
"INFO",
"MAJOR",
"MINOR",
"CRITICAL"
]
},
"Templates_API_AlertRuleTypeTemplate": {
"type": "string",
"enum": [
"Page Load",
"HTTP Server",
"End-to-End (Server)",
"End-to-End (Agent)",
"Voice",
"DNS Server",
"DNS Trace",
"DNSSEC",
"Web Transactions",
"BGP",
"Path Trace",
"FTP",
"SIP Server"
]
},
"Templates_API_AlertRulesSchemaVersion": {
"type": "string",
"description": "Schema version for alert rule resources.",
"default": "v6",
"enum": [
"v6",
"v7"
]
},
"Templates_API_ApiDataSourceFilterTemplate": {
"type": "object",
"description": "List of different filter properties for a single datasource.",
"properties": {
"filterId": {
"description": "Data source property to filter by. Example `TEST_LABEL`.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"values": {
"description": "Values to filter by based on the specified `filterId`.",
"anyOf": [
{
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"metricIds": {
"description": "Dashboard metric associated with the filter property.",
"anyOf": [
{
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
},
"required": [
"filterId",
"values",
"metricIds"
]
},
"Templates_API_ApiDurationTemplate": {
"description": "Specifies a fixed timespan for data aggregation.",
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32",
"description": "Timespan value."
},
"unit": {
"$ref": "#/$defs/Templates_API_LegacyDurationUnit"
}
}
},
"Templates_API_ApiWidgetMeasure": {
"type": "object",
"description": "Determines how to aggregate the the metric.",
"properties": {
"type": {
"$ref": "#/$defs/Templates_API_WidgetMeasureType"
},
"percentileValue": {
"type": "number",
"description": "The percentile value to use when `type == NTH_PERCENTILE`.",
"format": "float"
}
}
},
"Templates_API_AuthTypeTestTemplate": {
"description": "Authentication type to use when establishing connection.",
"type": "string",
"enum": [
"NONE",
"BASIC",
"NTLM",
"KERBEROS"
],
"default": "NONE"
},
"Templates_API_BgpTestTemplate": {
"type": "object",
"required": [
"type",
"testName",
"prefix"
],
"properties": {
"type": {
"$ref": "#/$defs/Templates_API_BgpTestTypeTemplate"
},
"testName": {
"description": "The name of the test, must be unique.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"groups": {
"description": "The Labels to assign to the test.\n\n**Deprecation notice:** Labels (`groups`) are based on the V6 API, which is deprecated.\nUse `tagIds` instead for V7 API support. Do not use `groups` and `tagIds` together on the same test.\n",
"deprecated": true,
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/Templates_API_LabelAssignmentTemplate"
}
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"tagIds": {
"description": "The Tags to assign to the test, identified by tag ID. Typically set using\nHandlebars references to tags defined in the template. Tags are the recommended\nreplacement for labels (`groups`) and provide full V7 API support.\n",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_TagIdListTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"description": {
"description": "Description of the test.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"prefix": {
"description": "The BGP prefix to monitor.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_StringTemplate"
}
]
},
"includeCoveredPrefixes": {
"description": "Whether to include covered prefixes. 1 denotes true, 0 denotes false.",
"anyOf": [
{
"type": "integer"
},
{
"$ref": "#/$defs/Templates_API_NumberTemplate"
}
]
},
"usePublicBgp": {
"description": "Whether to use public BGP Monitors. 1 denotes true, 0 denotes false.",
"anyOf": [
{
"type": "integer"
},
{
"$ref": "#/$defs/Templates_API_NumberTemplate"
}
]
},
"bgpMonitors": {
"description": "BGP Monitors to use.",
"type": "array",
"items": {
"type": "object",
"properties": {
"monitorId": {
"description": "The ID of the BGP Monitor.",
"anyOf": [
{
"type": "integer"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
}
}
}
}
},
"Templates_API_BgpTestTypeTemplate": {
"type": "string",
"description": "The type of test. Cannot be templated with Handlebars.",
"default": "bgp"
},
"Templates_API_BooleanNumber": {
"type": "integer",
"enum": [
0,
1
]
},
"Templates_API_BrowserTestBaseTemplate": {
"type": "object",
"properties": {
"url": {
"description": "The URL that the test will target.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"blockDomains": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"allowMicAndCamera": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"allowGeolocation": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_BooleanNumber"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"pageLoadingStrategy": {
"description": "The page loading strategy the browser should use when loading the target webpage.\n- `normal`: Wait for the entire page to load, meaning that HTML content and all resources have been downloaded and parsed before moving to the next action in the transaction test script. \n- `eager`: Wait for the `DOMContentLoaded` event, meaning that HTML content is downloaded and parsed, and the document readiness state is “interactive” before moving to the next action in the test script. \n- `none`: Wait only for HTML content to download. Once the HTML is downloaded, the test proceeds to the next action in the transaction test script. (Default is `normal`).\n",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_PageLoadStrategyTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"subinterval": {
"description": "Subinterval for round-robin testing (in seconds). Must be less than or equal to interval and must evenly divide interval. Defaults to null, which disables round-robin.",
"anyOf": [
{
"type": "integer"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
}
},
"Templates_API_CertificationLevel": {
"type": "string",
"description": "The certification level of the Template. The accepted values are:\n- `user`: User created template; not verified by ThousandEyes\n- `thousandeyes`: Created by ThousandEyes\n- `partner`: Created by ThousandEyes and approved by Partner/Vendor\n- `certified`: Created and certified by ThousandEyes using included best practice guide (see `documentation` link).\n",
"enum": [
"user",
"thousandeyes",
"partner",
"certified"
]
},
"Templates_API_CustomHeadersTemplate": {
"description": "Custom headers to use in HTTP request.",
"type": "object",
"properties": {
"all": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"domains": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"root": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"Templates_API_DashboardConfigurationTemplate": {
"type": "object",
"description": "Configuration of a dashboard that will be created when template is deployed.",
"properties": {
"title": {
"$ref": "#/$defs/Templates_API_StringTemplate",
"description": "The title of the dashboard that will be displayed in UI."
},
"description": {
"$ref": "#/$defs/Templates_API_StringTemplate",
"description": "The description of the dashboard that will be displayed in UI."
},
"globalFilterId": {
"$ref": "#/$defs/Templates_API_StringTemplate",
"description": "The ID of a global dashboard filter to associate with this dashboard."
},
"widgets": {
"description": "The widgets that will be included in the dashboard.",
"type": "array",
"items": {
"$ref": "#/$defs/Templates_API_DashboardWidgetTemplate"
}
},
"refreshRate": {
"anyOf": [
{
"$ref": "#/$defs/Templates_API_DashboardRefreshRateTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
}
},
"Templates_API_DashboardFilterConfigurationTemplate": {
"type": "object",
"description": "A dashboard filter object. See [V7 API Documentation](https://developer.cisco.com/docs/thousandeyes/v7/list-dashboard-filters/) for more details on dashboard filters.",
"properties": {
"name": {
"description": "The name of the dashboard filter.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"description": {
"description": "An optional description of the filter.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"context": {
"description": "The context of the dashboard filter.",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_DashboardFilterListTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
}
}
},
"Templates_API_DashboardFilterContextTemplate": {
"type": "object",
"description": "List of dashboard filter contexts.",
"properties": {
"dataSourceId": {
"description": "Type of data source for dashboard global filter.",
"anyOf": [
{
"$ref": "#/$defs/Templates_API_FilterContextDataSourceTemplate"
},
{
"$ref": "#/$defs/Templates_API_HandlebarsExpression"
}
]
},
"filters": {
"description": "List of filter properties.",
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/$defs/Templates_API_ApiDataSourceFilterTemplate"
}
}
},
"required": [
"dataSourceId",
"filters"
]
},
"Templates_API_DashboardFilterListTemplate": {
"type": "array",
"description": "List of filters to be applied to a dashboard.",
"uniqueItems": true,
"items": {
"$ref": "#/$defs/Templates_API_DashboardFilterContextTemplate"
}
},
"Templates_API_DashboardMetric": {
"type": "string",
"description": "Indicates the specific metric in the report, determined by the layer, test type, and metric values.",
"enum": [
"ONE_WAY_NET_LOSS_TO_TARGET",
"ONE_WAY_NET_LATENCY_TO_TARGET",
"ONE_WAY_NET_JITTER_TO_TARGET",
"ONE_WAY_NET_THROUGHPUT_TO_TARGET",
"ONE_WAY_NET_ERROR_TO_TARGET",
"ONE_WAY_NET_LOSS_FROM_TARGET",
"ONE_WAY_NET_LATENCY_FROM_TARGET",
"ONE_WAY_NET_JITTER_FROM_TARGET",
"ONE_WAY_NET_THROUGHPUT_FROM_TARGET",
"ONE_WAY_NET_ERROR_FROM_TARGET",
"ONE_WAY_NET_LOSS_BIDIRECTIONAL",
"ONE_WAY_NET_LATENCY_BIDIRECTIONAL",
"ONE_WAY_NET_JITTER_BIDIRECTIONAL",
"ONE_WAY_NET_THROUGHPUT_BIDIRECTIONAL",
"ONE_WAY_NET_ERROR_BIDIRECTIONAL",
"NET_LOSS",
"NET_LATENCY",
"NET_JITTER",
"NET_BANDWIDTH",
"NET_CAPACITY",
"PROXY_NET_LOSS",
"PROXY_NET_LATENCY",
"PROXY_NET_JITTER",
"WEB_AVAILABILITY",
"WEB_THROUGHPUT",
"WEB_DNS",
"WEB_CONNEC
# --- truncated at 32 KB (112 KB total) ---
# Full source: https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-templates-api-template-schema.json
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-templates-api-template"
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.