Debug API for multiple condition query