# Pull/export of all the Problems that were opened by Dynatrace for past 2 months

**URL:** <https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [February 21, 2019, 10:33pm UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726 "2019-02-21T22:33:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![naralavenkata\_r](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@naralavenkata\_r](https://community.dynatrace.com/u/naralavenkata_r)\
**Post date:** [February 21, 2019, 10:33pm UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726/1 "2019-02-21T22:33:11Z")

</div>

Is there a way to pull/export of all the Problems that were opened by Dynatrace for past 2 months?

---

<div class="post-metadata">

**Author:** ![Joe\_Hoffman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joe_hoffman/32/30752_2.png) [@Joe\_Hoffman](https://community.dynatrace.com/u/Joe_Hoffman)\
**Post date:** [February 22, 2019, 12:52am UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726/2 "2019-02-22T00:52:07Z")

</div>

Have you looked at the Problems API. This provides access to historical problems.

[https://www.dynatrace.com/support/help/extend-dyna…](https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment/problems-api/)

---

<div class="post-metadata">

**Author:** ![suresh230591](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/suresh230591/32/280_2.png) [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Post date:** [February 22, 2019, 7:13am UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726/3 "2019-02-22T07:13:32Z")

</div>

You can pull the list of problem opened/closed max to a month.  
Use this api call https://\<your env url\>/e/\<env id\>api/v1/problem/feed?Api-Token=\<your token\>&relativeTime=month&status=open

---

<div class="post-metadata">

**Author:** ![nballarini](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nballarini](https://community.dynatrace.com/u/nballarini)\
**Post date:** [May 13, 2021, 2:57pm UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726/4 "2021-05-13T14:57:52Z")

</div>

Hi Suresh, the call example you provided got cut-off, it seems the forum doesn’t like the spaces in the URL, so the link itself is incorrect with “https://%3Cyour/”.

I’m not sure how much is missing. Any chance you could post that again?

In the meantime I’ll take a look at the api docs.

Thanks

---

<div class="post-metadata">

**Author:** ![nballarini](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nballarini](https://community.dynatrace.com/u/nballarini)\
**Post date:** [May 13, 2021, 3:26pm UTC](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726/5 "2021-05-13T15:26:33Z")

</div>

Found the latest docs here (v2):&nbsp;[Problems API v2 - GET problems list — Dynatrace Docs](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/problems-v2/problems/get-problems-list/)

and the API call looks like so:

Managed: https://{your-domain}/e/{your-environment-id}/api/v2/problemsApi-Token={token}&from=now-2m

Saas:&nbsp;https://{your-environment-id}.live.dynatrace.com/api/v2/problems?Api-Token={token}&from=now-2m
