First draft of how a possible API might look like