Thanks for your quick response
But i need some more info on this
Suppose i created a custom chart and pinned that to dashboard
now can you please suggest me how to fetch the data from that chart using API
how can i create a metrics API for that chart?
The API I linked initially is the 'interface' that you interact with to pull that data out of Dynatrace.
You create an API token (in the settings > integration > Dynatrace API) and then you use that token to query the API which is described in the link above. All you would need to get started is described in the main page for the API (e.g. authentication) and it described how to try things out using the API explorer.