Loading
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Get Descriptive and Diagnostic Insights Programmatically

          Get Descriptive and Diagnostic Insights Programmatically

          Use Einstein Discovery's Insights API to embed insights from your model into any website, application, or dashboard. Insights contain values that quantify the impact on the selected model goal, along with narrative descriptions of those values. With the Insights API, client applications can obtain a summary of the top positive and negative insights, query insight details further, and then apply their own narratives to the insight values. You can also query insights by insight type (descriptive or diagnostic).

          Required Editions

          Note
          Note Einstein Discovery stories are now models. We wish we could snap our fingers to update the name everywhere, but you can expect to see the previous name in a few places until we replace it.
          User Permissions Needed
          To run REST API commands on the Insights API: Use Einstein Discovery

          The Insights API provides REST API endpoints that enable you to:

          • query descriptive and diagnostic insights
          • get insight summaries
          • get metadata for models and model versions

          Each resource (models, model versions, and insights) has a unique id. These REST endpoints allow you read-only access.

          To interact with the Insights API, use your favorite REST client. You must have a connected app that handles Salesforce authentication for your REST client. To learn more, take the Connected App Basics Trailhead module.

           
          Loading
          Salesforce Help | Article