For the complete documentation index, see llms.txt. This page is also available as Markdown.

Einstein.GetLenses

This method is used to fetch all the available lenses that are available in your Einstein platform account.

Parameters:

This method does not require any parameter.

Sample Response:

{
 "lenses": [
 {
 "allowPreview": true,
 "assetSharingUrl": "https://ap16.salesforce.com/analytics/wave/lens?assetId=0FK2w000000J0fYGAS&orgId=00D2w00000BbXPz&loginHost=ap16.salesforce.com&urlType=sharing",
 "createdBy": {
 "id": "0052w000005ltohAAA",
 "name": "Sandeep Rimal",
 "profilePhotoUrl": "https://c.ap16.content.force.com/profilephoto/005/T"
 },
 "createdDate": "2020-09-04T08:00:51Z",
 "datasets": [
 {
 "id": "0Fb2w000000HGNMCA4",
 "name": "pipeline_trending1",
 "url": "/services/data/v49.0/wave/datasets/0Fb2w000000HGNMCA4"
 }
 ],
 "dateVersion": 1,
 "files": [],
 "filesUrl": "/services/data/v49.0/wave/lenses/0FK2w000000J0fYGAS/files",
 "folder": {
 "id": "00l2w000000uYhpAAE",

 "label": "VoiceworxSalesApp",
 "name": "VoiceworxSalesApp",
 "url": "/services/data/v49.0/wave/folders/00l2w000000uYhpAAE"
 },
 "historiesUrl": "/services/data/v49.0/wave/lenses/0FK2w000000J0fYGAS/histories",
 "id": "0FK2w000000J0fYGAS",
 "label": "Historical Pipeline Stage by Quarter",
 "lastAccessedDate": "2020-11-19T12:10:41Z",
 "lastModifiedBy": {
 "id": "0052w000005ltohAAA",
 "name": "Sandeep Rimal",
 "profilePhotoUrl": "https://c.ap16.content.force.com/profilephoto/005/T"
 },
 "lastModifiedDate": "2020-09-04T08:00:51Z",
 "name": "Historical_Pipeline_Stage_By_Quarter1",
 "permissions": {
 "create": true,
 "manage": true,
 "modify": true,
 "view": true
 },
 "refreshDate": "2020-09-04T08:07:48Z",
 "type": "lens",
 "url": "/services/data/v49.0/wave/lenses/0FK2w000000J0fYGAS",
 "visualizationType": "stackvbar"}

Last updated

Was this helpful?