# We have a dashboard Key User Actions if i can get response time  of Key Actions  through API ?

**URL:** <https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124>\
**Category:** Dashboarding\
**Tags:** user-actions, dashboards-classic, user-sessions\
**Created:** [July 24, 2018, 9:26am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124 "2018-07-24T09:26:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 24, 2018, 9:26am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/1 "2018-07-24T09:26:38Z")

</div>

We have a dashboard Key User Actions if i can get response time of Key Actions through API ?

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 24, 2018, 10:17am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/2 "2018-07-24T10:17:20Z")

</div>

Yer you can via the [timeseries API.](https://www.dynatrace.com/support/help/shortlink/api-metrics)

You can find the relevant metrics under [real user monitoring](https://www.dynatrace.com/support/help/shortlink/api-metrics). For key user actions look for _appmethod_ in the timeseries ID.

---

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 25, 2018, 12:44pm UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/3 "2018-07-25T12:44:25Z")

</div>

Hi Patrick.

Where can I see timeseries ID of key user action ?

thanks

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 26, 2018, 10:12am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/4 "2018-07-26T10:12:50Z")

</div>

As mentioned above, look for _appmethod._ That is the name for key user actions in the time series IDs. So for example:

- Appdex of key user action: _com. __dynatrace.__ builtin:appmethod.__apdex_
- Visually Complete: _com. __dynatrace.__ builtin:appmethod.__visuallycomplete_

Per default all key user actions are returned. You can filter for specific actions with the _entity_ parameter.

---

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 27, 2018, 9:27am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/5 "2018-07-27T09:27:43Z")

</div>

Do you know what it means?

| filter | Metric type. Allowed values are `BUILTIN`, `PLUGIN`, and `CUSTOM`. |
| --- | --- |

---

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 27, 2018, 9:39am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/6 "2018-07-27T09:39:44Z")

</div>

i need API call for Key User action which is in dashboard. could you send me such example

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 27, 2018, 2:47pm UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/7 "2018-07-27T14:47:01Z")

</div>

You can skip that filter, key user actions are a BUILTIN metric.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 27, 2018, 3:01pm UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/8 "2018-07-27T15:01:59Z")

</div>

You need to be more specific on what exact metrics you want regarding the key user actions, or add a screenshot of the dashboard you are talking about.

There are multiple metrics for key user actions you can querry form the API, and you can get them either for key user actions in general or for a specific key user action.

Here is a curl example, if you want the Visually Complete data points for all key user actions over the last hour:

```auto
curl -X GET "https://{yourTenant}.dynatrace-managed.com/e/{yourTenant}/api/v1/timeseries/com.dynatrace.builtin%3Aappmethod.visuallycomplete?includeData=true&aggregationType=MEDIAN&relativeTime=hour&queryMode=SERIES&Api-Token={yourAPIToken}" -H "accept: application/json; charset=utf-8"

```

---

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 29, 2018, 7:08am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/9 "2018-07-29T07:08:36Z")

</div>

Hi Patrick, Thanks for your response,

**com.dynatrace.builtin%3Aappmethod.visuallycomplete?includeData=true**

**&aggregationType=MEDIAN**

**&relativeTime=hour**

**&queryMode=SERIES**

**&Api-Token={yourAPIToken}" -H “accept: application/json; charset=utf-8”**

Can you emphasize where I put the name of the user’s key action or the name of the dashboard ?

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 30, 2018, 7:58am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/10 "2018-07-30T07:58:16Z")

</div>

You can’t filter for a dashboard.

If you want a specific key user action you need to use the _entity_ parameter as mentioned above. You can find the entity id for your key user actions either via the query for all key user actions or in the URL of the key user action dashboard. It starts with _APPLICATION\_METHOD-_ followed by some numbers.

---

<div class="post-metadata">

**Author:** ![smelamed](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/smelamed/32/7799_2.png) [@smelamed](https://community.dynatrace.com/u/smelamed)\
**Post date:** [July 30, 2018, 11:59am UTC](https://community.dynatrace.com/t/we-have-a-dashboard-key-user-actions-if-i-can-get-response-time-of-key-actions-through-api/14124/11 "2018-07-30T11:59:25Z")

</div>

I have problem with _APPLICATION\_METHOD ID._

_i have “Key user action”_ _ **;uemapplicationId=APPLICATION-XXXXXXF27D43EB;** _

_and other “Key user action”_ _ **;uemuserActionId=APPLICATION\_METHOD-** __**XXXXXX**__ **AD91284AC5;** _

I’m sending requests

first rquest

×eriesId=com.dynatrace.builtin:app.dominteractiveconsumption.load&relativeTime=5mins&aggregationType=median&entity=_ **XXXXXX** __ **AD91284AC5** _

and other request

×eriesId=com.dynatrace.builtin:app.dominteractiveconsumption.load&relativeTime=5mins&aggregationType=median&entity=_ **XXXXXX** __ **B59F27D43EB** _

I get the same response in different “entity”

 ![17786-response.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/8/48fb6e9fd3b311703950b9aca93d4edceb1e26be.png)
