New history endpoint

Let's update and support the arguments.