I would like to create a script for checking if an environment is updating. As of now we have set up alerts to check if the environments are healthy or not, but they also trigger whenever the environments are updating. We can manually edit the alert to exclude it, but it would be better if this could be done automatically.
Is this possible through the API?