Addnew new functions to api to group spies by repo and paths