Adding history api documentation