# Is there a way to query Settings via DQL?

**URL:** <https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544>\
**Category:** DQL\
**Tags:** dql, settings, dynatrace-api\
**Created:** [January 6, 2026, 9:31pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544 "2026-01-06T21:31:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![36Krazyfists](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/36krazyfists/32/37434_2.png) [@36Krazyfists](https://community.dynatrace.com/u/36Krazyfists)\
**Post date:** [January 6, 2026, 9:31pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544/1 "2026-01-06T21:31:55Z")

</div>

For example, I’d like to get a list of all of our configured Davis Anomaly Detectors that contain the word “Mail” in them so that I can easily pass on a report of what alerts are setup for our Email (Exchange) team.

I don’t see a way to do this with the current fetch commands, as they only allow you to query the Davis Events and Problem tables which are for alerts/events that have triggered.&nbsp; I want a list of what’s configured that could possibly trigger.

And really, that’s just one example.&nbsp; In general, I’d like to be able to query other configuration settings via DQL so that I can easily see how things are set without having to go do an API call to the Settings API via PostMan or Swagger every time.

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [January 6, 2026, 9:40pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544/2 "2026-01-06T21:40:30Z")

</div>

Hi,

I don’t believe this is possible. You should be able to do it via the custom Javascript code in a notebook though.&nbsp;  
I’ve not tested it but it should work. More info [here](https://developer.dynatrace.com/develop/sdks/client-classic-environment-v2/).

KR.  
Michiel

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 7, 2026, 6:59am UTC](https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544/3 "2026-01-07T06:59:40Z")

</div>

[@36Krazyfists](https://community.dynatrace.com/user/41155)&nbsp;configuration is not exposed via DQL in Grail. But it’s accessible through [platform API](https://developer.dynatrace.com/develop/access-platform-apis-from-outside/) or [TypeScript SDK](https://developer.dynatrace.com/develop/sdks/) - for Davis Anomaly Detectors in particular this SDK&nbsp;[Davis® AI - predictive and causal | Dynatrace Developer](https://developer.dynatrace.com/develop/sdks/client-davis-analyzers/)

So you can easily set up a workflow in Dynatrace , query the Davis Analyzers and send out a report from the workflow.&nbsp; See the JavaScript code examples in the SDK docs for examples how to use it.

---

<div class="post-metadata">

**Author:** ![Joseph\_Hobbs](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseph_hobbs/32/34284_2.png) [@Joseph\_Hobbs](https://community.dynatrace.com/u/Joseph_Hobbs)\
**Post date:** [October 14, 2026, 11:49am UTC](https://community.dynatrace.com/t/is-there-a-way-to-query-settings-via-dql/54544/4 "2026-10-14T11:49:59Z")

</div>

If you haven’t done so already, check out the [Dynatrace CLI](https://github.com/dynatrace-oss/dtctl)&nbsp;(dtctl).&nbsp; It makes pulling data from the tenant way easier than having to fall back to Swagger or Postman.&nbsp; The Settings API is available via dtctl, both for read and write.
