The production of single top-quarks associated with either a gamma or a Z-boson are remarkably rare processes as predicted by the Standard Model (SM). These rare occurrences hold great sensitivity to the potential presence of new physics beyond the established framework. Accurately measuring the cross section of these processes is vital for investigating the electroweak couplings of the top-quark and the potential impact of new physics phenomena. In this presentation, I will delve into the outcomes of a cross section measurement of these intricate processes, leveraging the data acquired during Run II by the CMS experiment