# How to import or export dashboards in one agent server

**URL:** <https://community.dynatrace.com/t/how-to-import-or-export-dashboards-in-one-agent-server/21681>\
**Category:** Dashboarding\
**Tags:** dashboards-classic, dynatrace-api\
**Created:** [August 27, 2019, 9:36am UTC](https://community.dynatrace.com/t/how-to-import-or-export-dashboards-in-one-agent-server/21681 "2019-08-27T09:36:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_bhagadkar](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rahul\_bhagadkar](https://community.dynatrace.com/u/rahul_bhagadkar)\
**Post date:** [August 27, 2019, 9:36am UTC](https://community.dynatrace.com/t/how-to-import-or-export-dashboards-in-one-agent-server/21681/1 "2019-08-27T09:36:43Z")

</div>

I have all dashboards in non-prod environment I need to clone to prod is it possible

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [August 27, 2019, 11:13am UTC](https://community.dynatrace.com/t/how-to-import-or-export-dashboards-in-one-agent-server/21681/2 "2019-08-27T11:13:56Z")

</div>

Hi Rahul,

Yes, it’s possible to do this with the Dashboards API. [Dashboards Classic API — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/api-config-dashboards)

It’s a good idea to keep tags, etc. used as filters consistent across environments between non-prod and prod if possible. If they are not the same, you may need to know some mapping details for what to replace filters with.

If you have any key requests pinned to dashboards you’ll also need things like Service IDs and Service Method (key request) IDs mapping handy.

If it’s just a couple of one-offs - exporting the JSON from the API and find+replace would suffice to modify the dashboard before importing to the other environment.

If this is more frequent, it may be useful to write up something to help you automate this process.

Also, be sure to validate the JSON with the API before uploading and creating a new dashboard.

Regards,

Andrew

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [September 1, 2025, 12:15pm UTC](https://community.dynatrace.com/t/how-to-import-or-export-dashboards-in-one-agent-server/21681/3 "2025-09-01T12:15:45Z")

</div>

The API is for classical dashboard, is there a new API for the new style dashboard? I appreciate your support.
