core: start to implement detail API (WIP)