openapi: 3.1.0 info: title: Salesforce Analytics (CRM Analytics) REST Actions Lenses API description: REST API for accessing and managing CRM Analytics (formerly Tableau CRM / Einstein Analytics) resources including datasets, lenses, dashboards, and dataflows. Enables programmatic access to analytics metadata, query execution, and dashboard management. Uses the Wave API resource at /services/data/vXX.0/wave. version: '63.0' contact: name: Salesforce Developer Support url: https://developer.salesforce.com/support email: developer@salesforce.com license: name: Salesforce API Terms of Use url: https://www.salesforce.com/company/legal/agreements/ servers: - url: https://{instance}.salesforce.com/services/data/v63.0/wave description: Salesforce production or developer instance variables: instance: default: yourInstance description: Your Salesforce instance identifier security: - oauth2: [] - bearerAuth: [] tags: - name: Lenses description: CRM Analytics lenses (explorations) paths: /lenses: get: operationId: getLenses summary: List lenses (explorations) description: Returns a paginated list of CRM Analytics lenses (saved explorations). tags: - Lenses parameters: - name: q in: query schema: type: string - name: folderId in: query schema: type: string - name: page in: query schema: type: string - name: pageSize in: query schema: type: integer responses: '200': description: List of lenses content: application/json: schema: $ref: '#/components/schemas/LensList' components: schemas: LensList: type: object properties: lenses: type: array items: type: object properties: id: type: string name: type: string label: type: string createdDate: type: string format: date-time lastModifiedDate: type: string format: date-time folder: $ref: '#/components/schemas/FolderRef' url: type: string nextPageUrl: type: - string - 'null' totalSize: type: integer FolderRef: type: object properties: id: type: string label: type: string name: type: string url: type: string securitySchemes: oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://login.salesforce.com/services/oauth2/authorize tokenUrl: https://login.salesforce.com/services/oauth2/token scopes: api: Access and manage your Salesforce data wave_api: Access CRM Analytics REST API resources bearerAuth: type: http scheme: bearer