# Auto close the problems

**URL:** <https://community.dynatrace.com/t/auto-close-the-problems/51554>\
**Category:** Alerting\
**Tags:** problem-detection, davis\
**Created:** [May 9, 2025, 12:03pm UTC](https://community.dynatrace.com/t/auto-close-the-problems/51554 "2025-05-09T12:03:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiVaarmah](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@SaiVaarmah](https://community.dynatrace.com/u/SaiVaarmah)\
**Post date:** [May 9, 2025, 12:03pm UTC](https://community.dynatrace.com/t/auto-close-the-problems/51554/1 "2025-05-09T12:03:42Z")

</div>

Hello Team,

Currently our applications are monitored by Dynatrace and the problem tickets are being raised in Dynatrace . We are trying to develop an automated Agentic AI SRE assistant for resolving application problems . The assistant will action programmatically what an SRE will do manually That is&nbsp; Login to Dynatrace UI and &nbsp;based on analysis of the error details available in Dynatrace UI, perform some actions to resolve the issue.

Example – Dynatrace screenshot below showing &nbsp;OOM(Out Of Memory)

**Our ask is the feasibility of programmatically extracting &nbsp;these error details(OOM ) that we see in Dynatrace UI through API calls to Dynatrace**

 ![YerramSaiVarma_0-1746791693976.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1a4b7eaba5fdf2b5d79a2762226e191866122a7e.png)

 ![YerramSaiVarma_1-1746791707071.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2380cfa7e2637e030b49682a0c9617a69c8f8ccc.png)

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 9, 2025, 1:33pm UTC](https://community.dynatrace.com/t/auto-close-the-problems/51554/2 "2025-05-09T13:33:51Z")

</div>

Hi&nbsp;[@SaiVaarmah](https://community.dynatrace.com/user/90207)

You can utilize [/api/v2/problems](https://docs.dynatrace.com/docs/shortlink/api-problems-v2-get-list) and use&nbsp;problemSelector with text(“Out-of-memory kills”) that should work

From UI

 ![Yosi_Neuman_0-1746797445096.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/af9606f6e924facdc2bce2cd792bc07698f65e3f.png)

From API

 ![Yosi_Neuman_3-1746797618870.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a730f5306173ebb8336f5c78fcdb1d56a4717823.png)

 ![Yosi_Neuman_2-1746797570065.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/0/70983a863595b4b63429622c1122013f8219eae5.png)

HTH

Yos

---

<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 9, 2025, 7:39pm UTC](https://community.dynatrace.com/t/auto-close-the-problems/51554/3 "2025-05-09T19:39:17Z")

</div>

Are you using any incident management platforms like ServiceNow? If you are, you can send these Problem card alerts right into you IM platform, from there it/Dynatrace can kick off your automation, be it Dynatrace Workflows, Ansible etc… then ServiceNow can post comments in the Problem card ID by way of the API as well as manually close out these problems all via the API integration with the data you want to include as to what actions were performed etc.

This way its all recorded and traceable, from Event start, to notice, to automation, to closure.
