adding retrieve_preview example, removing api key :)