API Synthetic Monitors in Management Zone

Hi, I am looking for an API which will provide details of all monitors configured in a management zone.

What exactly do you want? Results? Configuration?

You can use the Synthetic API v1 and filter for the Management Zone to get a list of all Synthetic Monitors in that MZ.

With /api/v1/synthetic/monitors you can get a list of all synthetic monitors, which can be filtered with the managementZone parameter.

Then you can get more information about the monitor with a request to /api/v1/synthetic/monitors/{ID}.

Hi @Balamurugesh

You should use 2 different API.

The first one to list all MZ with there IDs.

https://YOURSERVER/e/ENVID/api/config/v1/managementZones?Api-Token=YOURTOKEN

After that, with each ID, you can list the parameters of each MZ using:

https://YOURSERVER/e/ENVID/api/config/v1/managementZones/{MZ_ID}?Api-Token=YOURTOKEN

Hope this help

Have a good day.

That API is for Management Zones, the question is about Synthetic Monitors in a specific Management Zone.

Houpa,

I missed one word

Malaik_0-1654070152062.png