Possible to get dashboard/panel ID based on time series ID through API?

With the purpose of annotating graphs through the API I am looking for a way to retrieve the dashboard/panel ID(s) showing a specific time series. Is that possible?