{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/c08488fb-7a2d-3d7d-9594-8f650f96122b","info":{"description":"Templates provide a streamlined approach to creating multiple tests (Synthetic/CEA and Endpoint), alert rules, dashboards, labels and other assets within ThousandEyes from a single configuration file.\nTemplates make it easy to configure monitoring for even the most complex monitoring scenarios.\nThe following applies to templates:\n* ThousandEyes provides a pre-defined set of templates for monitoring common services and applications like Office365, Webex, Atlassian, Slack, custom network, HTTP, API, and Web targets.\n* You can easily create tests for monitoring common services and applications such as Office365, Webex, and others using the predefined set of ThousandEyes built-in templates.\n* Users can create their own templates, which are visible to any other users in the account group the template was created in, provided they have the `View Templates Read` permission.\n* Templates support dynamic user inputs, which are values provided by users when a template is deployed. Templates leverage Handlebars templating notation to allow dynamically configuring ThousandEyes resources based on user provided inputs.\n* Templates can be deployed from the UI or the API.\n* Credentials (usernames, passwords, tokens, etc.) may be included in a template only as placeholders whose value is provided by user input when deployed. Creating or updating a template that contains a credentials field in plain text will result in a bad request (ie, HTTP 400).\n* Templates can also use Handlebars temlate notation to reference fields of other assets defined in the template. To support this, assets are created in the order below, which also determines what other assets a given asset can reference\n(ex. Labels cannot reference other assets, Tests can only reference labels, etc.)\n 1. Labels\n 2. Tests\n 3. Endpoint Tests\n 4. Tags\n 5. Alert Rules\n 6. Dashboard Filters\n 7. Dashboards\n\nFor more information about Templates, see the [product documentation](https://docs.thousandeyes.com/product-documentation/internet-and-wan-monitoring/tests/test-templates).\n","title":"Templates API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Templates"}],"openapi":"3.0.0","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"description":"HTTP test settings.","properties":{"url":{"anyOf":[{"example":"https://meet.google.com","type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"URL to target for the test.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_url"},"targetResponseTime":{"anyOf":[{"format":"int64","type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Target response time in milliseconds.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetResponseTime"},"targetFetchTime":{"anyOf":[{"format":"int64","type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Target fetch time in milliseconds.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetFetchTime"},"headers":{"anyOf":[{"maxLength":1024,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Headers to be used in the HTTP request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_headers"},"verifyCertHostname":{"anyOf":[{"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Flag indicating if we are to verify the certificate.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_verifyCertHostname"},"authType":{"anyOf":[{"anyOf":[{"description":"The authentication type.","enum":["NONE","BASIC","NTLM","KERBEROS","OAUTH","LEGACY"],"example":"BASIC","type":"string","$$ref":"#/components/schemas/EndpointAuthTypeEnumTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The authentication type.","$$ref":"#/components/schemas/EndpointAuthTypeTemplate"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_authType"},"bytesToDownload":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum number of bytes to download on a request. If not present it means no limit.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_bytesToDownload"},"httpTimeLimit":{"anyOf":[{"maximum":60000,"minimum":5000,"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum amount of time in milliseconds the HTTP Server test will run.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_httpTimeLimit"},"username":{"anyOf":[{"maximum":255,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Username if auth enabled.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_username"},"password":{"anyOf":[{"maximum":255,"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Password if auth enabled.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_password"},"postBody":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Request body to be used with the POST request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_postBody"},"contentRegex":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Regular expression used to validate the received content. Must conform with the POSIX Extended Regular Expression Syntax.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_contentRegex"},"sslVersion":{"anyOf":[{"maximum":6,"minimum":0,"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"SSL Version to be used: \n- `0` - Auto\n- `3` - SSLv3\n- `4` - TLSv1.0\n- `5` - TLSv1.1\n- `6` - TLSv1.2\n","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_sslVersion"},"expectedResponseCode":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Expected HTTP response code. If not present 2xx or 3xx are expected.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_expectedResponseCode"},"targetIpOverride":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"If set to a valid IP address, this is where the request will\nbe sent regardless of what the agent's DNS resolver says.\n","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_targetIpOverride"},"clientCert":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Client PEM certificate used during the request.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_clientCert"},"userAgent":{"anyOf":[{"type":"string"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"The user-agent string to be used by the request. It can be any user-agent string. If not provided, the default implementation user-agent is used.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_userAgent"},"maxRedirects":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Maximum allowed redirects.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_maxRedirects"},"proxyId":{"anyOf":[{"type":"integer"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Proxy used by the agent to execute the test.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_proxyId"},"proxyDirect":{"anyOf":[{"type":"boolean"},{"description":"A valid Handlebars expression. Can reference user inputs, such as `{{name}}`, or fields of other assets defined in the template.\n* `{{userInputs.\u003ckey\u003e}}` - resolves to the user provided value the `userInput` identified its key.\n* `{{name}}` - resolves to the name of the deployed template.\n* `{{\u003casset key\u003e.\u003cfield\u003e}}` - resolves to the value of a field of another asset defined in the template identified by the asset key and field name. \nFor example, set the `testIds` field of an `alertRule` by referencing the `testId` field of a `tests` asset.\n **Note**: Due to dependencies, assets can only reference fields of other assets based on the heiarchy below (i.e. labels cannot reference other assets in the template, tests can only reference labels, etc.)\n - Labels\n - Tests\n - Endpoint Tests\n - Tags\n - Alert Rules\n - Dashboard Filters\n - Dashboards\n","example":"{{userInputs.testName}}","pattern":".*{{.*}}.*","type":"string","$$ref":"#/components/schemas/HandlebarsExpression"}],"description":"Indicates if a direct proxy should be used when proxyId is not set.","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate_proxyDirect"}},"required":["httpTimeLimit","sslVersion","targetFetchTime","targetResponseTime","url","verifyCertHostname"],"type":"object","$$ref":"#/components/schemas/EndpointHttpTestConfigTemplate","title":"EndpointHttpTestConfigTemplate"}}