# percentageOfEnvironmentSearched

**URL:** <https://community.dynatrace.com/t/percentageofenvironmentsearched/47539>\
**Category:** Dynatrace Tips\
**Tags:** dynatrace-api\
**Created:** [September 8, 2024, 8:05pm UTC](https://community.dynatrace.com/t/percentageofenvironmentsearched/47539 "2024-09-08T20:05:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [September 8, 2024, 8:05pm UTC](https://community.dynatrace.com/t/percentageofenvironmentsearched/47539/1 "2024-09-08T20:05:22Z")

</div>

The other day, when dealing with the OneAgent on a host API,

> **[OneAgent on a host - GET a list of hosts with OneAgent details](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/oneagent-on-a-host/get-all-hosts-with-oneagents)**
>
> Check the configuration of OneAgent instances on your hosts via Dynatrace API.

I saw a strange (for me) element in the JSON reply: percentageOfEnvironmentSearched

For everyone dealing with the API, in tenants with many hosts, the environment is only searched in partitions. I’m not sure when partitioning begins, but you should be aware of percentageOfEnvironmentSearched and also nextPageKey

 ![AntonioSousa_0-1725825910708.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/0/103d49ee64d9c3c91bf16c80002aeeecab2eb55a.png)
