At the 2018 Neural Interfaces Conference Thaddeus Brink of Medtronic talks about being able to sense and modulate bladder fill levels in sheep. Using an API they were able to detect voids and apply stimulation externally