Disentangling the co-evolution of galaxies and supermassive black holes with PRIMA