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

Get all key request


Hi people,

I'm looking for a way to get all the key requests i have setted on my environment.

At the moment i have been using two different ways to get it:

1º Using Data explorer;

2º Using multidimensional analysis;

But both ways are based on the timeframe so it's not accurate as I need.

Hopefully the community can give me some ideas to find a way to get all the key request i have on my environment not depending by timeframe.

More like to show a vision about the limit of licenses i still have free.


Hi Babar,

Thanks for your helping!

DynaMight Leader
DynaMight Leader

see previous post and I gave a dashboard you can use to get key requests.  I know still has timeframe but but I could do after talking with Dynatrace team.


Also another post on limits in another post:


Dynatrace Certified Professional

Hi Kenny,

Thanks for your helping!

Dynatrace Enthusiast
Dynatrace Enthusiast


below you can find a short snippet of a method in Python that you can use to get all key requests:

def getKeyRequests():
    url = ROOT_URL + "/api/v2/entities"
    parameters = {
        'entitySelector': 'type(SERVICE_METHOD),fromRelationships.isServiceMethodOfService(type(SERVICE))',
        'from': 'now-10M'
    res = requests.get(url, headers=HEADER, verify=False, params=parameters)
    json_data = json.loads(res.text)
    return json_data["entities"]

Hi vasile,

Thanks for your helping!

Featured Posts