The Ruin Of Angels by Max Gladstone

In a city where law is literal magic and gods, corporations, and bureaucrats jockey for control, a missing body and a string of brutal deaths pull together a disparate cast — an apprentice, an investigator, and a cunning craftsman — who must unravel a conspiracy involving illicit rites, stolen lives, and new technologies of resurrection. Racing through temples, corporate towers, and the legal machinery that sustains the city, they face moral ambiguity about debt, devotion, and the cost of salvation while trying to stop a scheme that could topple the precarious order holding their world together.

Purchase from Bookshop.org