Here, using advanced genomic analyses and single-cell imaging, we show that mutational signature 3 and interferon signaling in the CD8 + T-cell compartment of the tumor microenvironment determine responses to niraparib plus pembrolizumab in patients enrolled in the TOPACIO trial. This evidence concerns the gene CD8A and neoplasm.