history log API back