reset api for fetch query results