# Access additional host metrics using infrastructure API

**URL:** <https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [September 6, 2018, 3:14am UTC](https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376 "2018-09-06T03:14:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_neighbou2](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@steve\_neighbou2](https://community.dynatrace.com/u/steve_neighbou2)\
**Post date:** [September 6, 2018, 3:14am UTC](https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376/1 "2018-09-06T03:14:29Z")

</div>

I’m using the Managed API to retrieve information about hosts and was wondering if this can be expanded?

As an example, i can retrieve CPU count, hostname, associated tags using a query like this;

[tenant.dynatrace-managed.com/e/ENVIRONMENT/api/v1/entity/infrastructure/hosts/?Api-token=token](http://tenant.dynatrace-managed.com/e/ENVIRONMENT/api/v1/entity/infrastructure/hosts/?Api-token=token)

```auto
osType: "WINDOWS",
osArchitecture: "X86",
osVersion: "Windows Server 2012 R2 Standard, ver. 6.3.9600",
hypervisorType: "VMWARE",
ipAddresses:
["192.xx",
"192.xx"
],
bitness: "64bit",
cpuCores: 4,
logicalCpuCores: 4,
monitoringMode: "FULL_STACK",
agentVersion:
{major: 1,
minor: 149,
revision: 213,
timestamp: "20180809-141631",
sourceRevision: ""
},
consumedHostUnits: 1,
userLevel: "SUPERUSER"

```

Can other host level stats also be included at this same level? The 2 specific ones i’m interested at Total Installed RAM Gb (12) and Uptime Days (57).

If not, is there an alternative way to get this info currently via the API?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [June 24, 2020, 12:55pm UTC](https://community.dynatrace.com/t/access-additional-host-metrics-using-infrastructure-api/15376/2 "2020-06-24T12:55:35Z")

</div>

At this time I dont believe so. I know that others have requested that total Memory Count to be in the API, There also was a Custom tile that you could create that would list the up time of a server. We used that tile to determine if any servers we missed at the time of patch night as all servers get restarted. But that feature was removed with a cluster update about this time last year.

These are great enhancements and while they are not available today, you can place a RFE which will gain the attention of the developers and since others have asked this question as well, maybe they will start working on a solution and implement it in a future cluster update.

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3D862da2d4-282b-4f2e-bcde-f3f73874f5c8&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**
