# API Call or commond to gather OneAgent Version details on Each Host

**URL:** <https://community.dynatrace.com/t/api-call-or-commond-to-gather-oneagent-version-details-on-each-host/14350>\
**Category:** Dynatrace API\
**Tags:** oneagent, dynatrace-api\
**Created:** [August 2, 2018, 5:57am UTC](https://community.dynatrace.com/t/api-call-or-commond-to-gather-oneagent-version-details-on-each-host/14350 "2018-08-02T05:57:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pshinde](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pshinde/32/10356_2.png) [@pshinde](https://community.dynatrace.com/u/pshinde)\
**Post date:** [August 2, 2018, 5:57am UTC](https://community.dynatrace.com/t/api-call-or-commond-to-gather-oneagent-version-details-on-each-host/14350/1 "2018-08-02T05:57:36Z")

</div>

Hi Team , We have huge Dynatrace environment and it is very difficult to keep track of OneAgent version on each server . Also their is no functionality available in tool by which we can extract the details in report. Though we can see it on console. Using API call we have option to pull host details but it does not show OneAgent version details in that . Kindly help us to know if any command or API call available to pull OneAgent version details on each servers. This is required to prepare for OneAgent upgrade Plan .

---

_[View the full topic](https://community.dynatrace.com/t/api-call-or-commond-to-gather-oneagent-version-details-on-each-host/14350)._
