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

Hi Prashant,

The API call to fetch the list of monitored hosts contains the agent version information for each host. You should see something like "agentVersion:{major:1, minor:139, revision:240, sourceRevision":“”, timestamp:“xxxxxx”}. This translates to agent version 139.240 on that host that was updated on the value of the time-stamp.

See details on the documentation of this API call here

Using python, you can retrieve this data in a way that is more presentable by combining the values of minor and revision. You may want to verify what version you are running as I believe this became possible in server v139 or v140 for managed. Hope this helps

Thanks

NJ