Document query endpoint

Idem, see `render_templates`