# Dynatrace API

**URL:** https://community.dynatrace.com/c/platform/api/94.md

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

---

## [Dynatrace API management tool - free and opensource](https://community.dynatrace.com/t/dynatrace-api-management-tool-free-and-opensource/55061)

<div class="topic-metadata">

**Author:** [@kucera](https://community.dynatrace.com/u/kucera)\
**Replies:** 2\
**Last updated:** [October 30, 2026, 1:50pm UTC](https://community.dynatrace.com/t/dynatrace-api-management-tool-free-and-opensource/55061 "2026-10-30T13:50:13Z")

</div>

Hello, some time ago I have internally developed a tool to utilize Dynatrace API, because we needed stuff like batch manipulation of hostname groups etc. This tool is now free and available for all with added functionali…

---

## [DMM 2: bulk-manage many Dynatrace environments from your browser (free, open source)](https://community.dynatrace.com/t/dmm-2-bulk-manage-many-dynatrace-environments-from-your-browser-free-open-source/57349)

<div class="topic-metadata">

**Author:** [@kucera](https://community.dynatrace.com/u/kucera)\
**Replies:** 0\
**Last updated:** [October 30, 2026, 1:49pm UTC](https://community.dynatrace.com/t/dmm-2-bulk-manage-many-dynatrace-environments-from-your-browser-free-open-source/57349 "2026-10-30T13:49:32Z")

</div>

DMM 2 is out: a complete rewrite. Dynatrace Mass Management is now a static browser app. Nothing to install, no server: open the page, add a token, go. Open DMM → Try it without a Dynatrace account: Live on the Dynat…

---

## [How to Retrieve Mobile App Crash Stack Traces via API in Dynatrace?](https://community.dynatrace.com/t/how-to-retrieve-mobile-app-crash-stack-traces-via-api-in-dynatrace/56974)

<div class="topic-metadata">

**Author:** [@tushar\_supe](https://community.dynatrace.com/u/tushar_supe)\
**Replies:** 4\
**Last updated:** [September 24, 2026, 5:19pm UTC](https://community.dynatrace.com/t/how-to-retrieve-mobile-app-crash-stack-traces-via-api-in-dynatrace/56974 "2026-09-24T17:19:54Z")

</div>

We are using Dynatrace Classic Mobile Crash Analysis and can retrieve crash metadata using USQL APIs. How can we retrieve the full app crash stack trace programmatically? Is there a supported API for stack traces, or ar…

---

## [OpenShift Dynakube capability "ingest" and custom certificate (tlsSecretName param). Any one got it to work ?](https://community.dynatrace.com/t/openshift-dynakube-capability-ingest-and-custom-certificate-tlssecretname-param-any-one-got-it-to-work/56901)

<div class="topic-metadata">

**Author:** [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Replies:** 3\
**Last updated:** [September 8, 2026, 8:20am UTC](https://community.dynatrace.com/t/openshift-dynakube-capability-ingest-and-custom-certificate-tlssecretname-param-any-one-got-it-to-work/56901 "2026-09-08T08:20:19Z")

</div>

Hello All. This post is a kind of follow up of old post “Dynatrace V2 Metrics API + Kubernetes - How to configure localhost V2 API endpoint ?” Spec: : Managed 1.344 + ActiveGate 1.327 + OCP 4.21.22 + Dynakube operator …

---

## [Dynatrace V2 Metrics API + Kubernetes - How to configure localhost V2 API endpoint?](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049)

<div class="topic-metadata">

**Author:** [@steveg](https://community.dynatrace.com/u/steveg)\
**Replies:** 13\
**Last updated:** [September 7, 2026, 2:22pm UTC](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049 "2026-09-07T14:22:15Z")

</div>

I’m trying to understand how Dynatrace One Agent is expected to be configured in a Kubernetes environment. In my case Azure (AKS). I see One Agent deployed to each node using a Kubernetes Daemonset. Is each deployed app…

---

## [How to get custom values reported by Mobile app in Grail DQL](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865)

<div class="topic-metadata">

**Author:** [@augustin-bunani](https://community.dynatrace.com/u/augustin-bunani)\
**Replies:** 2\
**Last updated:** [September 3, 2026, 6:39am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865 "2026-09-03T06:39:34Z")

</div>

I am creating a custom action in my Swift (iOS/mobile) application as described in the Dynatrace documentation: I can successfully see and query these reported values in Dynatrace RUM. However, I am unable to find or qu…

---

## [Dynatrace Environment API - Export List of problems](https://community.dynatrace.com/t/dynatrace-environment-api-export-list-of-problems/56833)

<div class="topic-metadata">

**Author:** [@Khejazi](https://community.dynatrace.com/u/Khejazi)\
**Replies:** 4\
**Last updated:** [August 30, 2026, 10:35am UTC](https://community.dynatrace.com/t/dynatrace-environment-api-export-list-of-problems/56833 "2026-08-30T10:35:00Z")

</div>

Hi All, I wanted to export list of problems within a period of time to an excel sheet. What i did is the following: - Generate new Token with problem Read - In Dynatrace Environment API : I went to Problems =\> Get, t…

---

## [Download a list of hosts and services under a tag](https://community.dynatrace.com/t/download-a-list-of-hosts-and-services-under-a-tag/39804)

<div class="topic-metadata">

**Author:** [@ruben\_garciagut](https://community.dynatrace.com/u/ruben_garciagut)\
**Replies:** 10\
**Last updated:** [August 11, 2026, 1:23pm UTC](https://community.dynatrace.com/t/download-a-list-of-hosts-and-services-under-a-tag/39804 "2026-08-11T13:23:47Z")

</div>

Hi, I’ve tried to download the list of hosts and services under a tag but none of these screens has an option to do it. This option is in a lot of different places and I feel it would be great to have it here I mean in…

---

## [Metric ingest with timestamp](https://community.dynatrace.com/t/metric-ingest-with-timestamp/55474)

<div class="topic-metadata">

**Author:** [@nareshkumarg](https://community.dynatrace.com/u/nareshkumarg)\
**Replies:** 3\
**Last updated:** [July 21, 2026, 7:55am UTC](https://community.dynatrace.com/t/metric-ingest-with-timestamp/55474 "2026-07-21T07:55:24Z")

</div>

I am trying to make one api call to ingest folllowing test metric but I can see only the first payload with the value 60 in Dynatrace other values from different timestamp is not showing there. cpu.temperature,hostname=…

---

## [what api  can be used to get events from all pods from a kubernetes cluster?](https://community.dynatrace.com/t/what-api-can-be-used-to-get-events-from-all-pods-from-a-kubernetes-cluster/56271)

<div class="topic-metadata">

**Author:** [@Arunkumarbnp](https://community.dynatrace.com/u/Arunkumarbnp)\
**Replies:** 5\
**Last updated:** [June 24, 2026, 11:00am UTC](https://community.dynatrace.com/t/what-api-can-be-used-to-get-events-from-all-pods-from-a-kubernetes-cluster/56271 "2026-06-24T11:00:54Z")

</div>

what api can be used to get events from all pods from a kubernetes cluster?

---

## [Count value of ingested Gauge metric not  in DQL](https://community.dynatrace.com/t/count-value-of-ingested-gauge-metric-not-in-dql/56246)

<div class="topic-metadata">

**Author:** [@macosta](https://community.dynatrace.com/u/macosta)\
**Replies:** 1\
**Last updated:** [June 22, 2026, 5:14am UTC](https://community.dynatrace.com/t/count-value-of-ingested-gauge-metric-not-in-dql/56246 "2026-06-22T05:14:42Z")

</div>

Sorry if this was asked before but I couldn’t find a clear explanation documented. We are ingesting a gauge metric using “api/v2/metrics/ingest” like this: test-metric-ingest.novedades.cantidadGa,dt.entity.custom\_devi…

---

## [How can I fetch all Kubernetes events for the past month using the Dynatrace API](https://community.dynatrace.com/t/how-can-i-fetch-all-kubernetes-events-for-the-past-month-using-the-dynatrace-api/56185)

<div class="topic-metadata">

**Author:** [@Arunkumarbnp](https://community.dynatrace.com/u/Arunkumarbnp)\
**Replies:** 7\
**Last updated:** [June 17, 2026, 6:48am UTC](https://community.dynatrace.com/t/how-can-i-fetch-all-kubernetes-events-for-the-past-month-using-the-dynatrace-api/56185 "2026-06-17T06:48:53Z")

</div>

I’m trying to retrieve Kubernetes events from the last month using the Dynatrace API, but I can only get 20 events at a time. How can I fetch all events for the past month? api details: {{baseUrl}}/it\_prod-dynatrace-envi…

---

## [HTT 401 Error: Unauthorized Dynatrace Account Management API](https://community.dynatrace.com/t/htt-401-error-unauthorized-dynatrace-account-management-api/44182)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 4\
**Last updated:** [June 9, 2026, 4:03pm UTC](https://community.dynatrace.com/t/htt-401-error-unauthorized-dynatrace-account-management-api/44182 "2026-06-09T16:03:59Z")

</div>

Hi, I’m trying to get information from users using Dynatrace Account Management API without success. Following this link Authenticate to Account Management with OAuth clients — Dynatrace Docs I’ve created this request …

---

## [Has anyone had luck using HTTP\_REQUEST\_METHOD in a Global Web Request Naming rule Placeholder?](https://community.dynatrace.com/t/has-anyone-had-luck-using-http-request-method-in-a-global-web-request-naming-rule-placeholder/37948)

<div class="topic-metadata">

**Author:** [@NeJoyerPB](https://community.dynatrace.com/u/NeJoyerPB)\
**Replies:** 3\
**Last updated:** [May 8, 2026, 9:02pm UTC](https://community.dynatrace.com/t/has-anyone-had-luck-using-http-request-method-in-a-global-web-request-naming-rule-placeholder/37948 "2026-05-08T21:02:50Z")

</div>

I have a REST service. It gets requests like: POST /users and GET /users The GET returns a bunch of users, the POST creates a new user. So while the url is the same for each, the code that gets executed is very diff…

---

## [How to use Event Property in Event API?](https://community.dynatrace.com/t/how-to-use-event-property-in-event-api/39035)

<div class="topic-metadata">

**Author:** [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Replies:** 6\
**Last updated:** [April 17, 2026, 4:34pm UTC](https://community.dynatrace.com/t/how-to-use-event-property-in-event-api/39035 "2026-04-17T16:34:12Z")

</div>

I’m trying to filter events in the Event API, using the eventSelector. I’m using, according to the documentation: property.myownevent(“MyOwn event”) I get the following reply. { "error": { "code": 400, "me…

---

## [Trouble retrieving notebook results (or even notebook as a whole) via API](https://community.dynatrace.com/t/trouble-retrieving-notebook-results-or-even-notebook-as-a-whole-via-api/55365)

<div class="topic-metadata">

**Author:** [@dcbarry](https://community.dynatrace.com/u/dcbarry)\
**Replies:** 5\
**Last updated:** [April 9, 2026, 7:51am UTC](https://community.dynatrace.com/t/trouble-retrieving-notebook-results-or-even-notebook-as-a-whole-via-api/55365 "2026-04-09T07:51:16Z")

</div>

I’m having trouble determining how to retrieve the results of an already defined DQL query in a notebook. I’ve reviewed docs everywhere, but can seem to get it functional. My token has full read rights everywhere, and …

---

## [token error using API "401 could not parse JWT"](https://community.dynatrace.com/t/token-error-using-api-401-could-not-parse-jwt/55507)

<div class="topic-metadata">

**Author:** [@dcbarry](https://community.dynatrace.com/u/dcbarry)\
**Replies:** 1\
**Last updated:** [April 9, 2026, 5:11am UTC](https://community.dynatrace.com/t/token-error-using-api-401-could-not-parse-jwt/55507 "2026-04-09T05:11:17Z")

</div>

Performing what should be a simple DQL query via API, I get a 401 - Could not parse JWT". I understand this to be an token issue. The confusion is that the token is fully usable in a different api call. (I intentiona…

---

## [How to get data for user action duration metrics filter by page name and  user type](https://community.dynatrace.com/t/how-to-get-data-for-user-action-duration-metrics-filter-by-page-name-and-user-type/55491)

<div class="topic-metadata">

**Author:** [@Ganeshmete77](https://community.dynatrace.com/u/Ganeshmete77)\
**Replies:** 3\
**Last updated:** [April 8, 2026, 10:29am UTC](https://community.dynatrace.com/t/how-to-get-data-for-user-action-duration-metrics-filter-by-page-name-and-user-type/55491 "2026-04-08T10:29:54Z")

</div>

How do we get the user action duration metric data filter by page name and user type like below I could see data in multidimensional analysis but not in the user session query or data explorer metric I tried in user se…

---

## [Is it possible create/update/delete host groups via Rest API?](https://community.dynatrace.com/t/is-it-possible-create-update-delete-host-groups-via-rest-api/50961)

<div class="topic-metadata">

**Author:** [@gschramm](https://community.dynatrace.com/u/gschramm)\
**Replies:** 7\
**Last updated:** [April 1, 2026, 8:16am UTC](https://community.dynatrace.com/t/is-it-possible-create-update-delete-host-groups-via-rest-api/50961 "2026-04-01T08:16:22Z")

</div>

Hello, I’m currently build a script that allows us to quickly setup a new application we want to onboard. The goal is to build a sceleton configuration with all important pieces including permissions. Application, URL …

---

## [How to log custom event and scucess event by using dtrum API](https://community.dynatrace.com/t/how-to-log-custom-event-and-scucess-event-by-using-dtrum-api/55079)

<div class="topic-metadata">

**Author:** [@mkarmocha](https://community.dynatrace.com/u/mkarmocha)\
**Replies:** 4\
**Last updated:** [March 29, 2026, 8:08pm UTC](https://community.dynatrace.com/t/how-to-log-custom-event-and-scucess-event-by-using-dtrum-api/55079 "2026-03-29T20:08:17Z")

</div>

Hi Dynatrace Team, Could somebody point me on how can i use dtrum API method such as sendEvent or sendSignal to send log to dynatrace dashboard. Do i need to manually setup/ configure in Dynatrace to consume it.

---

## [RequestToken invalid when contains + symbol](https://community.dynatrace.com/t/requesttoken-invalid-when-contains-symbol/55373)

<div class="topic-metadata">

**Author:** [@Celine](https://community.dynatrace.com/u/Celine)\
**Replies:** 3\
**Last updated:** [March 26, 2026, 11:33am UTC](https://community.dynatrace.com/t/requesttoken-invalid-when-contains-symbol/55373 "2026-03-26T11:33:14Z")

</div>

Hi, I use the grail service api to run DQL query from java client. When i do a POST on platform/storage/query/v1/query:execute I received a requestToken that I reuse in a query GET platform/storage/query/v1/query:pol…

---

## [Metric for Dynatrace Host Health Tile?](https://community.dynatrace.com/t/metric-for-dynatrace-host-health-tile/55327)

<div class="topic-metadata">

**Author:** [@mycelium](https://community.dynatrace.com/u/mycelium)\
**Replies:** 3\
**Last updated:** [March 23, 2026, 4:42pm UTC](https://community.dynatrace.com/t/metric-for-dynatrace-host-health-tile/55327 "2026-03-23T16:42:44Z")

</div>

Hello, I’m working on recreating a Dynatrace dashboard externally so it can be displayed on external screens that cannot directly access Dynatrace. I’m currently trying to replicate the Host Health tile from the Classic…

---

## [Davis Anomaly Detection API - incomplete documentation](https://community.dynatrace.com/t/davis-anomaly-detection-api-incomplete-documentation/54997)

<div class="topic-metadata">

**Author:** [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Replies:** 1\
**Last updated:** [March 16, 2026, 10:30am UTC](https://community.dynatrace.com/t/davis-anomaly-detection-api-incomplete-documentation/54997 "2026-03-16T10:30:45Z")

</div>

The DAD API article from Dynatrace is not complete. I follow it by the letter with a Platfrom (bearer) token with all permission listed and I got a message back: “Error parsing parameter ‘query’. Access to Grail is no…

---

## [No results from CPU Usage API after migration](https://community.dynatrace.com/t/no-results-from-cpu-usage-api-after-migration/55253)

<div class="topic-metadata">

**Author:** [@ShashiP](https://community.dynatrace.com/u/ShashiP)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 1:35pm UTC](https://community.dynatrace.com/t/no-results-from-cpu-usage-api-after-migration/55253 "2026-03-13T13:35:12Z")

</div>

Hi DT Community, We have situation where we are not getting results from CPU Usage API Response, the data array is empty. This issue started recently where our machines are migrated from DVWT to RAVW. If you ask me how…

---

## [Token is missing required scope](https://community.dynatrace.com/t/token-is-missing-required-scope/55185)

<div class="topic-metadata">

**Author:** [@mlw53688](https://community.dynatrace.com/u/mlw53688)\
**Replies:** 3\
**Last updated:** [March 9, 2026, 4:32pm UTC](https://community.dynatrace.com/t/token-is-missing-required-scope/55185 "2026-03-09T16:32:28Z")

</div>

Token is missing required scope. Use one of: metrics.read (Read metrics) Hello. I’m testing Dynatrace with Keda. I created a trial account. I can’t find the option to create a token that has metrics.read to use in th…

---

## [api for extract state of monitoring process](https://community.dynatrace.com/t/api-for-extract-state-of-monitoring-process/55150)

<div class="topic-metadata">

**Author:** [@gasperetta](https://community.dynatrace.com/u/gasperetta)\
**Replies:** 6\
**Last updated:** [March 2, 2026, 1:37pm UTC](https://community.dynatrace.com/t/api-for-extract-state-of-monitoring-process/55150 "2026-03-02T13:37:42Z")

</div>

hi, in the community i have downloaded this runbook very helpful, but i need to exract only the process that have monitoring state different from “ok”. How can change the code? /\* \* This function will run in the DYN…

---

## [Exporting Maintenance Windows with (human-readable) Entity Names](https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114)

<div class="topic-metadata">

**Author:** [@Irvin\_naylor01](https://community.dynatrace.com/u/Irvin_naylor01)\
**Replies:** 1\
**Last updated:** [February 26, 2026, 2:04pm UTC](https://community.dynatrace.com/t/exporting-maintenance-windows-with-human-readable-entity-names/55114 "2026-02-26T14:04:38Z")

</div>

Hi all, I’m looking to export a list of all Maintenance Windows (Upcoming, Ongoing, and Expired) in our environment. I originally came upon the Settings API with the Maintenance windows schema (builtin:alerting.maintena…

---

## [Monitoring state API for process groups (/api/v2/monitoringstate)](https://community.dynatrace.com/t/monitoring-state-api-for-process-groups-api-v2-monitoringstate/39319)

<div class="topic-metadata">

**Author:** [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Replies:** 18\
**Last updated:** [February 25, 2026, 10:32am UTC](https://community.dynatrace.com/t/monitoring-state-api-for-process-groups-api-v2-monitoringstate/39319 "2026-02-25T10:32:57Z")

</div>

Dynatrace 1.261 introduced new API /api/v2/monitoringstate for querying status of monitoring for process group instances. At first sight this looks as a replacement for legacy process group API v1. It seems this API is…

---

## [Querying the metrics API with nullable values and Inf resolution](https://community.dynatrace.com/t/querying-the-metrics-api-with-nullable-values-and-inf-resolution/55024)

<div class="topic-metadata">

**Author:** [@mtfurlan-lq](https://community.dynatrace.com/u/mtfurlan-lq)\
**Replies:** 0\
**Last updated:** [February 17, 2026, 9:36pm UTC](https://community.dynatrace.com/t/querying-the-metrics-api-with-nullable-values-and-inf-resolution/55024 "2026-02-17T21:36:59Z")

</div>

I’m using flagger for canary deployments, which always makes queries with infinite resolution, in order to resolve the entire query to one number. I’m trying to make a query that returns the failure rate of a service, b…

---

## [Event API is not writing an event](https://community.dynatrace.com/t/event-api-is-not-writing-an-event/54996)

<div class="topic-metadata">

**Author:** [@Ganeshmete77](https://community.dynatrace.com/u/Ganeshmete77)\
**Replies:** 2\
**Last updated:** [February 17, 2026, 4:33pm UTC](https://community.dynatrace.com/t/event-api-is-not-writing-an-event/54996 "2026-02-17T16:33:45Z")

</div>

Hi Team, I have created a Site Reliability Guardian (SRG) and also set up an event‑based trigger for a workflow. I am sending a CUSTOM\_INFO event using the Dynatrace Events Ingest API. The API call responds with Status…

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