# How to expose dashboards created in One Agent using API.​

**URL:** <https://community.dynatrace.com/t/how-to-expose-dashboards-created-in-one-agent-using-api/20018>\
**Category:** Dashboarding\
**Tags:** dashboards-classic, dynatrace-api\
**Created:** [March 16, 2019, 11:12pm UTC](https://community.dynatrace.com/t/how-to-expose-dashboards-created-in-one-agent-using-api/20018 "2019-03-16T23:12:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krunal\_dave1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/krunal_dave1/32/18102_2.png) [@krunal\_dave1](https://community.dynatrace.com/u/krunal_dave1)\
**Post date:** [March 16, 2019, 11:12pm UTC](https://community.dynatrace.com/t/how-to-expose-dashboards-created-in-one-agent-using-api/20018/1 "2019-03-16T23:12:17Z")

</div>

How to expose dashboards created in One Agent using API?

I have used below curl command and generated file with “{“error”:{“code”:404,“message”:“feature disabled”}}”

curl -o DynatraceOneAgentInfrastructureDashboard.html [https://xxxx.com/e/xxxxxx/api/config/v1/dashboards/8bdd3d50-5838-4a82-8a08-aa5a58670a3a](https://xxxx.com/e/xxxxxx/api/config/v1/dashboards/8bdd3d50-5838-4a82-8a08-aa5a58670a3a)? --header “Authorization: Api-Token fiFFmO7sQNKomLKPJob5n”

question is if this feature is disabled then what is the workaround?

Thanks & Regards,

Krunal Dave

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [March 18, 2019, 2:02pm UTC](https://community.dynatrace.com/t/how-to-expose-dashboards-created-in-one-agent-using-api/20018/2 "2019-03-18T14:02:28Z")

</div>

Hi Krunal,

A dashboard itself cannot be exposed via the API but the timeseries metrics displayed in the dashboard can be exposed via the API. Please take a look at the documentation for the **Timeseries API** [here](https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment/timeseries-api/).

Hope This Helps

NJ

---

<div class="post-metadata">

**Author:** ![krunal\_dave1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/krunal_dave1/32/18102_2.png) [@krunal\_dave1](https://community.dynatrace.com/u/krunal_dave1)\
**Post date:** [March 19, 2019, 3:58pm UTC](https://community.dynatrace.com/t/how-to-expose-dashboards-created-in-one-agent-using-api/20018/3 "2019-03-19T15:58:50Z")

</div>

Hi NJ

Thanks for your response.

Main goal for creating dashboard and exposed via API was to have all the data(for instance : JVM and Host related data) in one dashboard. if time series API is the only option then complexity will increase like joining multiple curl command for each time series matrix if one output is requested.

this is interim workaround but still question is why dashboard feature disabled in one agent(in AppMon latest v7.2 on wards this feature is still enable and ready to use).

Thanks

Krunal Dave
