Restricting metric id in get/metrics/query API

hi , I am getting metric Id(builtin:synthetic.browser.availability.location.total:splitBy(““dt.entity.synthetic_test””):names:default(0)) in metrics API. is there possibility to restrict it in response?

thanks,

Dingu

Yes you can, I recommend taking that first set of the code and put it into the Dynatrace Data Explorer builtin:synthetic.browser.availability.location.total once you have it in the data explorer you can add in split by and even a filter by so you are targeting exactly what you want. Then from there click the code tab and Dynatrace will convert it to code and copy that code and paste it into your API :slightly_smiling_face: