Documentation Index Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Back to API List
Get Intent Real Time Data
To retrieve the most recent conversational data for the given botId. Gets the latest 25 sessions data for the given application ID that completed the execution of the flow.
Method POST Endpoint https://{{host}}/api/public/bot/{{botId}}/intentrealtimedataContent Type application/jsonAuthorization auth: {{JWT}} See How to generate the JWT Token API Scope SmartAssist Analytics
Path Parameters
Parameter Description Type hostEnvironment URL, for example, https://platform.kore.ai string, required botIdbotId or streamId. You can get it from the App Settings page. string, required
Sample Request
curl --location --request POST 'https://{{host}}/api/public/bot/{{botId}}/intentrealtimedata' \
--header 'auth: <token>' \
--header 'cache-control: no-cache' \
--header 'postman-token: 363f7f10-e516-c464-dcf8-2fefcd86xxxx' \
--header 'Format: application/json' \
--header 'accountId: {{accountId}}'
Header Description Optional/Required accountIdUnique account identifier Required FormatRequest/Response body format (application/json;charset=UTF-8) Optional authJWT authentication token Required
Sample Response
[
{
intent : [ Book a Ticket , Book a Flight ],
ANI : st-bb 0e8899 -a 753-568 f -984 f -3338 de 26 xxxx ,
DNI : username@domain.com ,
channel : rtm ,
startTime : 2022-01-06 T 14 : 07 : 08.185 + 00 : 00 ,
endTime : 2022-01-06 T 14 : 44 : 17.527 + 00 : 00 ,
status : completed ,
timeHandled : 50 s ,
deflectedTo : rtm ,
userId : "u-6b184e56-ebe3-5acb-af3c-1e6bcb25xxxx" ,
sessionId : "6364a8616d8e6a6a0effxxxx" ,
},
{
intent : [],
ANI : + 126529865 ,
DNI : + 126529865 ,
channel : audiocodes ,
startTime : 2022-01-06 T 14 : 07 : 08.185 + 00 : 00 ,
endTime : 2022-01-06 T 14 : 44 : 17.527 + 00 : 00 ,
status : Dropoff ,
timeHandled : 13 m: 8 s ,
deflectedTo : null ,
userId : "u-6b184e56-ebe3-5acb-af3c-1e6bcb25xxxx" ,
sessionId : "6364a8616d8e6a6a0effxxxx" ,
}
]