The Insights API allows you to gain access to data on how your Digital People’s conversations are performing. The visual data represented on the Insights Dashboard is available to you in raw format for all the projects in the organization or the chosen project. The raw data helps you analyze how users interact with the Digital Person and the emotional data at a granular level enabling you to optimize and improve the Digital Person experience.
Creating API Key for Insights API
To access the Insights API you will need an API Key which can be generated from the Digital DNA Studio as shown below.
Note: The key itself will only be accessible once, on creation. So ensure that it is saved in a secure location.
From the settings cog icon on the top right corner of the screen, select API Keys andclick Create API Key.
On the new API Key window, enter a Name for the new API key.
Select the scope as Analytics.
In the Assign Project field start typing the name of the project you wish to generate the API key for and choose the project from the dropdown list.
Note: If you are granted the Owner, Support, or Analytics role, you can apply the Analytics API key to all the current and future projects in the organization by choosing the All organization projects option.
Set the expiration date. Options available are 30, 60, and 90 days.
On successful creation, the API key is displayed for you to save or copy.
Note: The secret key is only displayed once during creation. If you lose the API key, you need to generate a new one.
You should revoke the key if it becomes inactive, lost, or compromised. For details see Revoke API Key.