# inactive oneagent

**URL:** <https://community.dynatrace.com/t/inactive-oneagent/57021>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [September 27, 2026, 8:52am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021 "2026-09-27T08:52:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [September 27, 2026, 8:52am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/1 "2026-09-27T08:52:18Z")

</div>

i want take list of one agent ever enrolled irrespective of active/offline/uninstalled status . .

and also one agent monitoring status .&nbsp; monitored entity api show only mode infra/full stack . ismonitoringcandidate does not reflect&nbsp; correct status .

how can i get it . in one of the thread there is an option v1/oneagent?include\_details=true but it is too slow processing one entity at a time , evertime timed out&nbsp; at 900 entity [we have 4000 entities] . any other options ?

basically want to extract agent status and monitoring status

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 27, 2026, 11:00pm UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/2 "2026-09-27T23:00:00Z")

</div>

[@Vijayt](https://community.dynatrace.com/user/75656)&nbsp;Please take a look at Fleet Management, it includes most of the information you are after

> **[Fleet Management](https://docs.dynatrace.com/docs/ingest-from/fleet-management)**
>
> Monitor OneAgent and ActiveGate health, manage updates, and install new components at scale from the Dynatrace Fleet Management app.

---

<div class="post-metadata">

**Author:** ![dylan\_taelemans](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dylan_taelemans/32/21501_2.png) [@dylan\_taelemans](https://community.dynatrace.com/u/dylan_taelemans)\
**Post date:** [September 28, 2026, 7:10am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/3 "2026-09-28T07:10:51Z")

</div>

fetch dt.entity.host  
| fields entity.name, id, state, monitoringMode  
| sort entity.name asc

---

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [September 28, 2026, 7:52am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/4 "2026-09-28T07:52:22Z")

</div>

forgot to mention i have only classic mode only

---

<div class="post-metadata">

**Author:** ![dylan\_taelemans](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dylan_taelemans/32/21501_2.png) [@dylan\_taelemans](https://community.dynatrace.com/u/dylan_taelemans)\
**Post date:** [September 28, 2026, 8:19am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/5 "2026-09-28T08:19:20Z")

</div>

Okay, normally it should indeed be **/api/v1/oneagents**.

First, you don’t need the includeDetails=true parameter. The availabilityState and detailedAvailabilityState are already included in the response, so set includeDetails=false.

The API returns around ±200&nbsp; **entities per request**. Once you receive the response, you can use the **next page key** in your next API call.

For the subsequent calls, you must specify the next page key value in your query, and keep all other query parameters as they were in the original request.

Keep looping through the pages until you’ve retrieved all the entries.

---

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [September 29, 2026, 4:13am UTC](https://community.dynatrace.com/t/inactive-oneagent/57021/6 "2026-09-29T04:13:39Z")

</div>

Thank you&nbsp; for this . in v1 webpage it is hanging and timedout . i did via excel powerM query and it is fetching .&nbsp; but

my v2/entities&nbsp; with host filter start=now-200days&nbsp; return 5218 records&nbsp; while

v1/oneagent with same start=now-200days just return 2263 records only . our recently uninstall itself is 3000+. but&nbsp;UNMONITORED\_AGENT\_UNINSTALLED filter shows only 274 . any reason ?
