# Dynatrace API to get application downtime

**URL:** <https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed\
**Created:** [December 28, 2023, 11:50pm UTC](https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401 "2023-12-28T23:50:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [December 29, 2023, 6:11pm UTC](https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401/3 "2023-12-29T18:11:57Z")

</div>

Hello&nbsp;[@Balamurugesh](https://community.dynatrace.com/user/51242)&nbsp;as&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;says there’s no especific API for that, but what you can define is an SLO for an application and use the [API](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/service-level-objectives/get-slo) to get the error budget. Is the difference between the calculated and target values. A positive number means all is good; a negative number means trouble. Or you can get the percentage.

---

_[View the full topic](https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401)._
