def preview_status(url, pipeline_id, previewer_id, auth, verify_ssl):
preview_status = requests.get(url + '<STR_LIT:/>' + pipeline_id + '<STR_LIT>' + previewer_id + "<STR_LIT>", headers=X_REQ_BY, auth=auth, verify=verify_ssl)<EOL>preview_status.raise_for_status()<EOL>logging.debug(preview_status.json())<EOL>return preview_status.json()<EOL>
Retrieve the current status for a preview.

    Args:
        url          (str): the host url in the form 'http://host:port/'.
        pipeline_id  (str): the ID of of the exported pipeline.
        previewer_id (str): the previewer id created by starting a preview or validation
        auth         (tuple): a tuple of username, and password.
        verify_ssl   (bool): whether to verify ssl certificates

    Returns:
        dict: the response json