Changes to get query status

get/queries/{query_id}/status