Back to API ListSummarizes the conversation between a user and an agent (AI Agent or human). Accepts a conversation ID or transcript as input and returns an auto-generated summary.The API uses an open-source LLM fine-tuned and hosted by Kore.ai, trained on a large number of sample conversation transcripts from various fields and industries.
Currently, the API supports transcripts only in English (en) and is available only in the US deployment.
curl -X POST 'https://{{host}}/api/public/streams/{{streamId}}/conversationSummary' \--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \--header 'Content-Type: application/json' \--data '{ "lang": "en", "inputMode": { "transcript": "Agent: Thank you for calling. How can I help you? Consumer: I have an issue with my DVR box..." }}'
{ "ConversationSummary": "Consumer was having a DVD issue. He has two boxes. The TV part is fine. The list doesn't work at all on the secondary box.", "time": "2023-06-09T07:45:47.940Z"}