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 only contains names and IDs of monitors. To retrieve the detailed information, use the GET a monitor call.

This request is beta/in early access program 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 monitors

Creates a new synthetic monitor.

The configuration of the new monitor is passed via its JSON script. You must escape all the " characters to use the script in the API call.

This request is beta/in early access program 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 beta/in early access program 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 must escape all the " characters to use the script in the API call.

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

This request is beta/in early access program 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 beta/in early access program 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}