# Dynatrace API

**URL:** https://community.dynatrace.com/c/platform/api/94.md?page=16

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

**Page:** 17

---

## [CPU Usage Via API](https://community.dynatrace.com/t/cpu-usage-via-api/32258)

<div class="topic-metadata">

**Author:** [@Aniket](https://community.dynatrace.com/u/Aniket)\
**Replies:** 2\
**Last updated:** [July 30, 2021, 2:48pm UTC](https://community.dynatrace.com/t/cpu-usage-via-api/32258 "2021-07-30T14:48:25Z")

</div>

Hello Everyone, I am new to Dynatrace and its APIs, I am trying to get average CPU usage for last 5 mins for all HOSTs. Here is my API call : https://{your-domain}/e/{your-environment-id}/api/v2/metrics/query?metricSe…

---

## [Auto Update settings api?](https://community.dynatrace.com/t/auto-update-settings-api/20647)

<div class="topic-metadata">

**Author:** [@tarjei\_utnes](https://community.dynatrace.com/u/tarjei_utnes)\
**Replies:** 5\
**Last updated:** [July 30, 2021, 8:12am UTC](https://community.dynatrace.com/t/auto-update-settings-api/20647 "2021-07-30T08:12:25Z")

</div>

Hi, It is possible to disable and enable the auto update both on cluster level, and on environment level in a Managed Cluster. I see that there is a call to \<Managed URI\>/rest/configuration/autoupdate when this is togg…

---

## [How to limit WriteConfig permissions?](https://community.dynatrace.com/t/how-to-limit-writeconfig-permissions/32222)

<div class="topic-metadata">

**Author:** [@sonya\_patel](https://community.dynatrace.com/u/sonya_patel)\
**Replies:** 2\
**Last updated:** [July 29, 2021, 11:55am UTC](https://community.dynatrace.com/t/how-to-limit-writeconfig-permissions/32222 "2021-07-29T11:55:47Z")

</div>

I have a Dynatrace user who needs access to WriteConfig API for particular management zones. She would like to add subscribers for reports via API. It seems like Default API WriteConfig access cannot be limited. Any id…

---

## [API - Anomaly Detection](https://community.dynatrace.com/t/api-anomaly-detection/21253)

<div class="topic-metadata">

**Author:** [@alberto-jesus\_1](https://community.dynatrace.com/u/alberto-jesus_1)\
**Replies:** 3\
**Last updated:** [July 19, 2021, 1:48pm UTC](https://community.dynatrace.com/t/api-anomaly-detection/21253 "2021-07-19T13:48:54Z")

</div>

Hi, is it possible to get anomaly detection settings from a specific host / service, etc vía API? On the other hand, is it possible to get baseline timeseries from a Service / Application vía API? Thanks in advance. A…

---

## [View Kubernetes metrics in Power BI](https://community.dynatrace.com/t/view-kubernetes-metrics-in-power-bi/31610)

<div class="topic-metadata">

**Author:** [@ayamaya](https://community.dynatrace.com/u/ayamaya)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 9:42am UTC](https://community.dynatrace.com/t/view-kubernetes-metrics-in-power-bi/31610 "2021-07-15T09:42:53Z")

</div>

How can I see kubernetes metrics and bring them to power bi

---

## [Pulling V2 API Oracle Statistics - Anything Special Required?](https://community.dynatrace.com/t/pulling-v2-api-oracle-statistics-anything-special-required/31459)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 8:32am UTC](https://community.dynatrace.com/t/pulling-v2-api-oracle-statistics-anything-special-required/31459 "2021-07-15T08:32:12Z")

</div>

Is there anything special required for pulling Oracle statistics from the V2 API? (Token privs? Special parameters?) I can see the statistics in the UI, but when I try pulling them, I get no results. Regular generic stat…

---

## [Dynatrace API with more than 500 output](https://community.dynatrace.com/t/dynatrace-api-with-more-than-500-output/32077)

<div class="topic-metadata">

**Author:** [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Replies:** 4\
**Last updated:** [July 12, 2021, 1:58pm UTC](https://community.dynatrace.com/t/dynatrace-api-with-more-than-500-output/32077 "2021-07-12T13:58:30Z")

</div>

Hi All Why the output include only 500 items in the ouput even the Nextpagekey was mentioned. Any idea? Thanks

---

## [Fetching data from SaaS using Rest API](https://community.dynatrace.com/t/fetching-data-from-saas-using-rest-api/31818)

<div class="topic-metadata">

**Author:** [@ragarwal](https://community.dynatrace.com/u/ragarwal)\
**Replies:** 8\
**Last updated:** [July 12, 2021, 5:21am UTC](https://community.dynatrace.com/t/fetching-data-from-saas-using-rest-api/31818 "2021-07-12T05:21:13Z")

</div>

Hi, I am monitoring a java application hosted on a few servers/hosts using oneagent license. Dynatrace marks a number of requests as ‘Request to unmonitored hosts’ and ‘Requests to Public Networks’. These are basically ‘…

---

## [Compare Host and database configurations with Dynatrace](https://community.dynatrace.com/t/compare-host-and-database-configurations-with-dynatrace/32068)

<div class="topic-metadata">

**Author:** [@InfraWorker21](https://community.dynatrace.com/u/InfraWorker21)\
**Replies:** 1\
**Last updated:** [July 11, 2021, 6:50pm UTC](https://community.dynatrace.com/t/compare-host-and-database-configurations-with-dynatrace/32068 "2021-07-11T18:50:05Z")

</div>

I do a lot of building, configuring and deployment of various types of linux servers (e.g. apache, websphere, oracle). I’d like to use Dynatrace to compare server configuration, including both the OS and application soft…

---

## [Api V2 call for host type:physical](https://community.dynatrace.com/t/api-v2-call-for-host-type-physical/32038)

<div class="topic-metadata">

**Author:** [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Replies:** 2\
**Last updated:** [July 8, 2021, 9:38am UTC](https://community.dynatrace.com/t/api-v2-call-for-host-type-physical/32038 "2021-07-08T09:38:46Z")

</div>

Hi dynapeople! I was making an api call aiming to extract data about hosts, but I cannot find a way to filter the host type:physical which appear to be a distinction that Dynatrace is able to do in the WebUI: Does a…

---

## [Correlating multiple disk entities within host entity using Metrics API](https://community.dynatrace.com/t/correlating-multiple-disk-entities-within-host-entity-using-metrics-api/22041)

<div class="topic-metadata">

**Author:** [@snikolic](https://community.dynatrace.com/u/snikolic)\
**Replies:** 4\
**Last updated:** [July 1, 2021, 8:37pm UTC](https://community.dynatrace.com/t/correlating-multiple-disk-entities-within-host-entity-using-metrics-api/22041 "2021-07-01T20:37:15Z")

</div>

Hi, I have a set of python scripts used for extract of timeseries metrics using Metrics API v2. Reason is to repetitively extract detailed statistics for long term capacity planning - to avoid the issue that eventually,…

---

## [Connecting backend services through API manager](https://community.dynatrace.com/t/connecting-backend-services-through-api-manager/31902)

<div class="topic-metadata">

**Author:** [@CodyLomholt](https://community.dynatrace.com/u/CodyLomholt)\
**Replies:** 1\
**Last updated:** [June 23, 2021, 7:57pm UTC](https://community.dynatrace.com/t/connecting-backend-services-through-api-manager/31902 "2021-06-23T19:57:47Z")

</div>

We are leveraging a vended API management tool that basically creates a proxy url to backend services. We’ve found the Dynatrace oneagent is unable to instrument the tool such that when an application or another service …

---

## [How to acess the quality report throught the Dynatrace API?](https://community.dynatrace.com/t/how-to-acess-the-quality-report-throught-the-dynatrace-api/18925)

<div class="topic-metadata">

**Author:** [@extern\_mauro\_ma](https://community.dynatrace.com/u/extern_mauro_ma)\
**Replies:** 7\
**Last updated:** [June 23, 2021, 1:53pm UTC](https://community.dynatrace.com/t/how-to-acess-the-quality-report-throught-the-dynatrace-api/18925 "2021-06-23T13:53:33Z")

</div>

I want to get a json with the Quality Reports, so I can precisely measure how much my environment is better for everty metric that I consider relevant. However when I use the API (…/api/config/v1/reports Reports API - GE…

---

## [Get Service Method and call numbers](https://community.dynatrace.com/t/get-service-method-and-call-numbers/31794)

<div class="topic-metadata">

**Author:** [@Cespo](https://community.dynatrace.com/u/Cespo)\
**Replies:** 4\
**Last updated:** [June 15, 2021, 7:20am UTC](https://community.dynatrace.com/t/get-service-method-and-call-numbers/31794 "2021-06-15T07:20:49Z")

</div>

Hi all, I’m new on Dynatrace API and I’m trying to get automatically the same information I see on UI. In particular I’d like to get, for any service on a host, the list of service methods with the number of requests (…

---

## [Dynatrace V2 API - Is There a Way to Equate a Chart in the UI With Its API Metric name?](https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 6:38am UTC](https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799 "2021-06-15T06:38:50Z")

</div>

Sometimes it is almost impossible to equate a metric in the UI with its respective V2 API metric name. Is there an easy way to do this? Any help is appreciated. Lou

---

## [Using API get CPU and Memory of a host and all the host under an application](https://community.dynatrace.com/t/using-api-get-cpu-and-memory-of-a-host-and-all-the-host-under-an-application/31762)

<div class="topic-metadata">

**Author:** [@shailandra](https://community.dynatrace.com/u/shailandra)\
**Replies:** 1\
**Last updated:** [June 14, 2021, 6:52pm UTC](https://community.dynatrace.com/t/using-api-get-cpu-and-memory-of-a-host-and-all-the-host-under-an-application/31762 "2021-06-14T18:52:21Z")

</div>

hi, i am trying to capture CPU and Memory of a host and all the host under an application for given time period, is this possible in DT

---

## [Dynatrace V2 API - How do I call a custom device?](https://community.dynatrace.com/t/dynatrace-v2-api-how-do-i-call-a-custom-device/31747)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 3\
**Last updated:** [June 9, 2021, 12:59pm UTC](https://community.dynatrace.com/t/dynatrace-v2-api-how-do-i-call-a-custom-device/31747 "2021-06-09T12:59:15Z")

</div>

Dynatrace V2 API - How do I call a custom device? I have an Oracle custom device that I would like to pull Oracle database statistics for? mydatabaseservername.example.com:1521/mydatabasename entitySelector=type(HOST)…

---

## [Dynatrace Metrics V2 API - Help with Deprecated Call](https://community.dynatrace.com/t/dynatrace-metrics-v2-api-help-with-deprecated-call/31686)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 1\
**Last updated:** [June 2, 2021, 1:02pm UTC](https://community.dynatrace.com/t/dynatrace-metrics-v2-api-help-with-deprecated-call/31686 "2021-06-02T13:02:04Z")

</div>

I am using the V2 metrics API to retrieve common system metrics, in this case swap availability and usage. type(HOST),tag(MyApplication:MyTag) builtin:host.mem.swap.(used,avail):names:merge(1) I need the common "“dt.e…

---

## [How to identify if monitoring is enabled or disabled for all HOSTS in one call?](https://community.dynatrace.com/t/how-to-identify-if-monitoring-is-enabled-or-disabled-for-all-hosts-in-one-call/31625)

<div class="topic-metadata">

**Author:** [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Replies:** 4\
**Last updated:** [June 2, 2021, 7:00am UTC](https://community.dynatrace.com/t/how-to-identify-if-monitoring-is-enabled-or-disabled-for-all-hosts-in-one-call/31625 "2021-06-02T07:00:58Z")

</div>

Hi, We are working on ability to enable/disable monitoring for multiple Hosts at once and need a way to identify current monitoring status for all Hosts in environment. with fields=+properties.monitoringMode in /api/v2…

---

## [API of /entities/{entityId} does not return all prorepties for my CUSTOM\_DEVICE](https://community.dynatrace.com/t/api-of-entities-entityid-does-not-return-all-prorepties-for-my-custom-device/31618)

<div class="topic-metadata">

**Author:** [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Replies:** 1\
**Last updated:** [May 27, 2021, 12:24pm UTC](https://community.dynatrace.com/t/api-of-entities-entityid-does-not-return-all-prorepties-for-my-custom-device/31618 "2021-05-27T12:24:22Z")

</div>

Hello I issue - API of /entities/{entityId} does not return all prorepties for my CUSTOM\_DEVICE 1. I created my CUSTOM\_DEVICE i used the required prorepties ID -CI000000 system -SystemA test - test 2\*\*. prorept…

---

## [Dynatrace API Query licence usage](https://community.dynatrace.com/t/dynatrace-api-query-licence-usage/16775)

<div class="topic-metadata">

**Author:** [@roar\_johnsen](https://community.dynatrace.com/u/roar_johnsen)\
**Replies:** 8\
**Last updated:** [May 21, 2021, 2:30pm UTC](https://community.dynatrace.com/t/dynatrace-api-query-licence-usage/16775 "2021-05-21T14:30:57Z")

</div>

Hi. Have Dynatrace Managed with several customers. Is there an easy way to query the cluster API to get licence usage for each instance with volum for Host units, RUM visits, synthetic etc? Documentation only shows cur…

---

## [Pull/export of all the Problems that were opened by Dynatrace for past 2 months](https://community.dynatrace.com/t/pull-export-of-all-the-problems-that-were-opened-by-dynatrace-for-past-2-months/19726)

<div class="topic-metadata">

**Author:** [@naralavenkata\_r](https://community.dynatrace.com/u/naralavenkata_r)\
**Replies:** 4\
**Last updated:** [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 "2021-05-13T15:26:33Z")

</div>

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

---

## [API to find "context" of a tag without any entities](https://community.dynatrace.com/t/api-to-find-context-of-a-tag-without-any-entities/30723)

<div class="topic-metadata">

**Author:** [@BHA5472](https://community.dynatrace.com/u/BHA5472)\
**Replies:** 5\
**Last updated:** [May 10, 2021, 4:02am UTC](https://community.dynatrace.com/t/api-to-find-context-of-a-tag-without-any-entities/30723 "2021-05-10T04:02:40Z")

</div>

Is there an API to find the “context” of a tag just by giving a tag…without any entities? Or if not, then is there any way by which entity related to a particular tag can be found?

---

## [REST API for Database Metrics](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476)

<div class="topic-metadata">

**Author:** [@joseph\_katamred](https://community.dynatrace.com/u/joseph_katamred)\
**Replies:** 3\
**Last updated:** [May 6, 2021, 6:44am UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476 "2021-05-06T06:44:23Z")

</div>

Team, Is there a way to capture Database Metrics using Dynatrace API, If not, is the Road map in Progress to get Time Series to pull that info in the future and when that would be in place? At Present is there any way t…

---

## [Get count of service calls per service consumer](https://community.dynatrace.com/t/get-count-of-service-calls-per-service-consumer/31287)

<div class="topic-metadata">

**Author:** [@Byronk](https://community.dynatrace.com/u/Byronk)\
**Replies:** 1\
**Last updated:** [April 28, 2021, 12:58pm UTC](https://community.dynatrace.com/t/get-count-of-service-calls-per-service-consumer/31287 "2021-04-28T12:58:43Z")

</div>

Hi, We have a service that is called by a dozen consumers all of which are monitored by Dynatrace. I am trying to find a way to get the count of service calls done by each service consumer. I have got as far as sett…

---

## [Service Naming Rule API using Request Attribute](https://community.dynatrace.com/t/service-naming-rule-api-using-request-attribute/31257)

<div class="topic-metadata">

**Author:** [@curtis\_kellogg](https://community.dynatrace.com/u/curtis_kellogg)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 3:15pm UTC](https://community.dynatrace.com/t/service-naming-rule-api-using-request-attribute/31257 "2021-04-26T15:15:59Z")

</div>

I am trying to rename all of the requests that come in with “/hiddencall” with the “a-bcd-operation-name” requestAttribute value. This does not work, but shows no errors . An example of a value could be something like Cu…

---

## [V2 Problem API List Problems - What if the tag is invalid? It still returns an empty set.](https://community.dynatrace.com/t/v2-problem-api-list-problems-what-if-the-tag-is-invalid-it-still-returns-an-empty-set/31171)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 6\
**Last updated:** [April 24, 2021, 6:16am UTC](https://community.dynatrace.com/t/v2-problem-api-list-problems-what-if-the-tag-is-invalid-it-still-returns-an-empty-set/31171 "2021-04-24T06:16:44Z")

</div>

Hello, I notice if I list the problems for a certain entity like: type(process\_group\_instance),tag(MyApplication:AppName) The JSON returns information like this: “totalCount”: 10, “pageSize”: 50, “problems”: \[ Tha…

---

## [Dynatrace V2 Metrics API - Metrics for Only One Tag](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-metrics-for-only-one-tag/31045)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 1:03pm UTC](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-metrics-for-only-one-tag/31045 "2021-04-08T13:03:09Z")

</div>

Okay, my journey becoming acclimated to the V2 API continues. How do I limit my entities returned to only one particular application tag? I only want the entities returned in “SomeApplication:SomeApp”. The way I am doin…

---

## [New to the V2 Metrics API - Limiting fields in Response](https://community.dynatrace.com/t/new-to-the-v2-metrics-api-limiting-fields-in-response/31023)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 3\
**Last updated:** [April 8, 2021, 7:10am UTC](https://community.dynatrace.com/t/new-to-the-v2-metrics-api-limiting-fields-in-response/31023 "2021-04-08T07:10:22Z")

</div>

This command works great, and I get CPU stats for my server. https://\*\*\*\*\*\*\*\*.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:host.cpu(system)&resolution=1m&from=now1h&to=now&entitySelector=type(HOST),tag…

---

## [Obtain "Current Hotspots" through API?](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814)

<div class="topic-metadata">

**Author:** [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Replies:** 4\
**Last updated:** [March 29, 2021, 7:19pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814 "2021-03-29T19:19:58Z")

</div>

Is it possible to obtain “Current Hotspots” through the Rest API?

[Previous page](https://community.dynatrace.com/c/platform/api/94.md?page=15)

[Next page](https://community.dynatrace.com/c/platform/api/94.md?page=17)
