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
| 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
external client app that handles Salesforce authentication for your REST client. To learn
more, take the External Client App Basics Trailhead module.