# JVM Thread pool usage percentage API

**URL:** <https://community.dynatrace.com/t/jvm-thread-pool-usage-percentage-api/31752>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [June 9, 2021, 2:14pm UTC](https://community.dynatrace.com/t/jvm-thread-pool-usage-percentage-api/31752 "2021-06-09T14:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek\_jawand](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@abhishek\_jawand](https://community.dynatrace.com/u/abhishek_jawand)\
**Post date:** [June 9, 2021, 2:14pm UTC](https://community.dynatrace.com/t/jvm-thread-pool-usage-percentage-api/31752/1 "2021-06-09T14:14:45Z")

</div>

Hi,

I am looking to capture websphere jvm thread pool used percentage value through dynatrace API. Kindly let me know if it is possible and share relevant API

Regards,

Sivesh Kumar R

---

<div class="post-metadata">

**Author:** ![imran\_khan](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@imran\_khan](https://community.dynatrace.com/u/imran_khan)\
**Post date:** [October 27, 2021, 8:51pm UTC](https://community.dynatrace.com/t/jvm-thread-pool-usage-percentage-api/31752/2 "2021-10-27T20:51:41Z")

</div>

Hi Sivesh,  
You would want to use our Metrics V2 api endpoint. And this is the metricID you need to use for this,

```markup
builtin:tech.websphere.connectionPool.connectionPoolModule.PercentUsed

```

Here’s a sample api request url:

```markup
{envurl}/api/v2/metrics/query?metricSelector=builtin:tech.websphere.connectionPool.connectionPoolModule.PercentUsed&from=now-1h&resolution=1m

```

Please apply the API token with an Authorization header.  
Thanks,  
Imran
