Synthetic API

The Synthetic API enables you manage your synthetic monitors and push external synthetic data to Dynatrace. You can:

Other endpoints of the Synthetic API enable you to:

GET monitors

Lists all synthetic monitors from your environment. The list contains only the names and IDs of monitors. To retrieve details, use the GET a monitor call.

This request is in beta and may be changed in non compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors

POST monitor

Creates a new synthetic monitor.

The configuration of the new monitor is passed via its JSON script.

This request is in beta and may be changed in non compatible way.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors

GET monitor

Gets the properties of the specified monitor, including its JSON script.

This request is in beta and may be changed in non compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}

PUT monitor

Updates the specified monitor.

The configuration of the monitor is passed via its JSON script.

You can copy the script of an existing monitor and adjust it as needed.

This request is in beta and may be changed in non compatible way.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}

DELETE monitor

Deletes the specified monitor.

This request is in beta and may be changed in non compatible way.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}