Add ApiAuthAction and history endpoint