Found out how to get the list:
TArray<FName> Names; GetDefault<UInputSettings>()->GetActionNames(Names);