# Dynatrace API v2: Manage monitored entities - Deprecated in SaaS

**URL:** <https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757>\
**Category:** DQL\
**Tags:** dql, dynatrace-api\
**Created:** [January 26, 2026, 9:04pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757 "2026-01-26T21:04:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Me](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@Carl\_Me](https://community.dynatrace.com/u/Carl_Me)\
**Post date:** [January 26, 2026, 9:04pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/1 "2026-01-26T21:04:22Z")

</div>

Hello,

It seems that it’s no longer possible to view an entity’s properties using the v2 API (/entities) -&nbsp; see image.

Do you have an example of a DQL query that returns all the properties as the API used to?

We have scripts that make API calls. Will this be deprecated in the near future?

Thanks

 ![Carl_Me_0-1769461219546.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c8ad48a42c48980352b248fe3a84110837e6731c.png)

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 27, 2026, 7:56am UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/2 "2026-01-27T07:56:02Z")

</div>

Hi,

Properties field is being returned using [Monitored entities API - GET entities list](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list).

Best regards

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [January 27, 2026, 10:21am UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/3 "2026-01-27T10:21:29Z")

</div>

Hi,  
Yes — in Dynatrace SaaS the direction is to replace the classic “Monitored entities / Manage monitored entities” API usage with DQL + Smartscape on Grail (and OpenPipeline where applicable). That’s why you see it marked as Deprecated

IMO, u can use DQL to discover&nbsp;which fields/properties exist for an entity type.  
Look here:

 ![t_pawlak_0-1769508996570.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/8/983b0dc63e55b9b2317e838f32e9e019d9dfd05d.png)

This returns the available fields you can later add via fieldsAdd.  
Then you can fetch entities of a given type and add the properties you need.

 ![t_pawlak_1-1769509088534.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/0/60d745527e02b900301cb69579ae9d6cd0ad6e4a.png)

Another TRICK and TIPS.&nbsp;If you want “all types” (topology-style):

```markup
smartscapeNodes "*"
| limit 100

```

 ![t_pawlak_2-1769509160123.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/9/7995546c2804c9c3f346486fcbf471cceb5a5d37.png)

That’s the “show me nodes regardless of type” approach in Smartscape on Grail.

Her u have links, with u can check:

> **[Deprecated APIs](https://docs.dynatrace.com/docs/whats-new/dynatrace-api/deprecated-apis)**
>
> A list of deprecated endpoints of Dynatrace API

> **[Query monitored entities in Grail](https://docs.dynatrace.com/docs/platform/grail/querying-monitored-entities)**
>
> Find out how to query monitored entities in Grail.

ANd this what&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;send  
[Monitored entities API - GET entities list](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list).

---

<div class="post-metadata">

**Author:** ![ljonsson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ljonsson/32/33930_2.png) [@ljonsson](https://community.dynatrace.com/u/ljonsson)\
**Post date:** [January 27, 2026, 6:39pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/4 "2026-01-27T18:39:17Z")

</div>

It’s not clear to me how one would replace existing API calls to “api/v2/entities?entitySelector=type…” with “DQL and SmartScape”

---

<div class="post-metadata">

**Author:** ![Carl\_Me](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@Carl\_Me](https://community.dynatrace.com/u/Carl_Me)\
**Post date:** [January 27, 2026, 8:07pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/5 "2026-01-27T20:07:34Z")

</div>

Me neither. I find it much more complex to retrieve the information we had in the API’s JSON.

Especially when we could use the entity ID and get its configuration. It seems more complex to do in DQL.

---

<div class="post-metadata">

**Author:** ![LordNykkon](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@LordNykkon](https://community.dynatrace.com/u/LordNykkon)\
**Post date:** [February 10, 2026, 9:00pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/6 "2026-02-10T21:00:20Z")

</div>

Is there an existing endpoint where we can send DQL queries already and I just don’t know about it? I’m with the other folks here and don’t understand how we are supposed to query for monitored entities from outside of Dynatrace with all of our existing automations and external reporting tools that leverage this API endpoint.

On a related note, if you could create a /dql\_query=“fetch …” endpoint that would be awesome!

---

<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:** [February 10, 2026, 10:16pm UTC](https://community.dynatrace.com/t/dynatrace-api-v2-manage-monitored-entities-deprecated-in-saas/54757/7 "2026-02-10T22:16:35Z")

</div>

[@LordNykkon](https://community.dynatrace.com/user/76286)&nbsp;the Grail Query Platform API is located at [https://\<environment\>.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Grail±+DQL+Query#/Query%20Execution/query%3Aexecute](https://community.dynatrace.com/)&nbsp;(swagger).  
The API endpoint itself is&nbsp;[https://\<environment\>.apps.dynatrace.com/platform/storage/query/v1/query:execute](https://community.dynatrace.com/)

You need either OAuth client or a Platform token to access this platform API.&nbsp;  
Further docs -&nbsp;[Access platform APIs from outside | Dynatrace Developer](https://developer.dynatrace.com/develop/access-platform-apis-from-outside/)  
[Grail DQL query API | Dynatrace Developer](https://developer.dynatrace.com/develop/sdks/client-query/#executerequest)

Actually, it not that difficult, but requires a little bit more work:

```markup
curl -X 'POST' \
  'https://<YOUR_ENVIRONMENT>.apps.dynatrace.com/platform/storage/query/v1/query:execute' \
  -H 'accept: application/json' \
  -H 'enforce-query-consumption-limit: true' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -d '{
  "query": "fetch dt.entity.host | limit 10",
  "requestTimeoutMilliseconds": 1000
}'

```

For scripting (especially shell scripting), I’d consider using dtctl instead&nbsp;[GitHub - Dynatrace/dtctl: CLI for managing Dynatrace platform resources - built for humans and AI agents · GitHub](https://github.com/dynatrace-oss/dtctl)&nbsp;:

```markup
$ dtctl query "fetch dt.entity.host"
ENTITY NAME ID                    
node2.xxxx HOST-CCA6561347DAAA74   
app02.yyy HOST-7EA1B005A5DDECED

```

And it allows you to format to yaml/json too, similar to kubectl.
