Lenses are used to create publishing points from Steps in your Project. When you publish from a Lens, the resulting AnswerSet is a snapshot of your dataset at that particular Step in the Project. By default, the AnswerSet is saved to your Data Library.
A Lens can be added to any Step or sub-Step in your Project, for example, to an Import Step of an Append. An existing Lens can be dragged to any Step or added multiple times. The Lenses you create are retained in project versions, and you can publish AnswerSets from Lenses in older versions of your Project.
Note that all Lenses are public to anyone who shares your Project.
Lenses are also essential for Project Automation because they define the publishing points to use for automated jobs. When you set up a Paxata Project for automation, you select Lenses and configure a corresponding schedule to automatically publish AnswerSets to your Data Library. Therefore, in order to automate a Project, you require at least one Lens in the Project. For more help on automating a Project, see the topic Automation.
Examples of when and how to use a Lens:
I would like to get the lens applied to my project when I try this REST API it does not give me lens information as part of json response, let me know any issues with my REST API CALL, if my url is incorrect, then let me know the right api?