add instance history endpoint