show queries in API