# Request Naming Rules - API

**URL:** <https://community.dynatrace.com/t/request-naming-rules-api/34130>\
**Category:** Dynatrace API\
**Tags:** request-naming, dynatrace-api\
**Created:** [February 14, 2022, 5:36pm UTC](https://community.dynatrace.com/t/request-naming-rules-api/34130 "2022-02-14T17:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![royjperry14](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/royjperry14/32/24688_2.png) [@royjperry14](https://community.dynatrace.com/u/royjperry14)\
**Post date:** [February 14, 2022, 5:36pm UTC](https://community.dynatrace.com/t/request-naming-rules-api/34130/1 "2022-02-14T17:36:55Z")

</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

---

<div class="post-metadata">

**Author:** ![Radu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radu/32/23351_2.png) [@Radu](https://community.dynatrace.com/u/Radu)\
**Post date:** [February 15, 2022, 9:08am UTC](https://community.dynatrace.com/t/request-naming-rules-api/34130/2 "2022-02-15T09:08:48Z")

</div>

Hello,

This is not possible.

The API is intentionally meant to work with only globally-scoped rules.

Any web request naming rule created via the API will apply globally over any Service with requests that match the definition. Therefore, the API has no awareness of individual services.

Currently, the only way to view or edit individual Service web request naming rules is through the UI, by accessing the individual Service entity settings.

Best regards,

Radu
