adding support for include_token in history api