Make the /queries endpoint behave just like telemetry.
Add a staging endpoint.