27 Sep 2026 09:52 AM
i want take list of one agent ever enrolled irrespective of active/offline/uninstalled status . .
and also one agent monitoring status . monitored entity api show only mode infra/full stack . ismonitoringcandidate does not reflect 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 at 900 entity [we have 4000 entities ] . any other options ?
basically want to extract agent status and monitoring status
28 Sep 2026 12:00 AM
@Vijayt Please take a look at Fleet Management, it includes most of the information you are after
https://docs.dynatrace.com/docs/ingest-from/fleet-management
28 Sep 2026 08:10 AM
fetch dt.entity.host
| fields entity.name, id, state, monitoringMode
| sort entity.name asc
28 Sep 2026 08:52 AM
forgot to mention i have only classic mode only
28 Sep 2026 09:19 AM - edited 28 Sep 2026 09:19 AM
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 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.
Featured Posts