# Exporting Maintenance Windows with (human-readable) Entity Names

**URL:** <https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114>\
**Category:** Dynatrace API\
**Tags:** settings, maintenance-window, dynatrace-api\
**Created:** [February 25, 2026, 9:22pm UTC](https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114 "2026-02-25T21:22:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irvin\_naylor01](https://avatars.discourse-cdn.com/v4/letter/i/d6d6ee/32.png) [@Irvin\_naylor01](https://community.dynatrace.com/u/Irvin_naylor01)\
**Post date:** [February 25, 2026, 9:22pm UTC](https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114/1 "2026-02-25T21:22:06Z")

</div>

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&nbsp;[Settings API](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings)&nbsp;with the&nbsp;Maintenance windows schema ([builtin:alerting.maintenance-window](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/schemas/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,

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [February 26, 2026, 2:04pm UTC](https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114/2 "2026-02-26T14:04:38Z")

</div>

Hi,

If that API does not return entity name, you can make a second call to monitored entities API, passing entity ID.

Best regards
