API query panel data

Hi Everyone

I am new to Grafana and starting to play with the API.
Is it possible to query the API for the data seen on the panels of a dashboard ?
Example:
Screenshot from 2020-06-10 15-42-37
I would like to make an API call to return 10.8.

Kind Regards
Morne

Could you share more about your use case?

First thing that pops into my mind is that you can reuse the query from another panel, by selecting “Dashboard” as the data source in the query editor. This is typically good when you have multiple panels using the same data, but you don’t want to make duplicate queries.

Hi @marcusolsson

I would like to utilize the API functionality to query a specific Panels data from an external server.
I imagine it would be similar to directly querying the InfluxDB but instead of doing that, I want to collect the Metric data by utilizing the Grafana API.

Hope that makes more sense…

Hi @morneroux @marcusolsson
I want to do the same thing as morneroux and i found this thread, and I am sorry to bump up this topic.
Did you solve this problem? Could you tell me the best practice if you made it ?
I went through the “HTTP API Reference” chapter but i could not find the answer.
Thanks very much

I’ve found a way to do this by using data-source-proxy-calls.
I post it here in case someone who wants to do the same thing.