Add detail endpoint.