# Calculating availability with Maintenance Windows in API

**URL:** <https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed, data-explorer, dynatrace-api\
**Created:** [April 10, 2023, 2:42pm UTC](https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218 "2023-04-10T14:42:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 25, 2023, 7:38pm UTC](https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218/2 "2023-05-25T19:38:41Z")

</div>

I would check your time frames and host entity to ensure that you are looking at the same apples to apples. Maintenance windows are designed to preserve availability metrics and therefor you should have the same values from the host page to the data explorer page.

---

_[View the full topic](https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218)._
