Variable value access via HTTP API

Would it be possible to have a HTTP API access to the current (ie user selected) value of variables defined in a dashboard?

This way a datasource could get “feedback” from the Grafana dashboard/user