I believe that at the moment, there is no available public API. I have created this feature request, but have not received any feedback either.