Spike/api hyperagent

https://www.openproject.org/work_packages/8326

Details pannel looks like crap but we are working on this in another branch which we need this for.