<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293688#M3082</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;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&lt;/P&gt;&lt;P&gt;IMO, u can use DQL to discover&amp;nbsp;which fields/properties exist for an entity type.&lt;BR /&gt;Look here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_0-1769508996570.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31753iDDB78678D3C2ADC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_0-1769508996570.png" alt="t_pawlak_0-1769508996570.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This returns the available fields you can later add via fieldsAdd.&lt;BR /&gt;Then you can fetch entities of a given type and add the properties you need.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_1-1769509088534.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31754i5438888911B06AA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_1-1769509088534.png" alt="t_pawlak_1-1769509088534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another TRICK and TIPS.&amp;nbsp;If you want “all types” (topology-style):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;smartscapeNodes "*"
| limit 100&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_2-1769509160123.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31755iE053D25D55C2CC9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_2-1769509160123.png" alt="t_pawlak_2-1769509160123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That’s the “show me nodes regardless of type” approach in Smartscape on Grail.&lt;BR /&gt;&lt;BR /&gt;Her u have links, with u can check:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/whats-new/dynatrace-api/deprecated-apis" target="_blank"&gt;https://docs.dynatrace.com/docs/whats-new/dynatrace-api/deprecated-apis&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/grail/querying-monitored-entities" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/grail/querying-monitored-entities&lt;/A&gt;&lt;BR /&gt;ANd this what&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;send&lt;BR /&gt;&lt;A title="Monitored entities API - GET entities list" href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list" target="_blank" rel="noopener noreferrer"&gt;Monitored entities API - GET entities list&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jan 2026 10:21:29 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2026-01-27T10:21:29Z</dc:date>
    <item>
      <title>Dynatrace API v2: Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293656#M3080</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It seems that it's no longer possible to view an entity's properties using the v2 API (/entities) -&amp;nbsp; see image.&lt;/P&gt;
&lt;P&gt;Do you have an example of a DQL query that returns all the properties as the API used to?&lt;/P&gt;
&lt;P&gt;We have scripts that make API calls. Will this be deprecated in the near future?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Carl_Me_0-1769461219546.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31748i57DF1A6BD2D88F1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Carl_Me_0-1769461219546.png" alt="Carl_Me_0-1769461219546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 06:19:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293656#M3080</guid>
      <dc:creator>Carl_Me</dc:creator>
      <dc:date>2026-02-11T06:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293670#M3081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Properties field is being returned using &lt;A title="Monitored entities API - GET entities list" href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list" target="_blank" rel="noopener"&gt;Monitored entities API - GET entities list&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 07:56:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293670#M3081</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-01-27T07:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293688#M3082</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;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&lt;/P&gt;&lt;P&gt;IMO, u can use DQL to discover&amp;nbsp;which fields/properties exist for an entity type.&lt;BR /&gt;Look here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_0-1769508996570.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31753iDDB78678D3C2ADC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_0-1769508996570.png" alt="t_pawlak_0-1769508996570.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This returns the available fields you can later add via fieldsAdd.&lt;BR /&gt;Then you can fetch entities of a given type and add the properties you need.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_1-1769509088534.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31754i5438888911B06AA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_1-1769509088534.png" alt="t_pawlak_1-1769509088534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another TRICK and TIPS.&amp;nbsp;If you want “all types” (topology-style):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;smartscapeNodes "*"
| limit 100&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_2-1769509160123.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31755iE053D25D55C2CC9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_2-1769509160123.png" alt="t_pawlak_2-1769509160123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That’s the “show me nodes regardless of type” approach in Smartscape on Grail.&lt;BR /&gt;&lt;BR /&gt;Her u have links, with u can check:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/whats-new/dynatrace-api/deprecated-apis" target="_blank"&gt;https://docs.dynatrace.com/docs/whats-new/dynatrace-api/deprecated-apis&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/grail/querying-monitored-entities" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/grail/querying-monitored-entities&lt;/A&gt;&lt;BR /&gt;ANd this what&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;send&lt;BR /&gt;&lt;A title="Monitored entities API - GET entities list" href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list" target="_blank" rel="noopener noreferrer"&gt;Monitored entities API - GET entities list&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 10:21:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293688#M3082</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-01-27T10:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293720#M3085</link>
      <description>&lt;P&gt;It's not clear to me how one would replace existing API calls to "&lt;SPAN&gt;api/v2/entities?entitySelector=type..." &lt;/SPAN&gt;with "DQL and SmartScape"&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 18:39:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293720#M3085</guid>
      <dc:creator>ljonsson</dc:creator>
      <dc:date>2026-01-27T18:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293726#M3086</link>
      <description>&lt;P&gt;Me neither. I find it much more complex to retrieve the information we had in the API's JSON.&lt;/P&gt;&lt;P&gt;Especially when we could use the entity ID and get its configuration. It seems more complex to do in DQL.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 20:07:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/293726#M3086</guid>
      <dc:creator>Carl_Me</dc:creator>
      <dc:date>2026-01-27T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/294552#M3139</link>
      <description>&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;On a related note, if you could create a /dql_query="fetch ..." endpoint that would be awesome!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 21:00:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/294552#M3139</guid>
      <dc:creator>LordNykkon</dc:creator>
      <dc:date>2026-02-10T21:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace APi v2 : Manage monitored entities - Deprecated in SaaS</title>
      <link>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/294557#M3140</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76286"&gt;@LordNykkon&lt;/a&gt;&amp;nbsp;the Grail Query Platform API is located at &lt;A href="https://community.dynatrace.com/" target="_blank"&gt;https://&amp;lt;environment&amp;gt;.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Grail+-+DQL+Query#/Query%20Execution/query%3Aexecute&lt;/A&gt;&amp;nbsp;(swagger).&lt;BR /&gt;The API endpoint itself is&amp;nbsp;&lt;A href="https://community.dynatrace.com/" target="_blank"&gt;https://&amp;lt;environment&amp;gt;.apps.dynatrace.com/platform/storage/query/v1/query:execute&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You need either OAuth client or a Platform token to access this platform API.&amp;nbsp;&lt;BR /&gt;Further docs -&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/access-platform-apis-from-outside/" target="_blank"&gt;https://developer.dynatrace.com/develop/access-platform-apis-from-outside/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developer.dynatrace.com/develop/sdks/client-query/#executerequest" target="_blank"&gt;https://developer.dynatrace.com/develop/sdks/client-query/#executerequest&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Actually, it not that difficult, but requires a little bit more work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'POST' \
  'https://&amp;lt;YOUR_ENVIRONMENT&amp;gt;.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 &amp;lt;YOUR_TOKEN&amp;gt;' \
  -d '{
  "query": "fetch dt.entity.host | limit 10",
  "requestTimeoutMilliseconds": 1000
}'&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;For scripting (especially shell scripting), I'd consider using dtctl instead&amp;nbsp;&lt;A href="https://github.com/dynatrace-oss/dtctl" target="_blank"&gt;https://github.com/dynatrace-oss/dtctl&lt;/A&gt;&amp;nbsp;:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ dtctl query "fetch dt.entity.host"
ENTITY NAME  ID                    
node2.xxxx   HOST-CCA6561347DAAA74   
app02.yyy    HOST-7EA1B005A5DDECED &lt;/LI-CODE&gt;&lt;P&gt;And it allows you to format to yaml/json too, similar to kubectl.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 22:16:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Dynatrace-API-v2-Manage-monitored-entities-Deprecated-in-SaaS/m-p/294557#M3140</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-02-10T22:16:35Z</dc:date>
    </item>
  </channel>
</rss>

