Postman for effortless Dynatrace API access across environments
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎31 Aug 2020 02:43 PM - edited ‎29 May 2024 09:15 AM
I've been updating Postman collections for myself for a while to make it easier to work with the Dynatrace API across multiple clusters, tenants, and environments.
I have put the files on github now, maybe someone will find it useful.
If you need the Account Management API check out the Postman Collection from my fellow DynaMight @DanielS!
Setup is very quick, then you can just select the request and environment against which to execute it.
Here is a short guide:
Import collections
Postman is available for free from postman.com.
Import (file -> import) the collection .json files for the APIs you want:
A separate collection for each, including all requests of that API, will be created:
Create environments
For each of your Dynatrace environments/tenants you want to use, add a postman environment via manage environments -> add:
The environment needs two variables (names are case sensitive!):
- DT_HOST
- URL to the environments
- For managed: your-dt-domain.com/e/Environment-ID
- example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2
- For SaaS: Env-ID.live.dynatrace.com
- abc133769.live.dynatrace.com
- For managed: your-dt-domain.com/e/Environment-ID
- URL to the environments
- DT_TOKEN
- An API token for the environment
Request away!
Now you can open any request and easily execute it against different Dynatrace environments by selecting the environment on the top right:
- Labels:
-
dynatrace api
-
usability
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎31 Aug 2020 03:07 PM
This seems very interesting! Going to check it out when I have a little time.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎06 Jul 2021 03:07 PM - edited ‎06 Jul 2021 03:19 PM
Thanks @pahofmann for sharing, sure will be useful.
I cant find the way to get the json files.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎06 Jul 2021 03:24 PM
You can get from from the API Explorer.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Jul 2021 11:09 AM
The collections are saved as .json files in the repository.
You can either copy them from the specs folder or just download the whole bundle from the releases page.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Jul 2021 01:31 PM
Thanks a lot man
Good day 🙂
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎09 Jul 2021 09:57 AM
With one of the recent Postman version the UI changed a bit. The environments can now be found in the left side menue:
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎11 Jul 2021 08:12 AM
Yes, i used this version after my last post
Thanks or your update.
Very Useful
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎21 Sep 2021 01:50 PM
Latest Release updated to Version 1.226 (Cluster API 1.224)
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎08 Nov 2021 04:02 PM
It was very much helpful and this acts as a utility to have. It saves a lot of time while working with customers.
Thanks for sharing.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎14 Mar 2022 05:26 PM - edited ‎15 Mar 2022 11:25 AM
Updated to 1.234: Github Link.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎27 Apr 2022 10:49 AM
top nodge, we are currently working on an API v2 version for integration to Splunk , having this so visual in postman really helps. works like a charm.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎21 Sep 2022 02:04 PM
Update to 1.248: Github Release Link.
Also automated the process so future updates can be more frequent or be done by the user if in a hurry.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎25 Oct 2022 03:53 PM
Updated to 1.250: Github Release Link.
Also there is a Insomnia Version now: Community Thread - Github
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Nov 2022 01:21 PM
hi @pahofmann the links on your initial page are now not working (404), I guess because of the update? (pahofmann/dynatrace-postman-collections: Summary of postman collections for all dynatrace APIs. (git...
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Nov 2022 06:36 PM
Thanks, updated 🙂
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Nov 2022 06:40 PM
Thank you x 2 ! 🙂
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎19 Jan 2023 04:51 PM
Updated to 1.258 (Environment) and 1.256 (Cluster): Github Release Link
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎27 Mar 2023 11:08 AM
Updated Env and Cluster to 260: Github Release Link
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎27 Mar 2023 03:41 PM
Thanks for keeping this updated.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎30 Mar 2023 05:34 AM
@pahofmann thank you for maintaining this and please keep posting as you make updates. This is a very useful solution you've created here.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎30 Mar 2023 03:46 PM
Thanks, always nice to hear. Will do.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎13 Jul 2023 09:59 AM
Update to Environment 1.270 and Cluster 1.268: Github Release
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎13 Sep 2023 03:13 PM - edited ‎13 Sep 2023 03:13 PM
Updated to Environment/Cluster 1.274: Github Release.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎29 Sep 2023 02:19 PM
@pahofmann Firstly thanks for this its to truly helpful. Is there a way I can get the metadata / manifest file for the API's. In OCI DI you have to create a REST API task that requires you to add a json or yml manifest file for the API you calling.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎17 Oct 2023 03:33 PM
Great to hear it helps. Sorry for the late reply, I was on vacation 🙂
You can download the OpenAPI Spec file for the dynatrace API directly from your environment.
Just go to the API browser (via person icon on the top right), there you have the option to download the spec.json:
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎29 May 2024 10:26 AM
Updated to Environment/Cluster 1.290: Github Release.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎07 Aug 2024 02:13 PM
It's been a while, updated to Environment/Cluster 1.296: Github Release.
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎21 Mar 2025 09:24 AM
Updated to Environment/Config 310 and Cluster 308: Github release.
