@dynatrace-sdk/client-synthetic
v4.0.0
Published
[](https://www.npmjs.com/package/@dynatrace-sdk/client-synthetic/v/4.0.0) [](https://opensource.org/licenses/Apache-2.0)
Keywords
Readme
@dynatrace-sdk/client-synthetic
Manage synthetic monitors, locations, nodes, and on-demand executions.
To authorize, use a valid OAuth token.
Notes about compatibility:
- Operations marked as early adopter or preview may be changed in non-compatible ways, although we try to avoid this.
- We may add new enum constants without incrementing the API version; thus, clients need to handle unknown enum constants gracefully.
Installation
npm install @dynatrace-sdk/client-syntheticGetting help
- Visit SDK for Typescript guide in the Dynatrace Developer
- Ask a question in the Dynatrace Community
License
This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.
API reference
Full API reference for the latest version of the SDK is also available at the Dynatrace Developer.
syntheticConfigurationClient
import { syntheticConfigurationClient } from '@dynatrace-sdk/client-synthetic';getConfiguration
Gets the set of synthetic-related parameters defined for the whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
Required scope: synthetic:environment-configuration:read
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticConfigResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticConfigurationClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticConfigurationClient.getConfiguration();updateConfiguration
Updates the set of synthetic-related parameters defined for the whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
Required scope: synthetic:environment-configuration:write
Parameters
| Name | Type | | --- | --- | |config.body*required|SyntheticConfigRequest|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. The set of synthetic-related parameters has been updated. The response doesn't have a body.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticConfigurationClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticConfigurationClient.updateConfiguration({
body: {},
});syntheticLocationsClient
import { syntheticLocationsClient } from '@dynatrace-sdk/client-synthetic';addLocation
Creates a new private synthetic location. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:write
Parameters
| Name | Type | | --- | --- | |config.body*required|SyntheticPrivateLocationDto|
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticLocationIdsResponse|201|Success. The private location has been created. The response contains the ID of the new location.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticLocationsClient.addLocation({
body: {
latitude: 10,
longitude: 10,
name: "...",
nodes: ["..."],
type: "CLUSTER",
},
});getLocation
Gets properties of the specified location. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.locationId*required|string|The ID of the required location.|
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticPrivateLocationDto|200|Success. The response contains parameters of the synthetic location.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticLocationsClient.getLocation({
locationId: "...",
});getLocationDeploymentYaml
Gets the YAML file content to deploy a location in a Kubernetes/OpenShift cluster. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.activeGateName|string|The name of the ActiveGate.| |config.customRegistry|string|Custom image registry prefix; replaces dynatrace in image URLs in the generated YAML.| |config.locationId*required|string|The ID of the required location.| |config.namespace|string|The target namespace.| |config.tagVersionActiveGate|string|Custom version tag for ActiveGate; used as the desired ActiveGate version in the generated YAML.| |config.tagVersionSynthetic|string|Custom version tag for Synthetic; used as the desired Synthetic version in the generated YAML.|
Returns
| Return type | Status code | Description | |---|---|---| |void|200|Success. The response contains the content of the YAML deployment file.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticLocationsClient.getLocationDeploymentYaml({
locationId: "...",
});getLocations
Lists all synthetic locations (both public and private) available for your environment. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.capability|"BROWSER" | "HTTP" | "HTTP_HIGH_RESOURCE" | "ICMP" | "TCP" | "DNS"|Filters the resulting set of locations to those that support a specific capability.| |config.cloudPlatform|"AWS" | "AZURE" | "ALIBABA" | "GOOGLE_CLOUD" | "OTHER"|Filters the resulting set of locations to those that are hosted on a specific cloud platform.| |config.type|"PUBLIC" | "PRIVATE"|Filters the resulting set of locations to those of a specific type.|
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticLocationsResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticLocationsClient.getLocations();getLocationsStatus
Checks the status of public synthetic locations. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticPublicLocationsStatusDto|200|Success. The response contains the public locations status.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticLocationsClient.getLocationsStatus();getMetricAdapterDeploymentYaml
Gets the YAML file content to deploy the metric adapter in a Kubernetes/OpenShift cluster. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.namespace|string|The target namespace.| |config.platform|string|The container platform. Currently supported values are KUBERNETES and OPENSHIFT. The default value is KUBERNETES.|
Returns
| Return type | Status code | Description | |---|---|---| |void|200|Success. The response contains the content of the YAML deployment file.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticLocationsClient.getMetricAdapterDeploymentYaml();removeLocation
Deletes the specified private synthetic location. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:write
Parameters
| Name | Type | Description | | --- | --- | --- | |config.locationId*required|string|The ID of the private synthetic location to be deleted.|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. The location has been deleted. Response doesn't have a body.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticLocationsClient.removeLocation({
locationId: "...",
});updateLocation
Updates the specified synthetic location. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:write
For public locations you can only change the location status.
Parameters
| Name | Type | Description | | --- | --- | --- | |config.body*required|SyntheticPrivateLocationUpdateRequest | SyntheticPublicLocationUpdateRequest|| |config.locationId*required|string|The ID of the synthetic location to be updated.|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. The location has been updated. Response doesn't have a body.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticLocationsClient.updateLocation({
locationId: "...",
});updateLocationsStatus
Changes the status of public synthetic locations. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:write
Parameters
| Name | Type | | --- | --- | |config.body*required|SyntheticPublicLocationsStatusDto|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. Locations status has been updated.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticLocationsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticLocationsClient.updateLocationsStatus({
body: { enabled: false },
});syntheticMonitorsClient
import { syntheticMonitorsClient } from '@dynatrace-sdk/client-synthetic';createMonitor
Creates a synthetic monitor definition. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:write
Parameters
| Name | Type | | --- | --- | |config.body*required|BrowserMonitorRequest | HttpMonitorRequest | NetworkAvailabilityMonitorRequest|
Returns
| Return type | Status code | Description | |---|---|---| |MonitorIdResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticMonitorsClient.createMonitor(
{},
);deleteMonitor
Deletes a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:write
Parameters
| Name | Type | Description | | --- | --- | --- | |config.monitorId*required|string|The ID of the monitor.|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. Response doesn't have a body.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticMonitorsClient.deleteMonitor({
monitorId: "...",
});getMonitor
Gets a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.monitorId*required|string|The ID of the monitor.|
Returns
| Return type | Status code | Description | |---|---|---| |HttpMonitorResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticMonitorsClient.getMonitor({
monitorId: "...",
});getMonitors
Gets all synthetic monitors. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.monitorSelector|string|Defines the scope of the query. Only monitors matching all criteria are included in the response. You can add one or more of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the OR logic applies. Monitor type: type(HTTP,NETWORK_AVAILABILITY). Possible values: HTTP, BROWSER, NETWORK_AVAILABILITY. Synthetic Location ME ID: location(SYNTHETIC_LOCATION-123). Monitored entity ID: monitors(HOST-123,FRONTEND-456,SERVICE-789). Accepts HOST, application (FRONTEND), and SERVICE entity IDs. Manually assigned application ID: isAssignedTo(FRONTEND-123). Accepts application (FRONTEND) IDs. Monitor tags: tag([context]key:value,key:value,key). Tags in [context]key:value, key:value, and key formats are detected and parsed automatically. If a key-only tag has a colon (:) in it, you must escape the colon with a backslash (\). Otherwise, the tag will be parsed as a key:value tag. All tag values are case-sensitive. Values listed within a single tag(...) are combined with OR. To require multiple tags (AND), specify several tag(...) selectors. For example, tag(tag-a),tag(tag-b) matches only monitors that have both tags, while tag(tag-a,tag-b) matches monitors that have either. Monitor enablement: enabled(true). Security context: securityContext(value1,value2). Monaco external ID: externalId(value1,value2). To set several criteria, separate them with a comma (,). |
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticMonitorListResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticMonitorsClient.getMonitors();updateMonitor
Updates a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:write
Parameters
| Name | Type | Description | | --- | --- | --- | |config.body*required|BrowserMonitorRequest | HttpMonitorRequest | NetworkAvailabilityMonitorRequest|| |config.monitorId*required|string|The ID of the monitor.|
Returns
| Return type | Status code | Description | |---|---|---| |void|204|Success. Response doesn't have a body.|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticMonitorsClient.updateMonitor({
monitorId: "...",
});syntheticNodesClient
import { syntheticNodesClient } from '@dynatrace-sdk/client-synthetic';getNode
Gets properties of the specified synthetic node. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.nodeId*required|string|The ID of the required synthetic node.|
Returns
| Return type | Status code | Description | |---|---|---| |ExtendedNodeResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticNodesClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticNodesClient.getNode({
nodeId: "...",
});getNodes
Lists all synthetic nodes available in your environment. | maturity=EARLY_ADOPTER
Required scope: synthetic:locations:read
Parameters
| Name | Type | Description | | --- | --- | --- | |config.assignedToLocation|boolean|If set to true, returns the set of nodes that are assigned to a synthetic location. If set to false, returns only unassigned nodes. If omitted, returns both assigned and unassigned nodes.| |config.containerized|boolean|If set to true, returns only containerized nodes. If set to false, returns only non-containerized nodes. If omitted, returns both containerized and non-containerized nodes.|
Returns
| Return type | Status code | Description | |---|---|---| |NodesResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticNodesClient } from "@dynatrace-sdk/client-synthetic";
const data = await syntheticNodesClient.getNodes();syntheticOnDemandMonitorExecutionsClient
import { syntheticOnDemandMonitorExecutionsClient } from '@dynatrace-sdk/client-synthetic';executeOnDemand
Triggers on-demand executions for synthetic monitors. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:execute
Parameters
| Name | Type | | --- | --- | |config.body*required|SyntheticOnDemandExecutionRequest|
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticOnDemandExecutionResponse|201|Created|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticOnDemandMonitorExecutionsClient.executeOnDemand(
{ body: {} },
);rerunOnDemandExecution
Reruns the specified on-demand synthetic monitor execution. | maturity=EARLY_ADOPTER
Required scope: synthetic:monitors:execute
Parameters
| Name | Type | Description | | --- | --- | --- | |config.executionId*required|number|The ID of the on-demand execution.|
Returns
| Return type | Status code | Description | |---|---|---| |SyntheticOnDemandExecutionResponse|200|Success|
Throws
| Error Type | Error Message | |---|---| |ErrorResponseEnvelopeError|Client side error. | Server side error.|
import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-synthetic";
const data =
await syntheticOnDemandMonitorExecutionsClient.rerunOnDemandExecution(
{ executionId: 10 },
);Types
AuthenticationDto
Authentication dto for Browser Monitor step.
| Name | Type | Description | | --- | --- | --- | |authServerAllowlist|string|String containing the allowed servers of KERBEROS authentication. Can be defined only for KERBEROS authentication type.| |domain|string|String containing the KERBEROS authentication domain. Can be defined only for KERBEROS authentication type.| |inputType*required|"PLAIN" | "SECURE"|Defines the actual set of fields depending on the value. See one of the following objects: SECURE -> SecureAuthenticationDto PLAIN -> PlainAuthenticationDto | |type*required|"HTTP_AUTHENTICATION" | "KERBEROS" | "WEBFORM"|Type of authentication.|
BaseWaitConditionDto
Wait condition for Browser Monitor step.
| Name | Type | Description | | --- | --- | --- | |type*required|"NETWORK" | "NEXT_EVENT" | "PAGE_COMPLETE" | "TIME" | "USER_ACTIONS" | "VALIDATION"|Defines the actual set of fields depending on the value. See one of the following objects: TIME -> TimeWaitConditionDto VALIDATION -> ValidationWaitConditionDto PAGE_COMPLETE -> BaseWaitConditionDto NETWORK -> BaseWaitConditionDto NEXT_EVENT -> BaseWaitConditionDto USER_ACTIONS -> BaseWaitConditionDto |
BrowserMonitorConfigurationDto
Browser Monitor configuration.
| Name | Type | Description | | --- | --- | --- | |blockedRequests|Array<string>|All requests matching the specified patterns will be blocked during the execution of the monitor.| |browserPermissions|BrowserPermissionsDto|Permissions settings for browser.| |bypassCSP|boolean|Bypass ContentSecurity Policy for monitored pages. If not defined in request, it will be set to false by default.| |chromiumStartupFlags|ChromiumStartupFlagsDto|Chromium startup flags of a Browser Monitor.| |clientCertificates|Array<ClientCertificateDto>|Identifier of stored client's certificate.| |cookies|Array<MonitorCookieDto>|Cookies list.| |device*required|TestDeviceDto|Test device of a Browser Monitor.| |enablement|PlatformEnablementDto|Browser monitor enablement settings for 3rd gen.| |experimentalProperties|Array<BrowserMonitorPropertyDto>|Experimental properties list.| |filteredRequests|FilteredRequestsDto|Filtered requests of a Browser Monitor.| |ignoredErrorCodes|IgnoredErrorCodesDto|Ignored Error Codes of a Browser Monitor.| |javaScriptSettings|JavaScriptAgentSettingsDto|JavaScript Agent Settings.| |monitorCrossOriginFrames|boolean|Capture performance metrics for pages loaded in cross origin frames. If not defined in request, it will fall back to monitorFrames by default.| |monitorFrames|boolean|Capture performance metrics for pages loaded in frames. If not defined in request, it will be set to false by default.| |networkThrottling|NetworkThrottlingDto|Network throttling of a Browser Monitor.| |proxy|ProxyDto|Browser Monitor proxy.| |requestHeaderOptions|RequestHeaderOptionsDto|Header Options of a Browser Monitor.| |useIESupportedAgent|boolean|useIESupportedAgent flag. If not defined in request, it will be set to false by default.| |userAgent|string|User agent.|
BrowserMonitorPropertyDto
Property of a Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |name*required|string|Property name.| |value*required|string|Property value.|
BrowserMonitorRequest
Browser monitor update.
| Name | Type | Description | | --- | --- | --- | |configuration*required|BrowserMonitorConfigurationDto|Browser Monitor configuration.| |description|string|Monitor description.| |enabled|boolean|If true, the monitor is enabled.Default: true| |externalId|string|Stable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.| |frequencyMin|number|The frequency of the monitor, in minutes. Default value depends on the monitor type (1 minute for NAM and HTTP, 15 minutes for BROWSER).| |keyPerformanceMetrics|KeyPerformanceMetricsDto|The key performance metrics configuration.| |locations*required|Array<string>|The locations to which the monitor is assigned.| |manuallyAssignedEntities|Array<string>|Manually assigned entities.| |name*required|string|The name of the monitor.| |outageHandling|MonitorOutageHandlingSettingsDto|Outage handling configuration.| |performanceThresholds|MonitorPerformanceThresholdsDto|Performance thresholds configuration.| |primaryGrailTags|Array<MonitorPrimaryGrailTagDto>|Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.| |securityContext|Array<string>|[FEATURE DISABLED] Security context as a list of strings. Up to 10 values, max 200 characters per value. Those fields are only available for SaaS and not for Managed.| |steps*required|Array<BrowserMonitorStepDto>|The steps of the monitor.| |tags|Array<SyntheticTagWithSourceDto>|A set of tags assigned to the monitor. You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model. | |type*required|"BROWSER"|Monitor type.|
BrowserMonitorResponse
Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |automaticallyAssignedEntities|Array<string>|Automatically assigned entities.| |configuration*required|BrowserMonitorConfigurationDto|Browser Monitor configuration.| |description|string|Monitor description.| |enabled|boolean|If true, the monitor is enabled.| |externalId|string|Stable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.| |frequencyMin|number|The frequency of the monitor, in minutes.| |id*required|string|The smartscape id of the monitor.| |keyPerformanceMetrics*required|KeyPerformanceMetricsDto|The key performance metrics configuration.| |locations|Array<string>|The locations to which the monitor is assigned.| |manuallyAssignedEntities|Array<string>|Manually assigned entities.| |modificationTimestamp|number|The timestamp of the last modification.| |name|string|The name of the monitor.| |outageHandling*required|MonitorOutageHandlingSettingsDto|Outage handling configuration.| |performanceThresholds|MonitorPerformanceThresholdsDto|Performance thresholds configuration.| |primaryGrailTags|Array<MonitorPrimaryGrailTagDto>|Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.| |securityContext|Array<string>|[FEATURE DISABLED] Security context as a list of strings. Up to 10 values, max 200 characters per value. Those fields are only available for SaaS and not for Managed.| |steps*required|Array<BrowserMonitorStepDto>|The steps of the monitor.| |tags|Array<SyntheticTagWithSourceDto>|A set of tags assigned to the monitor. You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model. | |type*required|"BROWSER"|Monitor type.|
BrowserMonitorStepDto
Base step of Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |id|string|Step Id.| |name*required|string|The name of Browser Monitor step.| |type*required|"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"|Defines the actual set of fields depending on the value. See one of the following objects: NAVIGATE -> NavigateStepDto CLICK -> InteractionStepDto TAP -> InteractionStepDto KEYSTROKES -> KeyStrokesStepDto JAVASCRIPT -> JavaScriptStepDto SELECT_OPTION -> SelectOptionStepDto COOKIE -> CookieStepDto |
BrowserPermissionsDto
Permissions settings for browser.
| Name | Type | Description | | --- | --- | --- | |camera|boolean|Camera permission. If not defined in request, it will be set to false by default.| |location|boolean|Location permission. If not defined in request, it will be set to false by default.| |microphone|boolean|Microphone permission. If not defined in request, it will be set to false by default.| |notifications|boolean|Notifications permission. If not defined in request, it will be set to false by default.|
ChromiumStartupFlagsDto
Chromium startup flags of a Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |autoplay-policy|"no-user-gesture-required" | "document-user-activation-required"|autoplay-policy type.| |disable-features|ChromiumStartupFlagsDtoDisableFeatures|disable-features map.| |disable-site-isolation-trials|boolean|disable-site-isolation-trials flag.| |disable-web-security|boolean|disable-web-security flag. If no value is passed, it will be set to false by default.| |host-resolver-rules|string|host-resolver-rules.| |ignore-certificate-errors|boolean|ignore-certificate-errors flag.| |ssl-version-max|string|ssl-version-max.| |ssl-version-min|string|ssl-version-min.| |test-type|boolean|test-type flag.|
ChromiumStartupFlagsDtoDisableFeatures
disable-features map.
type: Record<string, boolean>
ClientCertificateDto
Client certificate.
| Name | Type | Description | | --- | --- | --- | |credentialId*required|string|Certificate CV id.| |domain*required|string|Domain certificate will be applied to.|
ConstraintViolation
Information about a single constraint violation.
| Name | Type | Description | | --- | --- | --- | |context|ConstraintViolationContext|Structured context of the constraint violation. Well known keys that can be present are: reason -> Additional reasoning behind the occurred violation. pipeline -> Pipeline related to the violation. endpoint -> Endpoint related to the violation. stage -> Stage related to the violation. processor -> Processor related to the violation. routingRule -> Routing rule related to the violation. | |message*required|string|Description of the constraint violation.|
ConstraintViolationContext
Structured context of the constraint violation. Well known keys that can be present are:
reason-> Additional reasoning behind the occurred violation.pipeline-> Pipeline related to the violation.endpoint-> Endpoint related to the violation.stage-> Stage related to the violation.processor-> Processor related to the violation.routingRule-> Routing rule related to the violation.
type: Record<string, string>
ConstraintViolationDetails
List of encountered constraint violations.
| Name | Type | Description | | --- | --- | --- | |constraintViolations*required|Array<ConstraintViolation>|List of encountered constraint violations.| |type*required|"constraintViolation"|Defines the actual set of fields depending on the value. See one of the following objects: constraintViolation -> ConstraintViolationDetails |
CookieStepDto
Cookie step of Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |cookies*required|Array<MonitorCookieDto>|Field containing the list of cookies.| |id|string|Step Id.| |name*required|string|The name of Browser Monitor step.| |type*required|"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"|Defines the actual set of fields depending on the value. See one of the following objects: NAVIGATE -> NavigateStepDto CLICK -> InteractionStepDto TAP -> InteractionStepDto KEYSTROKES -> KeyStrokesStepDto JAVASCRIPT -> JavaScriptStepDto SELECT_OPTION -> SelectOptionStepDto COOKIE -> CookieStepDto |
ErrorResponse
Basic information of the encountered error.
| Name | Type | Description | | --- | --- | --- | |code*required|number|The returned HTTP status code.| |details|ErrorResponseDetails|Detailed information of the error.| |message*required|string|Description of the encountered error.| |reason|string|Machine-readable reason for the error, if available.|
ErrorResponseDetails
Detailed information of the error.
| Name | Type | Description | | --- | --- | --- | |type*required|"constraintViolation"|Defines the actual set of fields depending on the value. See one of the following objects: constraintViolation -> ConstraintViolationDetails |
ErrorResponseEnvelope
Encloses the encountered error.
| Name | Type | Description | | --- | --- | --- | |error*required|ErrorResponse|Basic information of the encountered error.|
ExtendedNodeResponse
Configuration of a synthetic node. Compare to NodeResponse contains additional browser-related data.
| Name | Type | Description | | --- | --- | --- | |activeGateVersion*required|string|The version of the Active Gate.| |autoUpdateEnabled*required|boolean|The Active Gate has the Auto update option enabled ('true') or not ('false').| |browserMonitorsEnabled*required|boolean|The synthetic node is able to execute browser monitors (true) or not (false).| |browserType*required|string|The browser type.| |browserVersion*required|string|The browser version.| |capabilities*required|Array<string>|The list of node's capabilities.| |healthCheckStatus*required|string|The health check status of the synthetic node.| |hostname*required|string|The hostname of the synthetic node.| |id*required|string|The ID of the synthetic node.| |ips*required|Array<string>|The IP of the synthetic node.| |oneAgentRoutingEnabled*required|boolean|The Active Gate has the One Agent routing enabled ('true') or not ('false').| |operatingSystem*required|string|The Active Gate's host operating system.| |playerVersion*required|string|The version of the synthetic player.| |status*required|string|The status of the synthetic node.| |version*required|string|The version of the synthetic node.|
FilteredRequestsDto
Filtered requests of a Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |mode*required|"BLOCK" | "ALLOW"|Filter mode for filtered requests.| |requests*required|Array<RequestFilterDto>|Requests to be filtered.|
FrameworkOptionsDto
JS framework options of a JS Agent.
| Name | Type | Description | | --- | --- | --- | |activeXObject|boolean|activeXObject support. If not defined in request, it will be set to false by default.| |angular|boolean|Angular support. If not defined in request, it will be set to false by default.| |dojo|boolean|Dojo support. If not defined in request, it will be set to false by default.| |extJs|boolean|extJs support. If not defined in request, it will be set to false by default.| |icefaces|boolean|icefaces support. If not defined in request, it will be set to false by default.| |jQuery|boolean|jquery support. If not defined in request, it will be set to false by default.| |mooTools|boolean|mooTools support. If not defined in request, it will be set to false by default.| |prototype|boolean|prototype support. If not defined in request, it will be set to false by default.|
HeaderDto
A header of the request.
| Name | Type | Description | | --- | --- | --- | |name*required|string|Header's name.| |value*required|string|Header's value.|
HttpAuthenticationDto
The Http step's authentication.
| Name | Type | Description | | --- | --- | --- | |credentials*required|string|Credential vault identifier.| |kdcIp|string|KDC IP in case KERBEROS auth type is selected.| |realmName|string|Realm name in case KERBEROS type is selected.| |type*required|"KERBEROS" | "BASIC_AUTHENTICATION" | "NTLM"|Authentication type.|
HttpMonitorAdvancedSettingsDto
Http monitor's advanced settings.
| Name | Type | Description | | --- | --- | --- | |connectTimeout|number|Connect timeout per request in ms.| |dnsQueryTimeout|number|DNS query timeout in ms.| |maxCustomScriptSize|number|Maximum size of each pre- or post- execution script size in bytes.| |maxHeaderSize|number|Maximum size of each request header in bytes.| |maxRequestBodySize|number|Maximum request body size in bytes.| |maxResponseBodyReadByScriptSize|number|Maximum size of response body read by post-execution script in bytes.| |maxResponseBodySize|number|Maximum response body size in bytes.| |monitorExecutionTimeout|number|Monitor execution timeout in ms.| |requestTimeout|number|Request timeout in ms.| |scriptExecutionTimeout|number|Pre- or post- execution script timeout in ms.|
HttpMonitorRequest
Http monitor's settings.
| Name | Type | Description | | --- | --- | --- | |advancedSettings|HttpMonitorAdvancedSettingsDto|Http monitor's advanced settings.| |cookies|Array<MonitorCookieDto>|The cookies of the monitor.| |description|string|Monitor description.| |enabled|boolean|If true, the monitor is enabled.Default: true| |externalId|string|Stable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.| |frequencyMin|number|The frequency of the monitor, in minutes. Default value depends on the monitor type (1 minute for NAM and HTTP, 15 minutes for BROWSER).| |locations*required|Array<string>|The locations to which the monitor is assigned.| |manuallyAssignedEntities|Array<string>|Manually assigned entities.| |name*required|string|The name of the monitor.| |outageHandling|MonitorOutageHandlingSettingsDto|Outage handling configuration.| |performanceThresholds|MonitorPerformanceThresholdsDto|Performance thresholds configuration.| |primaryGrailTags|Array<MonitorPrimaryGrailTagDto>|Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.| |securityContext|Array<string>|[FEATURE DISABLED] Security context as a list of strings. Up to 10 values, max 200 characters per value. Those fields are only available for SaaS and not for Managed.| |steps*required|Array<HttpMonitorStepDto>|The steps of the monitor.| |tags|Array<SyntheticTagWithSourceDto>|A set of tags assigned to the monitor. You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model. | |type*required|"HTTP"|Monitor type.|
HttpMonitorResponse
Http monitor.
| Name | Type | Description | | --- | --- | --- | |advancedSettings|HttpMonitorAdvancedSettingsDto|Http monitor's advanced settings.| |automaticallyAssignedEntities|Array<string>|Automatically assigned entities.| |cookies|Array<MonitorCookieDto>|The cookies of the monitor.| |description|string|Monitor description.| |enabled|boolean|If true, the monitor is enabled.| |externalId|string|Stable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.| |frequencyMin|number|The frequency of the monitor, in minutes.| |id*required|string|The smartscape id of the monitor.| |locations|Array<string>|The locations to which the monitor is assigned.| |manuallyAssignedEntities|Array<string>|Manually assigned entities.| |modificationTimestamp|number|The timestamp of the last modification.| |name|string|The name of the monitor.| |outageHandling*required|MonitorOutageHandlingSettingsDto|Outage handling configuration.| |performanceThresholds|MonitorPerformanceThresholdsDto|Performance thresholds configuration.| |primaryGrailTags|Array<MonitorPrimaryGrailTagDto>|Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.| |securityContext|Array<string>|[FEATURE DISABLED] Security context as a list of strings. Up to 10 values, max 200 characters per value. Those fields are only available for SaaS and not for Managed.| |steps*required|Array<HttpMonitorStepDto>|The steps of the monitor.| |tags|Array<SyntheticTagWithSourceDto>|A set of tags assigned to the monitor. You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model. | |type*required|"HTTP"|Monitor type.|
HttpMonitorStepDto
The step of a Http monitor.
| Name | Type | Description | | --- | --- | --- | |authentication|HttpAuthenticationDto|The Http step's authentication.| |configuration|HttpStepConfigurationDto|The Http step's configuration.| |constraints*required|Array<MonitorConstraintDto>|The list of constraints.| |id|string|Step Id.| |methodType*required|"GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH"|Method type.| |name*required|string|Step name.| |postScript|string|PostScript.| |preScript|string|PreScript.| |requestBody|string|Request body.| |requestTimeout|number|Request timeout in s.| |url*required|string|Step url.|
HttpStepConfigurationDto
The Http step's configuration.
| Name | Type | Description | | --- | --- | --- | |acceptAnyCertificate|boolean|If true accept any certificate flag.Default: true| |clientCertificateId|string|Identifier of stored client's certificate.| |doNotPersistSensitiveData|boolean|If true the step's data aren't stored and displayed.Default: false| |followRedirects|boolean|If true follow redirects.Default: false| |headers|Array<HeaderDto>|The headers.| |sslCertificateExpirationDaysToAlert|number|Number of days within SSL certificate expires.|
IgnoredErrorCodesDto
Ignored Error Codes of a Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |matchingDocumentRequests|string|Ignoring status codes will be applied to requests matching pattern.| |statusCodes|string|Status codes to be ignored.|
InteractionStepDto
Interaction step of Browser Monitor.
| Name | Type | Description | | --- | --- | --- | |button*required|"MOUSE_LEFT" | "MOUSE_MIDDLE" | "MOUSE_RIGHT"|Integer containing the button index.| |id|string|Step Id.| |name*required|string|The name of Browser Monitor step.| |target|TargetDto|Target of Browser Monitor step.| |type*required|"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"|Defines the actual set of fields depending on the value. See one of the following objects: NAVIGATE -> NavigateStepDto CLICK -> InteractionStepDto TAP -> InteractionStepDto KEYSTROKES -> KeyStrokesStepDto JAVASCRIPT -> JavaScriptStepDto SELECT_OPTION -> SelectOptionStepDto COOKIE -> CookieStepDto | |validationRules|Array<ValidationRuleDto>|List of validation rules for the step to perform.| |waitCondition|BaseWaitConditionDto|Wait condition for Browser Monitor step.|
JavaScriptAgentSettingsDto
JavaScript Agent Settings.
| Name | Type | Description | | --- | --- | --- | |customProperties|string|Custom configuration properties.| |experimentalValues|boolean|Experimental values support. If not defined in request, it will be set to false by default.| |fetchRequests|boolean|Capture fetch() requests. If not defined in request, it will be set to true by default.| |javaScriptErrors|boolean|Enable this setting to monitor JavaScript errors. The window.onError handler is used for capturing JavaScript errors. If not defined in request, it will be set to true by default.| |javaScriptFrameworkSupport|<a href="#fram
