# Dynatrace API

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

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

**Page:** 15

---

## [Dynatrace API to get host mapping in /metrics/query](https://community.dynatrace.com/t/dynatrace-api-to-get-host-mapping-in-metrics-query/35148)

<div class="topic-metadata">

**Author:** [@manjunathcr](https://community.dynatrace.com/u/manjunathcr)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 6:19pm UTC](https://community.dynatrace.com/t/dynatrace-api-to-get-host-mapping-in-metrics-query/35148 "2022-05-17T18:19:16Z")

</div>

https://xxxxxxxx.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:host.mem.avail.pct&resolution=1h Suppose we use above URL and get sample data { “totalCount”: 2, “nextPageKey”: null, “resolution”: “1h…

---

## [Events API V2](https://community.dynatrace.com/t/events-api-v2/34897)

<div class="topic-metadata">

**Author:** [@MariusNicolae](https://community.dynatrace.com/u/MariusNicolae)\
**Replies:** 5\
**Last updated:** [May 4, 2022, 7:21am UTC](https://community.dynatrace.com/t/events-api-v2/34897 "2022-05-04T07:21:26Z")

</div>

Hi everyone, Recently I have found myself with the need to implement events from some custom bash scripts and send the events into dynatrace. I am sending an error event type right now in order to open a problem on the …

---

## [How can I pull OneAgent versions at process level?](https://community.dynatrace.com/t/how-can-i-pull-oneagent-versions-at-process-level/34668)

<div class="topic-metadata">

**Author:** [@kadirhan](https://community.dynatrace.com/u/kadirhan)\
**Replies:** 3\
**Last updated:** [May 3, 2022, 8:59am UTC](https://community.dynatrace.com/t/how-can-i-pull-oneagent-versions-at-process-level/34668 "2022-05-03T08:59:38Z")

</div>

I’m new to dynatrace. I tried to pull using api. I used monitored entities in v2 for this. But I did not understand how to pull at the process level. Can anyone help?

---

## [What permission needed to download ActiveGate docker image?](https://community.dynatrace.com/t/what-permission-needed-to-download-activegate-docker-image/34976)

<div class="topic-metadata">

**Author:** [@nakb](https://community.dynatrace.com/u/nakb)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 6:35am UTC](https://community.dynatrace.com/t/what-permission-needed-to-download-activegate-docker-image/34976 "2022-04-28T06:35:25Z")

</div>

Hi, I have create a access token and given PaaS integration - Installer download and PaaS integration - Support alert permission to download activegate docker image. But getting error while downloading specific version. …

---

## [How to get total memory (RAM) per host?](https://community.dynatrace.com/t/how-to-get-total-memory-ram-per-host/34902)

<div class="topic-metadata">

**Author:** [@nakb](https://community.dynatrace.com/u/nakb)\
**Replies:** 7\
**Last updated:** [April 27, 2022, 6:20pm UTC](https://community.dynatrace.com/t/how-to-get-total-memory-ram-per-host/34902 "2022-04-27T18:20:02Z")

</div>

Is there any api available to get total memory per host.

---

## [API Breakdown in Dynatrace Managed](https://community.dynatrace.com/t/api-breakdown-in-dynatrace-managed/34613)

<div class="topic-metadata">

**Author:** [@urs\_fischer](https://community.dynatrace.com/u/urs_fischer)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 2:23pm UTC](https://community.dynatrace.com/t/api-breakdown-in-dynatrace-managed/34613 "2022-04-26T14:23:56Z")

</div>

In Dynatrace AppMon there was the “API Breakdown” which made a listing based on the defined APIs regarding Exec Avg, Exec Sum, Cpu Avg, Cput Total… example: Now I am looking for a similar view in Dynatrace Managed. …

---

## [Is there any API to Enable Override defaults in Process Group Settings?](https://community.dynatrace.com/t/is-there-any-api-to-enable-override-defaults-in-process-group-settings/31614)

<div class="topic-metadata">

**Author:** [@nakb](https://community.dynatrace.com/u/nakb)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 1:30pm UTC](https://community.dynatrace.com/t/is-there-any-api-to-enable-override-defaults-in-process-group-settings/31614 "2022-04-26T13:30:48Z")

</div>

Hi I am trying to automate the enable/disable Process Group on all hosts using Override Defaults in Dynatrace but I am unable to find any PUT API for this, please let me know if any available or any other way to automate…

---

## [Cluster Management API for license usage](https://community.dynatrace.com/t/cluster-management-api-for-license-usage/18695)

<div class="topic-metadata">

**Author:** [@krunal\_dave1](https://community.dynatrace.com/u/krunal_dave1)\
**Replies:** 8\
**Last updated:** [April 26, 2022, 12:55pm UTC](https://community.dynatrace.com/t/cluster-management-api-for-license-usage/18695 "2022-04-26T12:55:40Z")

</div>

Is there an easy way to query the cluster API to get licence usage?

---

## [Retrieve host total memory via API](https://community.dynatrace.com/t/retrieve-host-total-memory-via-api/19905)

<div class="topic-metadata">

**Author:** [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Replies:** 7\
**Last updated:** [April 26, 2022, 11:57am UTC](https://community.dynatrace.com/t/retrieve-host-total-memory-via-api/19905 "2022-04-26T11:57:39Z")

</div>

The API only allows one to retrieve memory available (com.dynatrace.builtin:host.mem.available) and memory used (com.dynatrace.builtin:host.mem.used), I don’t see an option for total memory. Am I right in saying that to …

---

## [API to list Service Methods of a given Service](https://community.dynatrace.com/t/api-to-list-service-methods-of-a-given-service/34446)

<div class="topic-metadata">

**Author:** [@shreyas\_shivapr](https://community.dynatrace.com/u/shreyas_shivapr)\
**Replies:** 4\
**Last updated:** [April 26, 2022, 10:23am UTC](https://community.dynatrace.com/t/api-to-list-service-methods-of-a-given-service/34446 "2022-04-26T10:23:40Z")

</div>

I’m trying to list Service Methods (entityId and name) of a given Service ID using API. I tried v2/entities API but it lists the Service Method Group ID and not Service Methods. Looking for assistance on this. Example: …

---

## [User session events and actions by session ID](https://community.dynatrace.com/t/user-session-events-and-actions-by-session-id/34823)

<div class="topic-metadata">

**Author:** [@TripleP](https://community.dynatrace.com/u/TripleP)\
**Replies:** 3\
**Last updated:** [April 18, 2022, 11:14pm UTC](https://community.dynatrace.com/t/user-session-events-and-actions-by-session-id/34823 "2022-04-18T23:14:57Z")

</div>

I’m trying to get the events/actions for a specific session. I have tried this query: SELECT userevent.\* FROM usersession WHERE ((useraction.application=‘site.com’ OR userevent.application=‘site.com’ OR usererror.appli…

---

## [V2 API - What is the best and fastest way to see if a certain process group instance is running on a server?](https://community.dynatrace.com/t/v2-api-what-is-the-best-and-fastest-way-to-see-if-a-certain-process-group-instance-is-running-on-a-server/34770)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 5:45pm UTC](https://community.dynatrace.com/t/v2-api-what-is-the-best-and-fastest-way-to-see-if-a-certain-process-group-instance-is-running-on-a-server/34770 "2022-04-11T17:45:12Z")

</div>

Short of dumping out the process groups timeseries data for a server, is there an easy way to see if a certain process group instance is running on a server? So for lets say tag mytag:myserver, can I easily see of a pro…

---

## [Dynatrace Javascript API](https://community.dynatrace.com/t/dynatrace-javascript-api/33934)

<div class="topic-metadata">

**Author:** [@tarun\_kumar\_aga](https://community.dynatrace.com/u/tarun_kumar_aga)\
**Replies:** 1\
**Last updated:** [April 1, 2022, 1:03pm UTC](https://community.dynatrace.com/t/dynatrace-javascript-api/33934 "2022-04-01T13:03:23Z")

</div>

Hi, We would like to use Dynatrace Javascript API and would like to know when to use Dynatrace report error api vs Dynatrace customreporterror api? Thanks, Tarun

---

## [API call with exact timestamps](https://community.dynatrace.com/t/api-call-with-exact-timestamps/34245)

<div class="topic-metadata">

**Author:** [@Litodrako1992](https://community.dynatrace.com/u/Litodrako1992)\
**Replies:** 1\
**Last updated:** [April 1, 2022, 11:00am UTC](https://community.dynatrace.com/t/api-call-with-exact-timestamps/34245 "2022-04-01T11:00:49Z")

</div>

Hello! When I make an API call to get metrics information I always use the “from” parameter and add a “now-24h”, for example. I’m trying to see, but I can’t, what I can do to put absolute times, for example: 2022-02-23…

---

## [V2 API - Filter Transformation Wildcard Search???](https://community.dynatrace.com/t/v2-api-filter-transformation-wildcard-search/34118)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 2\
**Last updated:** [April 1, 2022, 10:26am UTC](https://community.dynatrace.com/t/v2-api-filter-transformation-wildcard-search/34118 "2022-04-01T10:26:01Z")

</div>

In the filter transformations, I can do prefix, suffix, a few other functions, but no wildcard search. Is that possible? custom.db.query:filter(and(eq(query\_name,oracledbinsights\_cpucount))):splitBy(dbname):avg:auto:sor…

---

## [OneAgent versions of Processes in Entity API v2](https://community.dynatrace.com/t/oneagent-versions-of-processes-in-entity-api-v2/34680)

<div class="topic-metadata">

**Author:** [@kadirhan](https://community.dynatrace.com/u/kadirhan)\
**Replies:** 3\
**Last updated:** [April 1, 2022, 9:50am UTC](https://community.dynatrace.com/t/oneagent-versions-of-processes-in-entity-api-v2/34680 "2022-04-01T09:50:41Z")

</div>

Hi, We can get OneAgents versions and monitoringState information by using api/v1/entity/infrastructure/processes. but now Entity API v2 is available . Is it possible to get this information through it? how can we do th…

---

## [Dynatrace API returning Null values in response](https://community.dynatrace.com/t/dynatrace-api-returning-null-values-in-response/34686)

<div class="topic-metadata">

**Author:** [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Replies:** 1\
**Last updated:** [March 31, 2022, 8:46pm UTC](https://community.dynatrace.com/t/dynatrace-api-returning-null-values-in-response/34686 "2022-03-31T20:46:57Z")

</div>

Hi , I am trying to pull the metrics using Dynatrace v2 API “/metrics/query” and getting null values in response. Can somebody please tell me reason for the same? Regards, Heramb

---

## [Help making an API call with entitySelector](https://community.dynatrace.com/t/help-making-an-api-call-with-entityselector/34669)

<div class="topic-metadata">

**Author:** [@adtuser](https://community.dynatrace.com/u/adtuser)\
**Replies:** 2\
**Last updated:** [March 30, 2022, 2:23pm UTC](https://community.dynatrace.com/t/help-making-an-api-call-with-entityselector/34669 "2022-03-30T14:23:55Z")

</div>

Hi Dynatrace, Can you please provide some guidance how to use entitySelector to retrieve host data by host name? I tried different options but none successful. Here is one example: …/api/v2/entities?entitySelector=ty…

---

## [IngestMetric affect on a entities by different way of dt.entity.host](https://community.dynatrace.com/t/ingestmetric-affect-on-a-entities-by-different-way-of-dt-entity-host/34607)

<div class="topic-metadata">

**Author:** [@Stef\_Stouf95](https://community.dynatrace.com/u/Stef_Stouf95)\
**Replies:** 3\
**Last updated:** [March 29, 2022, 7:28am UTC](https://community.dynatrace.com/t/ingestmetric-affect-on-a-entities-by-different-way-of-dt-entity-host/34607 "2022-03-29T07:28:26Z")

</div>

Hi use case : i have an server (host0) with a oneagent, i have a script on it to retrieve different metrics of other servers, and push it custom.mymetric,hostname=host1 100 custom.mymetric,hostname=host2 37 custom.m…

---

## [Pass all parameters during installation when using Azure Extension](https://community.dynatrace.com/t/pass-all-parameters-during-installation-when-using-azure-extension/32747)

<div class="topic-metadata">

**Author:** [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Replies:** 4\
**Last updated:** [March 25, 2022, 7:11pm UTC](https://community.dynatrace.com/t/pass-all-parameters-during-installation-when-using-azure-extension/32747 "2022-03-25T19:11:38Z")

</div>

Based on what I read from the documentation, currently this is my understanding: Is these correct? If yes, I am wondering those that marked with “No”, is it not doable at all? or just that we can’t use Azure Extensio…

---

## [Mark as key request via API](https://community.dynatrace.com/t/mark-as-key-request-via-api/31316)

<div class="topic-metadata">

**Author:** [@MevlutS](https://community.dynatrace.com/u/MevlutS)\
**Replies:** 2\
**Last updated:** [March 17, 2022, 10:02pm UTC](https://community.dynatrace.com/t/mark-as-key-request-via-api/31316 "2022-03-17T22:02:05Z")

</div>

Hi , We have around 250-300 requests and we want to mark as a key requests. But it is really hard to do that with manually. Is there any API endpoint for this or work-around solution ? Best Regards, Mevlut.

---

## [How to get custom values reported by Mobile app in metrics api](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-metrics-api/34507)

<div class="topic-metadata">

**Author:** [@ajkinetic](https://community.dynatrace.com/u/ajkinetic)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 9:14am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-metrics-api/34507 "2022-03-16T09:14:04Z")

</div>

I am creating a custom action in my Swift (MOBILE) App as described in the documentation : let myAction = DTXAction.enter(withName: “My action”) myAction?.reportValue(withName: “My int value”, intValue: 1234) myAction…

---

## [Dynatrace SaaS POST API's-V2](https://community.dynatrace.com/t/dynatrace-saas-post-apis-v2/34367)

<div class="topic-metadata">

**Author:** [@amitbsht321](https://community.dynatrace.com/u/amitbsht321)\
**Replies:** 6\
**Last updated:** [March 9, 2022, 5:30pm UTC](https://community.dynatrace.com/t/dynatrace-saas-post-apis-v2/34367 "2022-03-09T17:30:10Z")

</div>

Hi Team, We are looking for a way to send this information to dynatrace and store it into a custom table, then we can fetch the data using query in the future. \[ { “name”: tableName, “type”: “gauge”, “value”: value…

---

## [Host details not showing in Managed offline cluster](https://community.dynatrace.com/t/host-details-not-showing-in-managed-offline-cluster/34387)

<div class="topic-metadata">

**Author:** [@Mudasar](https://community.dynatrace.com/u/Mudasar)\
**Replies:** 7\
**Last updated:** [March 7, 2022, 1:49pm UTC](https://community.dynatrace.com/t/host-details-not-showing-in-managed-offline-cluster/34387 "2022-03-07T13:49:27Z")

</div>

Hi Team, We have a client with Managed offline Environment with cluster 1.232 v. They are unable to find out the host license consumption from API v2. Due to which Client team is unable to get the accurate host license…

---

## [Fetching request attribute data outside Dynatrace and feed to a third party tool](https://community.dynatrace.com/t/fetching-request-attribute-data-outside-dynatrace-and-feed-to-a-third-party-tool/34329)

<div class="topic-metadata">

**Author:** [@theharithsa](https://community.dynatrace.com/u/theharithsa)\
**Replies:** 1\
**Last updated:** [March 2, 2022, 7:17am UTC](https://community.dynatrace.com/t/fetching-request-attribute-data-outside-dynatrace-and-feed-to-a-third-party-tool/34329 "2022-03-02T07:17:57Z")

</div>

Hi There, To feed my curiosity, I got a question where I should address to our customer as well. They are setting up their SLA monitoring where they want to capture the size of the payload or the file they are transacti…

---

## [Enable or disable Full Stack monitoring via API through the host name](https://community.dynatrace.com/t/enable-or-disable-full-stack-monitoring-via-api-through-the-host-name/34277)

<div class="topic-metadata">

**Author:** [@Tatiana](https://community.dynatrace.com/u/Tatiana)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 11:12am UTC](https://community.dynatrace.com/t/enable-or-disable-full-stack-monitoring-via-api-through-the-host-name/34277 "2022-02-26T11:12:33Z")

</div>

através deste link \> https://{YOUR-ENVIRONMENT-ID}.live.dynatrace.com/rest-api-doc/index.jsp?urls.primaryName=Configuration%20API#/ Eu posso fazer isso em uma máquina usando o ID mas eu quero em vários que estão em exc…

---

## [Request Naming Rules - API](https://community.dynatrace.com/t/request-naming-rules-api/34130)

<div class="topic-metadata">

**Author:** [@royjperry14](https://community.dynatrace.com/u/royjperry14)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 9:08am UTC](https://community.dynatrace.com/t/request-naming-rules-api/34130 "2022-02-15T09:08:48Z")

</div>

Is there a way to retrieve the web request naming rules for a specific service via the API? I only seem to find the API methods for retrieving the naming rules for the entire environment that are global rules

---

## [V2 or V1 API Call to show platform](https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929)

<div class="topic-metadata">

**Author:** [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Replies:** 3\
**Last updated:** [February 5, 2022, 6:54pm UTC](https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929 "2022-02-05T18:54:37Z")

</div>

I can pull metrics quite nicely now for hosts, process group instances, and custom devices. My question is if there is an API call that can show the platform for an entity - i.e. Windows, Linux, OpenShift, other? Any h…

---

## [API metric/query - how to return just one result (data point)](https://community.dynatrace.com/t/api-metric-query-how-to-return-just-one-result-data-point/33922)

<div class="topic-metadata">

**Author:** [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Replies:** 3\
**Last updated:** [January 28, 2022, 8:19pm UTC](https://community.dynatrace.com/t/api-metric-query-how-to-return-just-one-result-data-point/33922 "2022-01-28T20:19:56Z")

</div>

I’m trying to use the API to pull back the latest data point value for a given metric. I’ve tried playing with transforms and resolutions. I can get it down to 2 metrics. But any suggestions on how to just get the lates…

---

## [Get process CPU utilization using API](https://community.dynatrace.com/t/get-process-cpu-utilization-using-api/33877)

<div class="topic-metadata">

**Author:** [@vikas\_sood](https://community.dynatrace.com/u/vikas_sood)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 4:45pm UTC](https://community.dynatrace.com/t/get-process-cpu-utilization-using-api/33877 "2022-01-27T16:45:26Z")

</div>

Hi, Is there any api to get the highlighted details in below snapshot for a process group? I tried the metrics v2 api’s in https://community.dynatrace.com/t5/REST-API/API-Get-detailed-CPU-consumption/m-p/102104 , ho…

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

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