Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insomnia for effortless dynatrace API access across environments

DynaMight Guru
DynaMight Guru

I already have a collection for Postman you can find here


I had a few requests for a Insomnia collection as well, so I created one. With this you have all Dynatrace API Endpoints in Insomnia and can switch easily between different dynatrace environments, clusters or tenants via Insomnia Environments.


I have put the files on github, maybe someone will find it useful.


Setup is very quick, then you can just select the request and environment against which to execute it.


Here is a short guide:


Import collection

Import (Application -> Preferences -> Data -> Impot Data) .json file for the APIs.


A collection Dynatrace APIs will be created with subfolders for each API:


Create environments

For each of your dynatrace environments you want to use, add a insomnia environment environment dropdown -> Manage Environments:



You can adapt the Example Environment or create new ones based on it, you need to adjust the following:

  • base_url
    • URL to the environments
      • For managed:  https: //
        • https: //
      • For managed (Cluster API): https: //
        • https: //
      • For SaaS: https: //
        • https: //
  • authorization
    • Enter the token instead of REPLACE_ME_WITH_TOKEN
      • Api-Token dt01.PUBLIC.SECRET


Request away!

Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top left.


Dynatrace Certified Master - Dynatrace Partner -

DynaMight Legend
DynaMight Legend

Thanks for the Pro Tip @pahofmann 


DynaMight Pro
DynaMight Pro

Perhaps you can make the json file easy to download as you did for the postman collection.

Kind regards, Frans Stekelenburg                 Certified Dynatrace Associate |, Dynatrace Partner

You can find the JSON under releases on github:

Dynatrace Certified Master - Dynatrace Partner -

Featured Posts