Scrivener API?

Hi, I’m a coder new to scrivener. I’m curious whether scrivener has, or has any plans to have, any kind of API for external apps to do things to elements of scrivener docs. In the music world, adding a public API to Ableton Live has been tremendously successful, allowing folks to make their own sidecar helper apps in Max/MSP. I’d be over-the-moon if it were possible for me to interact over scripts with my scrivener content at the same time as working on it. (I do realize this is potentially a giant request, depending on the state of the current scrivener internals though…)

thanks,
iain

lots of stuff has been proposed in the pinned applescript thread and a related one on possible url scheme but it’s all user fantasy at this point, with no roadmap for implementation.