I would say 'The Chill' by Ross Macdonald is sort of a prototypical example of how the private detective genre elevates itself to the level of literature.
Black, Shane. "Shane Black's Top 5 Private Eye Novels." Entertainment Weekly, Dotdash Meredith, 12 May 2016.
Sourced by: Quote.org sourced