Seems to just use the website api: https://github.com/brightbeanxyz/brightbean-studio/blob/main...
Very helpful, thanks!