# Bruno for effortless Dynatrace API access across environments

**URL:** <https://community.dynatrace.com/t/bruno-for-effortless-dynatrace-api-access-across-environments/53090>\
**Category:** Dynatrace Tips\
**Tags:** bruno, tips-and-tricks, dynatrace-api\
**Created:** [August 25, 2025, 1:55pm UTC](https://community.dynatrace.com/t/bruno-for-effortless-dynatrace-api-access-across-environments/53090 "2025-08-25T13:55:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [August 25, 2025, 1:55pm UTC](https://community.dynatrace.com/t/bruno-for-effortless-dynatrace-api-access-across-environments/53090/1 "2025-08-25T13:55:09Z")

</div>

I had people ask for a [bruno](https://www.usebruno.com/)&nbsp;version of my&nbsp;[Postman Dynatrace Collections](https://community.dynatrace.com/post/252815), so here they are!

Here is the [Github Page](https://github.com/pahofmann/dynatrace-bruno-collections) and Latest [Github Release](https://github.com/pahofmann/dynatrace-bruno-collections/releases/tag/1.320) (DT API 1.320).

This is a summary of&nbsp;[bruno](https://www.usebruno.com/)&nbsp;collections for all dynatrace APIs.

I’ve added variables to make them easy to use with multiple dynatrace clusters, environments and tenants by utilizing&nbsp;[bruno environments](https://docs.usebruno.com/variables/environment-variables)

The master branch includes the latest version, older versions are available in the releases.

# How to

## Import collections

Import (… → Import Collection) the&nbsp;[collection](https://learning.postman.com/docs/sending-requests/intro-to-collections/)&nbsp;.json file for the APIs you want:

 ![import.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/b/5be94528a5361cdbf3aef0b475d5056b62923b23.png)

- [Environment API v1](https://raw.githubusercontent.com/pahofmann/dynatrace-bruno-collections/master/specs/environment-v1.json)
- [Environment API v2](https://raw.githubusercontent.com/pahofmann/dynatrace-bruno-collections/master/specs/environment-v2.json)
- [Configuration API](https://raw.githubusercontent.com/pahofmann/dynatrace-bruno-collections/master/specs/configuration.json)
- [Cluster API v1](https://raw.githubusercontent.com/pahofmann/dynatrace-bruno-collections/master/specs/cluster-v1.json)
- [Cluster API v2](https://raw.githubusercontent.com/pahofmann/dynatrace-bruno-collections/master/specs/cluster-v2.json)

A separate collection will be created for each API:

 ![collections.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/5/257aa855054499ccc887cc5176adadf81977b424.png)

## Create environments

For each of your dynatrace environments you want to use, add a bruno GLOBAL environment via&nbsp;GLOBE → Configure:

 ![manage-environments.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/c/2c4407a8dc8c4256d8defaf4c6e9eceefa62e9fa.png)

The environment needs two variables:

- DT\_HOST
  - URL to the environment
    - For managed:&nbsp;[your-dt-domain.com/e/Environment-ID](http://your-dt-domain.com/e/Environment-ID)
      - e.g.:&nbsp;[example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2](http://example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2)

    - For managed (Cluster API):&nbsp;[your-dt-domain.com](http://your-dt-domain.com)
      - e.g.:&nbsp;[example.com](http://example.com)

    - For SaaS:&nbsp;[Env-ID.live.dynatrace.com](http://Env-ID.live.dynatrace.com)
      - [abc133769.live.dynatrace.com](http://abc133769.live.dynatrace.com)

- DT\_TOKEN
  - An API token for the environment

 ![new-environment.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fb84abb6da374cf1745e7a37bf90d2ab59407cce.png)

## Request away!

Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top right.  
If necessary you can add parameters for the reqeust in the&nbsp;Params&nbsp;tab.

 ![send-request.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/65128a1f202df703b16669669eeb942287c4b5bd.png)
