Synthetic configuration API v2 - GET configuration
Gets the configuration of Synthetic monitoring in your environment.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/synthetic/config |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/synthetic/config | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/synthetic/config |
Authentication
To execute this request, you need an access token with syntheticLocations.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | SyntheticConfigDto | Success. The response contains synthetic related parameters defined for whole tenant. |
Response body objects
The SyntheticConfigDto
object
A DTO for synthetic configuration.
Element | Type | Description |
---|---|---|
bmMonitorTimeout | integer | bmMonitorTimeout - browser monitor execution timeout (ms) |
bmStepTimeout | integer | bmStepTimeout - browser monitor single step execution timeout (ms) |
Response body JSON model
1{2 "bmMonitorTimeout": 1,3 "bmStepTimeout": 14}
Example
In this example, the request lists the current configuration of Synthetic monitoring.
The API token is passed in the Authorization header.
Curl
1curl --request GET \2 --url 'https://mySampleEnv.live.dynatrace.com/api/v2/synthetic/config' \3 --header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
1https://mySampleEnv.live.dynatrace.com/api/v2/synthetic/config
Response body
1{2 "browserMonitorTimeout": 600000,3 "browserMonitorStepTimeout": 600004}
Response code
200