Added Query parameters to preview endpoint