# ActiveGate supports calls to all the Dynatrace API configuration

**URL:** <https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110>\
**Category:** Dynatrace API\
**Tags:** activegate, dynatrace-api\
**Created:** [November 2, 2022, 4:22pm UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110 "2022-11-02T16:22:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://community.dynatrace.com/u/msb)\
**Post date:** [November 2, 2022, 4:22pm UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/1 "2022-11-02T16:22:17Z")

</div>

Looking at the documents it states “ActiveGate supports calls to all the Dynatrace API configuration” but all the examples I find limit this to environment information.&nbsp; What is the syntax to get non-environment information, like a list of Dynatrace Managed Cluster environments?

> **[Configuration properties and parameters of ActiveGate](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/configuration/configure-activegate)**
>
> Learn which ActiveGate properties you can configure based on your needs and requirements.

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 2, 2022, 9:11pm UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/2 "2022-11-02T21:11:41Z")

</div>

Hi&nbsp;[@msb](https://community.dynatrace.com/user/56516),

Maybe I do not understand clearly your problem, but you can find cluster wide information in the Cluster API v1 ans v2.

[https://www.dynatrace.com/support/help/shortlink/managed-hub#rest-api](https://www.dynatrace.com/support/help/shortlink/managed-hub#rest-api)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://community.dynatrace.com/u/msb)\
**Post date:** [November 3, 2022, 1:45am UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/3 "2022-11-03T01:45:24Z")

</div>

I have been able to successful get and post a new environment in a python script going through my Managed Dynatrace Cluster.

But now I am writing unit test cases and I cannot call the Managed Dynatrace Cluster as they are non-routable IPs, so I am calling ActiveGate which I can call on port 9999 and get information on the environments to unit test, but in the doco I only see it calling through the ActiveGate using an environment ID, but do not want environment specific information.

Let me re-state my question - What is the syntax to get non-environment information going through ActiveGate?  
[https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/co…](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/configure-activegate#api_mod)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 3, 2022, 6:59am UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/4 "2022-11-03T06:59:55Z")

</div>

It’s simple - the environment activegate stands for being an environment active gate. Thus you cannot call cluster APIs through it. You need to call the Cluster directly.

---

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://community.dynatrace.com/u/msb)\
**Post date:** [November 3, 2022, 2:54pm UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/5 "2022-11-03T14:54:19Z")

</div>

This is a Cluster ActiveGate not an Environment ActiveGate, so I think we should be able to do a GET and POST environment method through API V2?&nbsp;  
If yes, I cannot find the format of this call.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 3, 2022, 3:49pm UTC](https://community.dynatrace.com/t/activegate-supports-calls-to-all-the-dynatrace-api-configuration/37110/6 "2022-11-03T15:49:34Z")

</div>

Cluster ActiveGate does not expose this capability either.
