To get exported data which is one of (skillsGroups, Queues, StandardResponses, Waiting Experience) by giving details with account Id and orgId.
Method | GET |
Endpoint | http://{host}/agentassist/api/public/analytics/{instanceBotId}/ |
Content Type | application/json |
Authorization | auth: {{JWT}} See How to generate the JWT Token. |
API Scope | SmartAssist Import and Export Feature |
Query Parameters
Parameter | Description | Type |
---|---|---|
host | Environment URL, for example, https://smartassist.kore.ai | String, Required |
AccountId | The Account Id. | String, Required |
OrgId | The Organization Id. | String, Required |
BotId | The BotId or StreamId. You can access it from the General Settings page of the bot. | String, Required |
Sample Request
curl --location --request GET 'https://uat-smartassist.kore.ai/agentassist/api/v1/public/analytics/st-ef2ab28a-0d16-5 cbf-bf31-a395bdb19d69/importSmartAssistFunctionalities?accountId=6297011e24f30b5ab18e6e4c&orgId=o-18f401c2-f1a6-5a97- 8b5c-4511863cec93&type=skillGroups' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \ --header 'AccountId: 63e0f303560867d783133a8f' \ --header 'Authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiYXBwSWQiOiJjcy05N2IwNDZlMy 1jYzA3LTVhMDEtYmYwNS1jYmZhNzAzMmFlY2IifQ.xv4hGyyqH9JAN8iPIMaxNgOqgr_2gfQGohu3aTCGGjI' \ --header 'Cache-Control: no-cache' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json;charset=UTF-8' \ --header 'Pragma: no-cache' \ --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36' \ --header 'X-Timezone: Asia/Calcutta' \ --header 'X-Timezone-Offset: -330' \ --header 'app-language: en' \ --header 'bot-language: en' \ --header 'sec-ch-ua-platform: "Linux"' \ --header 'smartassist: true' \ --header 'state: configured' \ --header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTc4OGQ0OWEwLTQ3ZjUtNTdhYS1iZmVlLWFjMWI1MWVhMWFkOCJ9. KcWr4dd_hZwCYl0D6jciR1IETqzZsThTNBEmams3MWY' \ --header 'accountId: 63f48134cf47814d774bc316'
Sample Response
The response will be an array of objects.
[{},{}]