# Dynatrace API

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

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

**Page:** 9

---

## [API V2 tags filter](https://community.dynatrace.com/t/api-v2-tags-filter/31208)

<div class="topic-metadata">

**Author:** [@pierre-yves\_tai](https://community.dynatrace.com/u/pierre-yves_tai)\
**Replies:** 7\
**Last updated:** [January 24, 2024, 12:08am UTC](https://community.dynatrace.com/t/api-v2-tags-filter/31208 "2024-01-24T00:08:14Z")

</div>

Hello, I want to extract metrics with a python script and Dynatrace API V2. import requests import json from pathlib import Path #fichier de parametrage file=Path(“logs/dump.json”) API\_TOKEN = “xxxxxxxxxxxxxxxxxxx…

---

## [Time-series Monitoring and visualization](https://community.dynatrace.com/t/time-series-monitoring-and-visualization/43573)

<div class="topic-metadata">

**Author:** [@JuniorJunior](https://community.dynatrace.com/u/JuniorJunior)\
**Replies:** 2\
**Last updated:** [January 21, 2024, 8:14pm UTC](https://community.dynatrace.com/t/time-series-monitoring-and-visualization/43573 "2024-01-21T20:14:04Z")

</div>

How can we effectively send custom time-series data to Dynatrace for detailed monitoring and visualization? What are the necessary steps to create and configure a custom device using Dynatrace’s APIs, particularly for ha…

---

## [Get distributed trace and problem backtrace via API](https://community.dynatrace.com/t/get-distributed-trace-and-problem-backtrace-via-api/43713)

<div class="topic-metadata">

**Author:** [@ashishsoni](https://community.dynatrace.com/u/ashishsoni)\
**Replies:** 1\
**Last updated:** [January 19, 2024, 10:57am UTC](https://community.dynatrace.com/t/get-distributed-trace-and-problem-backtrace-via-api/43713 "2024-01-19T10:57:33Z")

</div>

Is it possible to fetch failure or problem or service trace (distributed or backtrace)?

---

## [Dynatrace API to fetch exceptions from Multidimensional Analysis](https://community.dynatrace.com/t/dynatrace-api-to-fetch-exceptions-from-multidimensional-analysis/43686)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 2\
**Last updated:** [January 19, 2024, 10:24am UTC](https://community.dynatrace.com/t/dynatrace-api-to-fetch-exceptions-from-multidimensional-analysis/43686 "2024-01-19T10:24:52Z")

</div>

Hi, I’m looking for an API that can give exceptions occurred on specific time as I can see an exception analysis in multidimensional window. Kindly help me to figure it out the output through the API. Also I need to pi…

---

## [Where is classic Environment V1 API in swagger UI?](https://community.dynatrace.com/t/where-is-classic-environment-v1-api-in-swagger-ui/43240)

<div class="topic-metadata">

**Author:** [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Replies:** 1\
**Last updated:** [January 10, 2024, 2:01pm UTC](https://community.dynatrace.com/t/where-is-classic-environment-v1-api-in-swagger-ui/43240 "2024-01-10T14:01:05Z")

</div>

Hello, i am trying to find classic Environment V1 API in swagger UI but its not here? Is location changed? If anyone is aware then please let me know how can I get classic Environment V1 API ? It was there few weeks b…

---

## [How to filter by Tag in Metrics API](https://community.dynatrace.com/t/how-to-filter-by-tag-in-metrics-api/43514)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 2\
**Last updated:** [January 9, 2024, 11:21am UTC](https://community.dynatrace.com/t/how-to-filter-by-tag-in-metrics-api/43514 "2024-01-09T11:21:53Z")

</div>

Hi, I’m trying to fetch data using metrics API as I mentioned API request URL below: https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Aservice.errors.fivexx.count&entitySelector=t…

---

## [Build trigger using Problem alert](https://community.dynatrace.com/t/build-trigger-using-problem-alert/43444)

<div class="topic-metadata">

**Author:** [@Itani\_ML](https://community.dynatrace.com/u/Itani_ML)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 6:25pm UTC](https://community.dynatrace.com/t/build-trigger-using-problem-alert/43444 "2024-01-03T18:25:08Z")

</div>

Hi, not sure if this is the right platform but I have a ‘build’ on Bamboo that I want to automatically start whenever there is infrastructure problem on a certain host (Low disk, etc). In short, the infra problem on Dyna…

---

## [Unable to use put method from python for environment API](https://community.dynatrace.com/t/unable-to-use-put-method-from-python-for-environment-api/43426)

<div class="topic-metadata">

**Author:** [@hemanth](https://community.dynatrace.com/u/hemanth)\
**Replies:** 2\
**Last updated:** [January 3, 2024, 10:49am UTC](https://community.dynatrace.com/t/unable-to-use-put-method-from-python-for-environment-api/43426 "2024-01-03T10:49:39Z")

</div>

Hello, I am unable to use put method in dynatrace from python requests module, My code is as follows, i am trying to update the credential vault entry it throws the below error, {‘error’: {‘code’: 400, ‘message’: ‘Synt…

---

## [Dynatrace API to get application downtime](https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401)

<div class="topic-metadata">

**Author:** [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Replies:** 8\
**Last updated:** [December 31, 2023, 10:55am UTC](https://community.dynatrace.com/t/dynatrace-api-to-get-application-downtime/43401 "2023-12-31T10:55:23Z")

</div>

hi, I am looking for an api which will returns total number of minutes or hours applications are down.

---

## [POSTMAN integration with Dynatrace ONE](https://community.dynatrace.com/t/postman-integration-with-dynatrace-one/43379)

<div class="topic-metadata">

**Author:** [@shahrukh\_niazi](https://community.dynatrace.com/u/shahrukh_niazi)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 7:23pm UTC](https://community.dynatrace.com/t/postman-integration-with-dynatrace-one/43379 "2023-12-27T19:23:31Z")

</div>

Anyone able to pull Postman collection meta data with Dyantrace API ? We have onprem Dynatrace ONE install. I need to see these collection TEST names from postman collection in DT purepath and wondering if anyone knows …

---

## [Host disk usage API call](https://community.dynatrace.com/t/host-disk-usage-api-call/43335)

<div class="topic-metadata">

**Author:** [@Itani\_ML](https://community.dynatrace.com/u/Itani_ML)\
**Replies:** 4\
**Last updated:** [December 24, 2023, 12:14pm UTC](https://community.dynatrace.com/t/host-disk-usage-api-call/43335 "2023-12-24T12:14:49Z")

</div>

Hi, I am trying to use an API request to get a server disk usage percentage. How can I achieve this?

---

## [Account Management API for Subscriptions is blank](https://community.dynatrace.com/t/account-management-api-for-subscriptions-is-blank/43027)

<div class="topic-metadata">

**Author:** [@tjay](https://community.dynatrace.com/u/tjay)\
**Replies:** 4\
**Last updated:** [December 18, 2023, 12:05am UTC](https://community.dynatrace.com/t/account-management-api-for-subscriptions-is-blank/43027 "2023-12-18T00:05:13Z")

</div>

I can list groups and environments, but subscriptions returns blank. The status code is 200 and there is no token error. https://api.dynatrace.com/sub/v2/accounts/\<uuid\>/subscriptions I used scope=account-uac-read to g…

---

## [Dynatrace API v2 - Develop an API Query to validate a Kubernetes Namespace?](https://community.dynatrace.com/t/dynatrace-api-v2-develop-an-api-query-to-validate-a-kubernetes-namespace/43123)

<div class="topic-metadata">

**Author:** [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 10:44am UTC](https://community.dynatrace.com/t/dynatrace-api-v2-develop-an-api-query-to-validate-a-kubernetes-namespace/43123 "2023-12-12T10:44:38Z")

</div>

I have tons of API queries for extracting OpenShift metrics. With that, I am trying to develop a query (without pulling back tons of data) to validate if a Kubernetes Namespace exists in the Dynatrace instance. What wou…

---

## [API to pull the exception and it's count](https://community.dynatrace.com/t/api-to-pull-the-exception-and-its-count/43062)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 5\
**Last updated:** [December 8, 2023, 9:14am UTC](https://community.dynatrace.com/t/api-to-pull-the-exception-and-its-count/43062 "2023-12-08T09:14:55Z")

</div>

Hi, I wanted to pull all the exception that occurred with it’s counts using API. Can I fetch the result by using provided API and if yes then let me know the API details.

---

## [Calculated metrics based on self-monitoring metrics](https://community.dynatrace.com/t/calculated-metrics-based-on-self-monitoring-metrics/43013)

<div class="topic-metadata">

**Author:** [@Jan\_Lerche](https://community.dynatrace.com/u/Jan_Lerche)\
**Replies:** 3\
**Last updated:** [December 5, 2023, 8:28am UTC](https://community.dynatrace.com/t/calculated-metrics-based-on-self-monitoring-metrics/43013 "2023-12-05T08:28:07Z")

</div>

Hello we would like to use calculated metrics based on self-monitoring metrics. This is currently not possible. When creating a calculated metric, the base metric has to be chosen from a drop-down menu and those metrics…

---

## [Dashboard App: Single Value Visualization](https://community.dynatrace.com/t/dashboard-app-single-value-visualization/42973)

<div class="topic-metadata">

**Author:** [@marc1](https://community.dynatrace.com/u/marc1)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 10:30am UTC](https://community.dynatrace.com/t/dashboard-app-single-value-visualization/42973 "2023-12-01T10:30:03Z")

</div>

Hello! Is there any way to sum the latest values of all the results of a given metrics and show that calculation only (as opposed to a timeseries) in a Single Value Visualization? Say, I have a metric returning the num…

---

## [API to fetch the database quires which are failed](https://community.dynatrace.com/t/api-to-fetch-the-database-quires-which-are-failed/42845)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 3\
**Last updated:** [November 27, 2023, 1:27pm UTC](https://community.dynatrace.com/t/api-to-fetch-the-database-quires-which-are-failed/42845 "2023-11-27T13:27:50Z")

</div>

Hi, How do I get all database quires which are failed to execute using API.

---

## [Dynatrace API to fetch monitoring details](https://community.dynatrace.com/t/dynatrace-api-to-fetch-monitoring-details/42708)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 2\
**Last updated:** [November 23, 2023, 10:40am UTC](https://community.dynatrace.com/t/dynatrace-api-to-fetch-monitoring-details/42708 "2023-11-23T10:40:15Z")

</div>

Hi, I’m looking for an API who can give database queries which is taking more than 30 second to load. I’m looking this integration with Jenkins pipeline. Kindly suggest me which API can give the data.

---

## [PostMan and OAuth 2.0](https://community.dynatrace.com/t/postman-and-oauth-2-0/42768)

<div class="topic-metadata">

**Author:** [@Ellery](https://community.dynatrace.com/u/Ellery)\
**Replies:** 5\
**Last updated:** [November 23, 2023, 12:31am UTC](https://community.dynatrace.com/t/postman-and-oauth-2-0/42768 "2023-11-23T00:31:57Z")

</div>

Hello, nice to ask again. I have the following issue: I need to create a new bucket to manage log retention. To do this, I followed the guide, but I’m encountering issues with OAuth 2.0 permissions. I’m searching within …

---

## [Create a service list API with response time, failure rate, and request per min](https://community.dynatrace.com/t/create-a-service-list-api-with-response-time-failure-rate-and-request-per-min/42695)

<div class="topic-metadata">

**Author:** [@Paulo1989](https://community.dynatrace.com/u/Paulo1989)\
**Replies:** 5\
**Last updated:** [November 21, 2023, 1:26pm UTC](https://community.dynatrace.com/t/create-a-service-list-api-with-response-time-failure-rate-and-request-per-min/42695 "2023-11-21T13:26:36Z")

</div>

Hi Everyone, Can Anyone explain me how to create a service list API with response time, failure rate and request per minute? The reason is that I want to import this list to Power BI after I get the list from Dynatrace.…

---

## [API to get the details of unacceptable user action](https://community.dynatrace.com/t/api-to-get-the-details-of-unacceptable-user-action/42743)

<div class="topic-metadata">

**Author:** [@Shruts](https://community.dynatrace.com/u/Shruts)\
**Replies:** 2\
**Last updated:** [November 21, 2023, 6:59am UTC](https://community.dynatrace.com/t/api-to-get-the-details-of-unacceptable-user-action/42743 "2023-11-21T06:59:41Z")

</div>

Hi, I’m looking for an API to get the details of unacceptable or poor user action. Kindly share the document link with specific API detials.

---

## [Get total download numbers for my app with the Dynatrace API](https://community.dynatrace.com/t/get-total-download-numbers-for-my-app-with-the-dynatrace-api/42594)

<div class="topic-metadata">

**Author:** [@dstreet](https://community.dynatrace.com/u/dstreet)\
**Replies:** 4\
**Last updated:** [November 14, 2023, 7:37am UTC](https://community.dynatrace.com/t/get-total-download-numbers-for-my-app-with-the-dynatrace-api/42594 "2023-11-14T07:37:07Z")

</div>

I need to be able the total numbers of downloads for my app divided by OS(android/ios), the API docs are bit confusing, I figure I would need something like a “get managed/filter\[\]”, call but does this functionality exis…

---

## [Exporting Applications\>Settings\>Session and User Actions](https://community.dynatrace.com/t/exporting-applications-settings-session-and-user-actions/23032)

<div class="topic-metadata">

**Author:** [@reinier\_g\_russe](https://community.dynatrace.com/u/reinier_g_russe)\
**Replies:** 4\
**Last updated:** [November 13, 2023, 12:05am UTC](https://community.dynatrace.com/t/exporting-applications-settings-session-and-user-actions/23032 "2023-11-13T00:05:03Z")

</div>

When utilizing the Configuration API\>Web application configuration\>GET/applications/web/{id} We do not see the Session and User Actions defined within the json output. We can see the output of the Async requests as “mon…

---

## [Is it possible to container restarts for a CONTAINER\_GROUP\_INSTANCE?](https://community.dynatrace.com/t/is-it-possible-to-container-restarts-for-a-container-group-instance/42459)

<div class="topic-metadata">

**Author:** [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Replies:** 5\
**Last updated:** [November 3, 2023, 10:18pm UTC](https://community.dynatrace.com/t/is-it-possible-to-container-restarts-for-a-container-group-instance/42459 "2023-11-03T22:18:53Z")

</div>

I can grab a bunch of container statistics for CONTAINER\_GROUP\_INSTANCES easily, but I am trying to get container restarts for a container group instance in a given namespace. Is there any way to do this? Am I mixing ap…

---

## [API Metrics Query - Can you filter by value?](https://community.dynatrace.com/t/api-metrics-query-can-you-filter-by-value/42460)

<div class="topic-metadata">

**Author:** [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Replies:** 2\
**Last updated:** [November 3, 2023, 9:32pm UTC](https://community.dynatrace.com/t/api-metrics-query-can-you-filter-by-value/42460 "2023-11-03T21:32:56Z")

</div>

I am pulling back average CPU for a few thousand servers for 1 week. I basically get 1 entry and 1 value per server. Can I filter out all entries below a certain value? builtin:host.cpu.usage:names:splitBy(“dt.entity.h…

---

## [Was the problem.mainEvent property removed from the problems v2 endpoints?](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392)

<div class="topic-metadata">

**Author:** [@scott-smith](https://community.dynatrace.com/u/scott-smith)\
**Replies:** 2\
**Last updated:** [November 1, 2023, 2:30pm UTC](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392 "2023-11-01T14:30:46Z")

</div>

As late as last week 10/16/2023 there was a MainEvent property on the Problems objects returned from the problems V2 endpoints. The change log https://docs.dynatrace.com/docs/whats-new/release-notes/dynatrace-api/sprint…

---

## [Problem v2 API entityTags](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404)

<div class="topic-metadata">

**Author:** [@GaryWG](https://community.dynatrace.com/u/GaryWG)\
**Replies:** 4\
**Last updated:** [November 1, 2023, 1:08pm UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404 "2023-11-01T13:08:55Z")

</div>

The documentation says this about the entityTags property of a Problem entityTags METag\[\] A list of all entity tags of the problem So, does this mean it will contain the tags for a rootCauseEntity and/or the affe…

---

## [Dynatrace API Key Requests / Service Method entity listing](https://community.dynatrace.com/t/dynatrace-api-key-requests-service-method-entity-listing/10738)

<div class="topic-metadata">

**Author:** [@Bert\_VanderHeyd](https://community.dynatrace.com/u/Bert_VanderHeyd)\
**Replies:** 7\
**Last updated:** [October 31, 2023, 6:24pm UTC](https://community.dynatrace.com/t/dynatrace-api-key-requests-service-method-entity-listing/10738 "2023-10-31T18:24:52Z")

</div>

What we are trying to achieve is getting a list/report of response time metrics (max, min, 90 percentile) for all incoming URI’s. Cleared of stuff making it unique off course. (/someuri/theid/thing becomes /someuri/…/thi…

---

## [Monaco features not supported?](https://community.dynatrace.com/t/monaco-features-not-supported/42303)

<div class="topic-metadata">

**Author:** [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 7:53am UTC](https://community.dynatrace.com/t/monaco-features-not-supported/42303 "2023-10-30T07:53:30Z")

</div>

We use Monaco to configure our SaaS Dynatrace environments. However, some parameters do not seem to be configurable with Monaco: - Configure “Web request Naming” in services - Set the Key User Action in FrontEnd Do y…

---

## [API call runs fine in Dynatrace Harness, but not in Python - It's the &to and &from qualifiers](https://community.dynatrace.com/t/api-call-runs-fine-in-dynatrace-harness-but-not-in-python-its-the-to-and-from-qualifiers/42323)

<div class="topic-metadata">

**Author:** [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 6:05pm UTC](https://community.dynatrace.com/t/api-call-runs-fine-in-dynatrace-harness-but-not-in-python-its-the-to-and-from-qualifiers/42323 "2023-10-27T18:05:23Z")

</div>

I execute these parameters in both the Dynatrace API harness and in Python. metricSelector=builtin%3Akubernetes.container.restarts%3Afilter%28and%28or%28in%28%22dt.entity.cloud\_application\_namespace%22%2CentitySelector%…

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

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