# Dynatrace API

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

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

**Page:** 19

---

## [Metrics v2: How to pull out data from specific Key Request or use filters](https://community.dynatrace.com/t/metrics-v2-how-to-pull-out-data-from-specific-key-request-or-use-filters/19909)

<div class="topic-metadata">

**Author:** [@janne\_olkoniemi](https://community.dynatrace.com/u/janne_olkoniemi)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 3:16pm UTC](https://community.dynatrace.com/t/metrics-v2-how-to-pull-out-data-from-specific-key-request-or-use-filters/19909 "2020-07-29T15:16:35Z")

</div>

How to pull out data from metrics api v2 which would contain data from one certain key request? Should I use and obtain the entityID for my KeyRequest somehow and would there be possibility to filter the requests based …

---

## [Export GC executions per minute](https://community.dynatrace.com/t/export-gc-executions-per-minute/19887)

<div class="topic-metadata">

**Author:** [@jcamps](https://community.dynatrace.com/u/jcamps)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 11:33am UTC](https://community.dynatrace.com/t/export-gc-executions-per-minute/19887 "2020-07-24T11:33:29Z")

</div>

Hi all, i want to export the GC executions per minute in order to insert these GC executions / minute for all my JVM in one external database. How can I do that? My first idea was to query Dynatrace with the metrics AP…

---

## [Reading DEM Consumption with API](https://community.dynatrace.com/t/reading-dem-consumption-with-api/19886)

<div class="topic-metadata">

**Author:** [@urs\_fischer](https://community.dynatrace.com/u/urs_fischer)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 7:16am UTC](https://community.dynatrace.com/t/reading-dem-consumption-with-api/19886 "2020-07-24T07:16:14Z")

</div>

Hello, is there a possible way to read the monthly DEM Consumption on Applications. For Host Units there is a possible way with “consumedHostUnits” from “/entity/infrastructure/hosts”, but what is with the DEM? I search …

---

## [How can we get metrics related to a particular application using an API?](https://community.dynatrace.com/t/how-can-we-get-metrics-related-to-a-particular-application-using-an-api/19856)

<div class="topic-metadata">

**Author:** [@r786khanna](https://community.dynatrace.com/u/r786khanna)\
**Replies:** 6\
**Last updated:** [July 23, 2020, 4:24am UTC](https://community.dynatrace.com/t/how-can-we-get-metrics-related-to-a-particular-application-using-an-api/19856 "2020-07-23T04:24:24Z")

</div>

Hi Is there any API with which I can fetch all the metrics like CPU, Memory etc. for a particular application or any service which is being monitored by dynatrace ?

---

## [How can I get request counts \<1 second in OneAgent API](https://community.dynatrace.com/t/how-can-i-get-request-counts-1-second-in-oneagent-api/19840)

<div class="topic-metadata">

**Author:** [@tlamb](https://community.dynatrace.com/u/tlamb)\
**Replies:** 4\
**Last updated:** [July 20, 2020, 6:54pm UTC](https://community.dynatrace.com/t/how-can-i-get-request-counts-1-second-in-oneagent-api/19840 "2020-07-20T18:54:59Z")

</div>

i want to use the rest api in dynatrace one-agent to get a count of requests under 1 second using the dynatrace one-agent rest api

---

## [How to get data from Dynatrace API using Python Requests module](https://community.dynatrace.com/t/how-to-get-data-from-dynatrace-api-using-python-requests-module/19822)

<div class="topic-metadata">

**Author:** [@volkan\_eruyandi](https://community.dynatrace.com/u/volkan_eruyandi)\
**Replies:** 2\
**Last updated:** [July 15, 2020, 9:56pm UTC](https://community.dynatrace.com/t/how-to-get-data-from-dynatrace-api-using-python-requests-module/19822 "2020-07-15T21:56:34Z")

</div>

Hi, I’m trying to pull some data over REST API of our managed Dynatrace cluster(1.196.80.20200709-090917). I’m using Python (3.6.8) and Requests (2.23.0) library. I’m able to get the problem feed with the curl command …

---

## [Openapi-Generator built API Client not working for TagComparisonOperation](https://community.dynatrace.com/t/openapi-generator-built-api-client-not-working-for-tagcomparisonoperation/18595)

<div class="topic-metadata">

**Author:** [@gerald\_madlsper](https://community.dynatrace.com/u/gerald_madlsper)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 10:11am UTC](https://community.dynatrace.com/t/openapi-generator-built-api-client-not-working-for-tagcomparisonoperation/18595 "2020-07-06T10:11:00Z")

</div>

Hi Guys, We want to use the dynatrace configuration API in one of our projects and generated the client with the openapi-generator for java. Unfortunately for the Endpoint (POST/service/detectionRules/FULL\_WEB\_SERVICE )…

---

## [Access additional host metrics using infrastructure API](https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376)

<div class="topic-metadata">

**Author:** [@steve\_neighbou2](https://community.dynatrace.com/u/steve_neighbou2)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 12:55pm UTC](https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376 "2020-06-24T12:55:35Z")

</div>

I’m using the Managed API to retrieve information about hosts and was wondering if this can be expanded? As an example, i can retrieve CPU count, hostname, associated tags using a query like this; tenant.dynatrace-mana…

---

## [Help on Performance Issue](https://community.dynatrace.com/t/help-on-performance-issue/19627)

<div class="topic-metadata">

**Author:** [@josh\_monreal](https://community.dynatrace.com/u/josh_monreal)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 5:38pm UTC](https://community.dynatrace.com/t/help-on-performance-issue/19627 "2020-06-19T17:38:20Z")

</div>

We have a .NET Core Web API that is deployed in IIS via port 9090. Yesterday, June 18, it called an .asmx web service which is deployed in a different server and ran for 10 seconds. What does the screenshot above mea…

---

## [Find time taken by each method for a reactive Rest request](https://community.dynatrace.com/t/find-time-taken-by-each-method-for-a-reactive-rest-request/19618)

<div class="topic-metadata">

**Author:** [@vidhi\_bhalodiya](https://community.dynatrace.com/u/vidhi_bhalodiya)\
**Replies:** 1\
**Last updated:** [June 18, 2020, 2:34pm UTC](https://community.dynatrace.com/t/find-time-taken-by-each-method-for-a-reactive-rest-request/19618 "2020-06-18T14:34:10Z")

</div>

I’m building a REST service that leverages Spring Boot and project reactor. To trace the hotspot for particular request I used PurePath option but it is not showing time taken by each method at each layer. Can anyone sug…

---

## [What does the JSON value mean?](https://community.dynatrace.com/t/what-does-the-json-value-mean/19586)

<div class="topic-metadata">

**Author:** [@parksm](https://community.dynatrace.com/u/parksm)\
**Replies:** 2\
**Last updated:** [June 17, 2020, 7:20am UTC](https://community.dynatrace.com/t/what-does-the-json-value-mean/19586 "2020-06-17T07:20:17Z")

</div>

Hello. I am curious about the result of the API for future predicted values. JSON Result { "timeseriesId": "com.dynatrace.builtin:pgi.jvm.usedmemory", "displayName": "JVM heap memory pool used bytes", "dimensions"…

---

## [AuthenticateRequest Took a Long Time to Execute](https://community.dynatrace.com/t/authenticaterequest-took-a-long-time-to-execute/19515)

<div class="topic-metadata">

**Author:** [@josh\_monreal](https://community.dynatrace.com/u/josh_monreal)\
**Replies:** 5\
**Last updated:** [June 8, 2020, 2:50pm UTC](https://community.dynatrace.com/t/authenticaterequest-took-a-long-time-to-execute/19515 "2020-06-08T14:50:02Z")

</div>

The REST API application that we have connects to a WCF web service to get some information. Overall the performance between the two is seamless, however there are random requests that takes a long time to be completed. …

---

## [Analyzing Performance in Dynatrace](https://community.dynatrace.com/t/analyzing-performance-in-dynatrace/19500)

<div class="topic-metadata">

**Author:** [@josh\_monreal](https://community.dynatrace.com/u/josh_monreal)\
**Replies:** 3\
**Last updated:** [June 8, 2020, 11:46am UTC](https://community.dynatrace.com/t/analyzing-performance-in-dynatrace/19500 "2020-06-08T11:46:55Z")

</div>

We currently have a REST API application that is deployed in an Azure VM via IIS. We used Dynatrace to monitor its performance, however there’s a particular request that I’m finding hard to understand. Based from the…

---

## [Is there An API that triggers the upgrade of the OneAgent to a specific version for a given hostName?](https://community.dynatrace.com/t/is-there-an-api-that-triggers-the-upgrade-of-the-oneagent-to-a-specific-version-for-a-given-hostname/19260)

<div class="topic-metadata">

**Author:** [@morsi\_tlili](https://community.dynatrace.com/u/morsi_tlili)\
**Replies:** 1\
**Last updated:** [May 20, 2020, 4:46am UTC](https://community.dynatrace.com/t/is-there-an-api-that-triggers-the-upgrade-of-the-oneagent-to-a-specific-version-for-a-given-hostname/19260 "2020-05-20T04:46:47Z")

</div>

Is there any API that can trigger the upgrade of the OneAgent to a specific version for a given hostName?

---

## [Key for calculated metrics](https://community.dynatrace.com/t/key-for-calculated-metrics/19349)

<div class="topic-metadata">

**Author:** [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Replies:** 4\
**Last updated:** [May 15, 2020, 6:49pm UTC](https://community.dynatrace.com/t/key-for-calculated-metrics/19349 "2020-05-15T18:49:53Z")

</div>

Dear Community, Please provide me API key to get via API calculated metrics. This is output for command GET “/calculatedMetrics/service” { "values": \[ { "id": "calc:service.queryout", "name": "query OUT" …

---

## [List of exceptions into excel](https://community.dynatrace.com/t/list-of-exceptions-into-excel/19242)

<div class="topic-metadata">

**Author:** [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 3:19pm UTC](https://community.dynatrace.com/t/list-of-exceptions-into-excel/19242 "2020-05-06T15:19:37Z")

</div>

Hi, Is there a way (other than calculated service metrics) to pull the list of exceptions on a given service in JSON or excel? Is there an API that can be used to pull this information? Thanks Suresh

---

## [Metrics API v2 - how to get "Single Value"](https://community.dynatrace.com/t/metrics-api-v2-how-to-get-single-value/19094)

<div class="topic-metadata">

**Author:** [@alessandro\_panz](https://community.dynatrace.com/u/alessandro_panz)\
**Replies:** 6\
**Last updated:** [April 25, 2020, 5:14pm UTC](https://community.dynatrace.com/t/metrics-api-v2-how-to-get-single-value/19094 "2020-04-25T17:14:51Z")

</div>

I’m using Metrics API v2 to get “Process CPU usage” of a process and the response contains the value of all process instances. Which is the http query parameter to get “Single Value” (highlighted in the screenshot) inst…

---

## [REST API for Dynatrace Group Management](https://community.dynatrace.com/t/rest-api-for-dynatrace-group-management/19102)

<div class="topic-metadata">

**Author:** [@Joseph\_Hobbs](https://community.dynatrace.com/u/Joseph_Hobbs)\
**Replies:** 6\
**Last updated:** [April 21, 2020, 7:26pm UTC](https://community.dynatrace.com/t/rest-api-for-dynatrace-group-management/19102 "2020-04-21T19:26:10Z")

</div>

Does the Dynatrace SaaS solution have any sort of REST API that can be used to manage groups? I see some questions/RFEs that are pretty old at this point. Curious if anything has been created/provided recently that would…

---

## [Dynatrace API to capture Outage Details](https://community.dynatrace.com/t/dynatrace-api-to-capture-outage-details/19000)

<div class="topic-metadata">

**Author:** [@vinodkrishna\_c](https://community.dynatrace.com/u/vinodkrishna_c)\
**Replies:** 1\
**Last updated:** [April 13, 2020, 4:01pm UTC](https://community.dynatrace.com/t/dynatrace-api-to-capture-outage-details/19000 "2020-04-13T16:01:25Z")

</div>

Hi team, We need to monitor our platform availability on a daily basis and summarize on all the problems that we get from the platform monitoring. We are particularly interested in capturing all the details associated …

---

## [API for Environment overall data](https://community.dynatrace.com/t/api-for-environment-overall-data/18963)

<div class="topic-metadata">

**Author:** [@srsasanapuri](https://community.dynatrace.com/u/srsasanapuri)\
**Replies:** 2\
**Last updated:** [April 13, 2020, 3:48pm UTC](https://community.dynatrace.com/t/api-for-environment-overall-data/18963 "2020-04-13T15:48:58Z")

</div>

is there any API exposed already to know the environments and its status(trail and expired values). Currently this information is only visible in /cmc#cm/environments;gf=all console.

---

## [We would like to shorten Dynatrace REST API](https://community.dynatrace.com/t/we-would-like-to-shorten-dynatrace-rest-api/18874)

<div class="topic-metadata">

**Author:** [@ntanaka](https://community.dynatrace.com/u/ntanaka)\
**Replies:** 2\
**Last updated:** [March 26, 2020, 10:47am UTC](https://community.dynatrace.com/t/we-would-like-to-shorten-dynatrace-rest-api/18874 "2020-03-26T10:47:20Z")

</div>

Hi, Our customer use Dynatrace Metric API to send metric to ServiceNow. However, on ServiceNow, REST endpoint record is limited less than 200 characters long. We are sometimes in trouble because REST endpoint is trunc…

---

## [Management zone automation using Dynatrace REST](https://community.dynatrace.com/t/management-zone-automation-using-dynatrace-rest/18757)

<div class="topic-metadata">

**Author:** [@rswarnka](https://community.dynatrace.com/u/rswarnka)\
**Replies:** 3\
**Last updated:** [March 13, 2020, 8:37am UTC](https://community.dynatrace.com/t/management-zone-automation-using-dynatrace-rest/18757 "2020-03-13T08:37:47Z")

</div>

Hi, can we achieve automation of management zones like creation, updation using REST APIs?

---

## [Extracting Dynatrace Problem Information From V1 API to JSON](https://community.dynatrace.com/t/extracting-dynatrace-problem-information-from-v1-api-to-json/18738)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 1\
**Last updated:** [March 11, 2020, 6:55pm UTC](https://community.dynatrace.com/t/extracting-dynatrace-problem-information-from-v1-api-to-json/18738 "2020-03-11T18:55:00Z")

</div>

I am new to Dynatrace. We are trying to extract problem details and are using the V1 API which produces a messy nested JSON file. Is JSON the only format supported for problem information? If so, any community scripts or…

---

## [How to Combining Multiple Dynatrace API Calls to Fetch the Single Result](https://community.dynatrace.com/t/how-to-combining-multiple-dynatrace-api-calls-to-fetch-the-single-result/18704)

<div class="topic-metadata">

**Author:** [@dhanunjaya\_kadi](https://community.dynatrace.com/u/dhanunjaya_kadi)\
**Replies:** 1\
**Last updated:** [March 9, 2020, 4:14pm UTC](https://community.dynatrace.com/t/how-to-combining-multiple-dynatrace-api-calls-to-fetch-the-single-result/18704 "2020-03-09T16:14:57Z")

</div>

Combining Multiple Dynatrace API Calls to Fetch the Single Result

---

## [Dynatrace Metrics API into Jupyter Notebook](https://community.dynatrace.com/t/dynatrace-metrics-api-into-jupyter-notebook/18697)

<div class="topic-metadata">

**Author:** [@grogers](https://community.dynatrace.com/u/grogers)\
**Replies:** 1\
**Last updated:** [March 9, 2020, 3:33pm UTC](https://community.dynatrace.com/t/dynatrace-metrics-api-into-jupyter-notebook/18697 "2020-03-09T15:33:53Z")

</div>

Has anyone used the Dynatrace Metrics API (v2) to pull data into a Jupyter notebook? I’m close, but need to pivot the default data format into something more friendly. url = '{0}/api/v2/metrics/query?metricSelector={1}&f…

---

## [Merge all Webservices of one Processgroup](https://community.dynatrace.com/t/merge-all-webservices-of-one-processgroup/23074)

<div class="topic-metadata">

**Author:** [@gerald\_madlsper](https://community.dynatrace.com/u/gerald_madlsper)\
**Replies:** 4\
**Last updated:** [February 23, 2020, 6:26pm UTC](https://community.dynatrace.com/t/merge-all-webservices-of-one-processgroup/23074 "2020-02-23T18:26:11Z")

</div>

Hi, I have the requirement to merge all webservices within one processgroup. First I tried to use the merge service option within the ui settings. After discussion with the support it was clear that only services of typ…

---

## [Built Custom Report via API](https://community.dynatrace.com/t/built-custom-report-via-api/23050)

<div class="topic-metadata">

**Author:** [@roberto\_ravo](https://community.dynatrace.com/u/roberto_ravo)\
**Replies:** 6\
**Last updated:** [February 20, 2020, 9:35am UTC](https://community.dynatrace.com/t/built-custom-report-via-api/23050 "2020-02-20T09:35:44Z")

</div>

Hello, I’m doing a Python script with different calls at the API exposed by Dynatrace for extract some data(.csv) and automize a creation of a high level report related to the generic application/s health. At the momen…

---

## [un-anonymize (decode) values like service names, hostgroups etc in payload (json) response from REST API](https://community.dynatrace.com/t/un-anonymize-decode-values-like-service-names-hostgroups-etc-in-payload-json-response-from-rest-api/22976)

<div class="topic-metadata">

**Author:** [@rupesh\_chamatk2](https://community.dynatrace.com/u/rupesh_chamatk2)\
**Replies:** 5\
**Last updated:** [January 31, 2020, 4:03pm UTC](https://community.dynatrace.com/t/un-anonymize-decode-values-like-service-names-hostgroups-etc-in-payload-json-response-from-rest-api/22976 "2020-01-31T16:03:26Z")

</div>

un-anonymize (decode) values like service names, hostgroups etc in payload (json) response from REST API

---

## [Response time distribution on Apache](https://community.dynatrace.com/t/response-time-distribution-on-apache/22937)

<div class="topic-metadata">

**Author:** [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Replies:** 4\
**Last updated:** [January 21, 2020, 7:40pm UTC](https://community.dynatrace.com/t/response-time-distribution-on-apache/22937 "2020-01-21T19:40:59Z")

</div>

Hi I have recently installed Dynatrace on one of my Apache node. One of my API is responding very slow causing the bad user experience and I am trying to get to the bottom of it. While analyzing when i select purepat…

---

## [API : Get detailed CPU consumption ?](https://community.dynatrace.com/t/api-get-detailed-cpu-consumption/17082)

<div class="topic-metadata">

**Author:** [@peverard](https://community.dynatrace.com/u/peverard)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 6:55pm UTC](https://community.dynatrace.com/t/api-get-detailed-cpu-consumption/17082 "2020-01-20T18:55:18Z")

</div>

Hi, Is it possible to get the CPU consumption detail for a process with the API ? For example, the “Garbage collection CPU” : I saw those metric relative to garbage collection or to CPU usage : - com.dynatrace.bui…

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

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