# Dynatrace API

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

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

**Page:** 11

---

## [Add custom policy ctreated to Group](https://community.dynatrace.com/t/add-custom-policy-ctreated-to-group/40120)

<div class="topic-metadata">

**Author:** [@SaiVenkatesh](https://community.dynatrace.com/u/SaiVenkatesh)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 5:38pm UTC](https://community.dynatrace.com/t/add-custom-policy-ctreated-to-group/40120 "2023-06-09T17:38:52Z")

</div>

Hi Team, With new account management UI its hard to add policies to particular groups. How to add them ?

---

## [Download process group settings from an environment with Monaco](https://community.dynatrace.com/t/download-process-group-settings-from-an-environment-with-monaco/39833)

<div class="topic-metadata">

**Author:** [@garretthaines](https://community.dynatrace.com/u/garretthaines)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 7:59pm UTC](https://community.dynatrace.com/t/download-process-group-settings-from-an-environment-with-monaco/39833 "2023-06-08T19:59:52Z")

</div>

I’m in the process of transferring configs/settings from an old environment to a new one with Monaco 2.0. Is it possible to download process group settings from groups that are automatically created? In other words, they…

---

## [OneAgent on Host API - Data Model typo](https://community.dynatrace.com/t/oneagent-on-host-api-data-model-typo/39986)

<div class="topic-metadata">

**Author:** [@mherbert](https://community.dynatrace.com/u/mherbert)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 1:14pm UTC](https://community.dynatrace.com/t/oneagent-on-host-api-data-model-typo/39986 "2023-06-07T13:14:46Z")

</div>

Hi, Whilst working with the APIs I’ve just spotted a type on the data model for the OneAgent on Host API. "zosSystemName": "string", "gceProject": "string", "openstackProjectName": "string", "openS…

---

## [Settings 2.0 - API calls without passwords/secrets/credentials](https://community.dynatrace.com/t/settings-2-0-api-calls-without-passwords-secrets-credentials/39922)

<div class="topic-metadata">

**Author:** [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Replies:** 2\
**Last updated:** [June 5, 2023, 10:01am UTC](https://community.dynatrace.com/t/settings-2-0-api-calls-without-passwords-secrets-credentials/39922 "2023-06-05T10:01:59Z")

</div>

So, for many Schema’s you need to provide a token, password, or some form of credential. Here is just one example but their are many. This is for Problem Notification schema. “url”: “https://\*\*\*\*\*/api/560751/dynatrace/H…

---

## [Change Access Token Owner](https://community.dynatrace.com/t/change-access-token-owner/39698)

<div class="topic-metadata">

**Author:** [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Replies:** 6\
**Last updated:** [June 2, 2023, 1:39pm UTC](https://community.dynatrace.com/t/change-access-token-owner/39698 "2023-06-02T13:39:31Z")

</div>

Scenario: An employee creates multiple solution for a department using Dynatrace APIs. This employee used their own ID to create a API Token to be used in all of his solutions. This employee leaves the organization bu…

---

## [Scripting API queries without hardcoded access token in the script](https://community.dynatrace.com/t/scripting-api-queries-without-hardcoded-access-token-in-the-script/39946)

<div class="topic-metadata">

**Author:** [@jdport](https://community.dynatrace.com/u/jdport)\
**Replies:** 2\
**Last updated:** [June 1, 2023, 1:36pm UTC](https://community.dynatrace.com/t/scripting-api-queries-without-hardcoded-access-token-in-the-script/39946 "2023-06-01T13:36:28Z")

</div>

Hello, I’ve written several scripts for various tasks with the Dynatrace API but updated security requirements are going to be prohibiting me from having our API token hard coded in the script. I was wondering how o…

---

## [Set up a new custom metrics endpoint for a TimeSeries API](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975)

<div class="topic-metadata">

**Author:** [@StefanMarx](https://community.dynatrace.com/u/StefanMarx)\
**Replies:** 2\
**Last updated:** [June 1, 2023, 8:47am UTC](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975 "2023-06-01T08:47:44Z")

</div>

Hi, to utilize the TimeSeries API with a custom metrics there seems to be the need to set up a new endpoint. Is there a kind of best practise for this. Thanks for reading and .. of cause .. very much more for writing ;…

---

## [Calculating availability with Maintenance Windows in API](https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218)

<div class="topic-metadata">

**Author:** [@Vusal\_Ismayilov](https://community.dynatrace.com/u/Vusal_Ismayilov)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 7:38pm UTC](https://community.dynatrace.com/t/calculating-availability-with-maintenance-windows-in-api/39218 "2023-05-25T19:38:41Z")

</div>

Hi everyone, I use metrics API V2 to see availability for a host, but it gives me a different result than the host detail page. Those are the screen shots of the same host. as you can see there is 0.02% differenc…

---

## [API response data is not consistent with the UI](https://community.dynatrace.com/t/api-response-data-is-not-consistent-with-the-ui/39063)

<div class="topic-metadata">

**Author:** [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 7:23pm UTC](https://community.dynatrace.com/t/api-response-data-is-not-consistent-with-the-ui/39063 "2023-05-25T19:23:24Z")

</div>

Hi everyone, I encountered one problem: It’s regarding the monitor response timestamp is not consistent with the monitor actual execution time. Monitor url: https://{environmentid}.live.dynatrace.com/#monitoranalysiskp…

---

## [What are the scope or level to update anomaly detection setting?](https://community.dynatrace.com/t/what-are-the-scope-or-level-to-update-anomaly-detection-setting/39782)

<div class="topic-metadata">

**Author:** [@Naveen](https://community.dynatrace.com/u/Naveen)\
**Replies:** 3\
**Last updated:** [May 18, 2023, 8:46am UTC](https://community.dynatrace.com/t/what-are-the-scope-or-level-to-update-anomaly-detection-setting/39782 "2023-05-18T08:46:26Z")

</div>

Hi, I am trying to update the anomaly detection setting using ‘settings’ API but wondering what are the scopes or level on which I can update it. Question 1: Can I update it on HOST\_GROUP or PROCESS\_GROUP or SERVICE le…

---

## [Settings API - GET objects](https://community.dynatrace.com/t/settings-api-get-objects/39780)

<div class="topic-metadata">

**Author:** [@Pooja\_3](https://community.dynatrace.com/u/Pooja_3)\
**Replies:** 5\
**Last updated:** [May 18, 2023, 8:35am UTC](https://community.dynatrace.com/t/settings-api-get-objects/39780 "2023-05-18T08:35:22Z")

</div>

Hi Team, I am trying to execute get objects API but not sure what to enter in schemaIds, how can I find schemaID to get list of one agent deployed list. Thanks and Regards Pooja P

---

## [API Tokens for integrations](https://community.dynatrace.com/t/api-tokens-for-integrations/19614)

<div class="topic-metadata">

**Author:** [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Replies:** 8\
**Last updated:** [May 16, 2023, 5:32pm UTC](https://community.dynatrace.com/t/api-tokens-for-integrations/19614 "2023-05-16T17:32:56Z")

</div>

Hi all, Dynatrace API requires API tokens for access and it is always bound to specific Dynatrace user. Users may leave the organization and API tokens should be revoked I wonder how others are managing technical accou…

---

## [Defining request naming rules Globally or at Service level?](https://community.dynatrace.com/t/defining-request-naming-rules-globally-or-at-service-level/21065)

<div class="topic-metadata">

**Author:** [@sureshKumarK](https://community.dynatrace.com/u/sureshKumarK)\
**Replies:** 6\
**Last updated:** [May 15, 2023, 8:31pm UTC](https://community.dynatrace.com/t/defining-request-naming-rules-globally-or-at-service-level/21065 "2023-05-15T20:31:27Z")

</div>

Hi, Could you please suggest which scenario I should consider to not have a performance impact? I need to create multiple request naming rules for each Dynatrace environment and the rules will be defined at the Service …

---

## [Post Execution Script Question](https://community.dynatrace.com/t/post-execution-script-question/39699)

<div class="topic-metadata">

**Author:** [@GregOReilly](https://community.dynatrace.com/u/GregOReilly)\
**Replies:** 2\
**Last updated:** [May 11, 2023, 5:57pm UTC](https://community.dynatrace.com/t/post-execution-script-question/39699 "2023-05-11T17:57:33Z")

</div>

Hello community, I am needing to test an API and WITE Data to record. (Its a test record in our production env). Doing this is fine, however, the next time I run the same test, I get an error that the data exists. Can …

---

## [How to get Dynatrace Managed Cluster Token Automatically after installation?](https://community.dynatrace.com/t/how-to-get-dynatrace-managed-cluster-token-automatically-after-installation/39521)

<div class="topic-metadata">

**Author:** [@ta12345](https://community.dynatrace.com/u/ta12345)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 7:43am UTC](https://community.dynatrace.com/t/how-to-get-dynatrace-managed-cluster-token-automatically-after-installation/39521 "2023-05-01T07:43:19Z")

</div>

I am trying to automate my deployment of Dynatrace Managed, and the Cluster API seems useful for most of the setup, but I’m having trouble automating getting a token to access the Cluster API. The Cluster API has an end…

---

## [Getting Events for last minute?](https://community.dynatrace.com/t/getting-events-for-last-minute/39414)

<div class="topic-metadata">

**Author:** [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 9:19am UTC](https://community.dynatrace.com/t/getting-events-for-last-minute/39414 "2023-04-24T09:19:06Z")

</div>

When using the v2 Events API, if I want to get the list of events of say the last minute, it will give me the list of the events of the last minute, but also the events that are opened and started eventually way before. …

---

## [Monitor downtime along with Failure Reasons through API](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346)

<div class="topic-metadata">

**Author:** [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Replies:** 4\
**Last updated:** [April 20, 2023, 2:29pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346 "2023-04-20T14:29:58Z")

</div>

Hi Team, I am looking for an API that will provide synthetic monitor downtime and failure reason at a particular time.

---

## [Open separate problems for each POST](https://community.dynatrace.com/t/open-separate-problems-for-each-post/39327)

<div class="topic-metadata">

**Author:** [@Borisk](https://community.dynatrace.com/u/Borisk)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 3:41pm UTC](https://community.dynatrace.com/t/open-separate-problems-for-each-post/39327 "2023-04-17T15:41:49Z")

</div>

I opened the “Problem” by POST API below : https://vip-dyntrc/e/myenvironment/api/v2/events/ingest The body that I send like : {“eventType”: “AVAILABILITY\_EVENT”, “title”: " !!!TEST3 - \[Health+ Intelligent Alert\] CRIT…

---

## [Limitation in extracting data with minute resolution](https://community.dynatrace.com/t/limitation-in-extracting-data-with-minute-resolution/39091)

<div class="topic-metadata">

**Author:** [@shubham](https://community.dynatrace.com/u/shubham)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 9:18am UTC](https://community.dynatrace.com/t/limitation-in-extracting-data-with-minute-resolution/39091 "2023-04-17T09:18:09Z")

</div>

Hi team, Is there any way to extract month or year data with minutes as a resolution? As of now, we can only extract data for 7 days with a minute resolution.

---

## [Cluster "Event Log" through API?](https://community.dynatrace.com/t/cluster-event-log-through-api/19135)

<div class="topic-metadata">

**Author:** [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Replies:** 10\
**Last updated:** [April 13, 2023, 10:28am UTC](https://community.dynatrace.com/t/cluster-event-log-through-api/19135 "2023-04-13T10:28:56Z")

</div>

It seems that it is possible to get the Managed “Audit Log” through API, despite still not having used it: Does anyone know if it’s possible to get the “Event Log” from the CSC in Managed?

---

## [User Session Api Query Response Size Limit](https://community.dynatrace.com/t/user-session-api-query-response-size-limit/39151)

<div class="topic-metadata">

**Author:** [@satyashiras](https://community.dynatrace.com/u/satyashiras)\
**Replies:** 3\
**Last updated:** [April 5, 2023, 6:33am UTC](https://community.dynatrace.com/t/user-session-api-query-response-size-limit/39151 "2023-04-05T06:33:32Z")

</div>

Hi , I am trying to get user session data from the user sessions API. Is there a size limit on how many response data we can get from the API.

---

## [Syntax problem API to grab problem list of last month and week](https://community.dynatrace.com/t/syntax-problem-api-to-grab-problem-list-of-last-month-and-week/38983)

<div class="topic-metadata">

**Author:** [@avrildong](https://community.dynatrace.com/u/avrildong)\
**Replies:** 4\
**Last updated:** [April 3, 2023, 10:45pm UTC](https://community.dynatrace.com/t/syntax-problem-api-to-grab-problem-list-of-last-month-and-week/38983 "2023-04-03T22:45:46Z")

</div>

What is the syntax to use problem API to grab problem list of last month & last week? last month & last week 2 patterns - recurring / reusable syntax. last month must be exact calendar month, such as 2022Jun, 2023Jan …

---

## [How to get a host ID with web request URL using the Dynatrace API?](https://community.dynatrace.com/t/how-to-get-a-host-id-with-web-request-url-using-the-dynatrace-api/39085)

<div class="topic-metadata">

**Author:** [@guihoon\_hwang](https://community.dynatrace.com/u/guihoon_hwang)\
**Replies:** 8\
**Last updated:** [March 31, 2023, 12:27am UTC](https://community.dynatrace.com/t/how-to-get-a-host-id-with-web-request-url-using-the-dynatrace-api/39085 "2023-03-31T00:27:40Z")

</div>

Hi, How do I get the Host Id and name of the Host where the service runs with the Url obtained from the Custom multidimensional analysis screen using the API For example, when I got localhost:7878 like the picture a…

---

## [Metrics API to get container groups](https://community.dynatrace.com/t/metrics-api-to-get-container-groups/39073)

<div class="topic-metadata">

**Author:** [@stephenje](https://community.dynatrace.com/u/stephenje)\
**Replies:** 8\
**Last updated:** [March 30, 2023, 12:21pm UTC](https://community.dynatrace.com/t/metrics-api-to-get-container-groups/39073 "2023-03-30T12:21:36Z")

</div>

I am looking to get the CPU and memory from a particular container instance… I can find the container details using builtin:kubernetes.containers and filter for the one I need I ideally want to run builtin:container…

---

## [How to create problem via v2 API?](https://community.dynatrace.com/t/how-to-create-problem-via-v2-api/39064)

<div class="topic-metadata">

**Author:** [@guihoon\_hwang](https://community.dynatrace.com/u/guihoon_hwang)\
**Replies:** 6\
**Last updated:** [March 30, 2023, 12:34am UTC](https://community.dynatrace.com/t/how-to-create-problem-via-v2-api/39064 "2023-03-30T00:34:34Z")

</div>

Hi, Can I create a problem for the service using api with the name of the service? thanks.

---

## [Posthumously change event properties](https://community.dynatrace.com/t/posthumously-change-event-properties/39009)

<div class="topic-metadata">

**Author:** [@ewoelkerling](https://community.dynatrace.com/u/ewoelkerling)\
**Replies:** 2\
**Last updated:** [March 27, 2023, 5:45am UTC](https://community.dynatrace.com/t/posthumously-change-event-properties/39009 "2023-03-27T05:45:50Z")

</div>

Hi All, I was hoping you could help me understand if something’s possible in Dynatrace – haven’t found the way so far, but not sure if it’s me or it just can’t be done.. The use-case: I’m creating metric based events…

---

## [Delete a tag via Rest API with no value](https://community.dynatrace.com/t/delete-a-tag-via-rest-api-with-no-value/38369)

<div class="topic-metadata">

**Author:** [@quilleo](https://community.dynatrace.com/u/quilleo)\
**Replies:** 2\
**Last updated:** [March 27, 2023, 4:51am UTC](https://community.dynatrace.com/t/delete-a-tag-via-rest-api-with-no-value/38369 "2023-03-27T04:51:45Z")

</div>

I have tags that look like this: tags": \[ { “context”: “CONTEXTLESS”, “key”: “\[VMware\]Application:”, “stringRepresentation”: “\[VMware\]Application:” },NOTE the : at the end …

---

## [Capture Monitors downtime](https://community.dynatrace.com/t/capture-monitors-downtime/38976)

<div class="topic-metadata">

**Author:** [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Replies:** 6\
**Last updated:** [March 24, 2023, 10:33am UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976 "2023-03-24T10:33:52Z")

</div>

hi Team, Is there an API which will provide monitor downtime details(number of hrs a monitor was down in a given timeframe)?

---

## [Extract the list of Technologies used in my environment and its versions](https://community.dynatrace.com/t/extract-the-list-of-technologies-used-in-my-environment-and-its-versions/38760)

<div class="topic-metadata">

**Author:** [@EugeneJacob](https://community.dynatrace.com/u/EugeneJacob)\
**Replies:** 6\
**Last updated:** [March 24, 2023, 8:42am UTC](https://community.dynatrace.com/t/extract-the-list-of-technologies-used-in-my-environment-and-its-versions/38760 "2023-03-24T08:42:20Z")

</div>

I wanted to find the list of Technologies used in my Environment and its versions. I have managed to extract the Technologies list through “OneAgent - Environment-wide configuration” API, however i am not able to find th…

---

## [Get Key Request using API](https://community.dynatrace.com/t/get-key-request-using-api/35255)

<div class="topic-metadata">

**Author:** [@andra\_nosa](https://community.dynatrace.com/u/andra_nosa)\
**Replies:** 5\
**Last updated:** [March 23, 2023, 3:01pm UTC](https://community.dynatrace.com/t/get-key-request-using-api/35255 "2023-03-23T15:01:29Z")

</div>

Hi Guys, How to get all key request via api? Because i have try on data explorer and limit only 100 data key request with low transaction Regards, Andra

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

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