25 Feb 2026
09:22 PM
- last edited on
26 Feb 2026
07:37 AM
by
MaciejNeumann
Hi all,
I'm looking to export a list of all Maintenance Windows (Upcoming, Ongoing, and Expired) in our environment. I originally came upon the Settings API with the Maintenance windows schema (builtin:alerting.maintenance-window). This worked perfectly except for one small problem:
It only shows the entity.Type, entityTags, managementZones and entity.ID (HOST-ABCDEF1234, SYNTHETIC_TEST-ABCDEFG1234, etc) of the entities that were put into maintenance mode for each maintenance window. This alone obviously isn't very helpful to a human who wishes to know *what* was put into maintenance and *when*. It would be much more preferable to have the corresponding entity.name returned as well to make parsing results a bit more useful.
Is there any way to get a list of maintenance windows alongside their associated entities by the entity.name? Or am I going about this a completely roundabout way with the settings API?
Thank you,
26 Feb 2026 02:04 PM
Hi,
If that API does not return entity name, you can make a second call to monitored entities API, passing entity ID.
Best regards
Featured Posts