api_root is now kwargs