Document query endpoint

I think you should return the raw result instead of mapping it to a new structure