[WIP] Expose api endpoints