Gets the configuration of Synthetic monitoring in your environment.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/synthetic/config |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/synthetic/config |
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.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | Synthetic | Success. The response contains synthetic related parameters defined for whole tenant. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
SyntheticConfigDto objectA 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) |
{"bmMonitorTimeout": 1,"bmStepTimeout": 1}
In this example, the request lists the current configuration of Synthetic monitoring.
The API token is passed in the Authorization header.
curl --request GET \--url 'https://mySampleEnv.live.dynatrace.com/api/v2/synthetic/config' \--header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v2/synthetic/config
{"browserMonitorTimeout": 600000,"browserMonitorStepTimeout": 60000}
200