detective story

noun

1.
a narrative about someone who investigates crimes and obtains evidence leading to their resolution