# How to view all key requests?

**URL:** <https://community.dynatrace.com/t/how-to-view-all-key-requests/40119>\
**Category:** Open Q&A\
**Tags:** request-attributes, key-requests\
**Created:** [June 8, 2023, 1:59am UTC](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119 "2023-06-08T01:59:42Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![JhonKenneth](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@JhonKenneth](https://community.dynatrace.com/u/JhonKenneth)\
**Post date:** [July 11, 2023, 6:58am UTC](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119/21 "2023-07-11T06:58:47Z")

</div>

This might be the reason why i am still getting the limit of 100. Our Manage Nodes are 3 updates away to 1.266 version.

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [July 11, 2023, 11:15am UTC](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119/22 "2023-07-11T11:15:05Z")

</div>

Yes, that would be it.&nbsp; Work with team to update to 266 or above.&nbsp; Some great new items that are beneficial.

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [July 25, 2024, 6:40pm UTC](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119/23 "2024-07-25T18:40:06Z")

</div>

Has anyone done this in Grail?&nbsp; I think it is possible and I got some result.&nbsp; Just not complete result yet.

I am working with Dynatrace to come up with a solution in Grail.

---

<div class="post-metadata">

**Author:** ![shohebakthar](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@shohebakthar](https://community.dynatrace.com/u/shohebakthar)\
**Post date:** [July 20, 2026, 7:37am UTC](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119/24 "2026-07-20T07:37:46Z")

</div>

This query retrieves all service methods (key requests) along with their lifetime details and then performs a lookup against request metrics to check whether each key request has traffic data within the selected timeframe. As a result, it helps identify both active and inactive key requests, and when filtered, it specifically highlights those key requests that have no request data. This is useful for detecting unused, inactive, or orphaned endpoints in services for cleanup, optimization, or monitoring purposes.

The **first query** is used to list all key requests (both with and without traffic data) based on the selected timeframe.

| 

```
fetch dt.entity.service_method
| fieldsAdd startDate=lifetime[start]
| fieldsAdd endDate=lifetime[end]
| lookup [
timeseries by:{endpoint.name}, request_count = sum(dt.service.request.count)
| fieldsRename key_request = endpoint.name

```

 |

The **second query** builds on the first one and adds a filter to show only those key requests that **do not have any request data**.

| 

```
fetch dt.entity.service_method
| fieldsAdd startDate=lifetime[start]
| fieldsAdd endDate=lifetime[end]
| lookup [
timeseries by:{endpoint.name}, request_count = sum(dt.service.request.count)
| fieldsRename key_request = endpoint.name

```

 |

[Previous page](https://community.dynatrace.com/t/how-to-view-all-key-requests/40119.md?page=1)
