API Guide

Billing Usage Summary API

This API provides a summary of the billing usage specific to an account or bot for a given period. Method POST and GET Endpoint POST For Bot Builder: https://{{host}}/api/public/bot/{{BotID}}/billingsessionsummary For BAC: https://{{host}}/api/public/billingsessionsummary  Important: First, use the POST method to set filters, then use the following GET method to retrieve the…

Task Execution-Based Containment Report API

This task-wise Containment Report offers a comparative analysis of the impact of task executions on overall containment. It breaks down task-wise successes and failures by containment type, including Drop-off, Self-service, and Agent Hand-off, providing a detailed overview for better understanding and decision-making. Method POST and GET Endpoint It’s a combination…

LLM and Generative AI Usage Logs API

This API lets you get the LLM & Generative AI Usage Logs for both Co-Pilot and Dynamic Conversation features. Method POST End Point https://{{host}}/api/1.1/public/bot/{{botId}}/getLLMUsageLogs Content Type application/json Authorization auth: {{JWT}} See How to generate the JWT Token. API Scope Bot Builder: Fetch Gen AI and LLM Usage Logs Admin Console:…

Rate Limits

The Platform enforces rolling rate limits to restrict the number of API requests a user, application, or service can make within a dynamic timeframe. It helps to prevent any single user or service from consuming disproportionate resources that could degrade the service for others.  The requests are checked against both…

Import Bot Functions API

This API allows you to import bot functions from a specified file. Method POST Endpoint https://{{host}}/api/public/bot/botId/import/botfunctions Content Type application/json Authorization auth: {{JWT}} See How to generate the JWT Token. API Scope Bot Builder: Not Applicable Admin Console: Bot Definition > Bot Import Query Parameters Parameter Required Description host Required The…

Get the Execution Status and Summary of a Test Suite API

To get the status of the Conversation Test Suite Execution request against a unique testSuiteId if the request is in progress, and provide the download link for the results file after the test execution is complete. Method GET Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite/:testSuiteName/:testRunId/status Content Type application/json Authorization auth: {{JWT}} See How to generate…

Execute a Test Suite API

To execute Conversation Test Suites and get results. This API only initiates the test process and returns the execution status and testRunId to track the execution status. Please look at the Conversation Test Suite Execution Status API for the results of the test. Method POST Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite/:testSuiteName/run Content Type application/json…

Delete a Test Suite API

To delete an existing conversation test suite. Method DELETE Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite Content Type application/json Authorization auth: {{JWT}} See How to generate the JWT Token. API Scope Bot Builder: Conversation Tests Management Admin Console: Conversation Tests Management Query Parameters Parameter Description Mandate host Environment URL. For example,https://bots.kore.ai Required StreamID The  Stream…

Create (Import) a Test Suite API

To create a conversation test suite by importing the test cases from a given file. This API returns dsId, the ID to check the import status. Method POST Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite/import Content Type application/json Authorization auth: {{JWT}} See How to generate the JWT Token. API Scope Bot Builder: Conversation Tests Management…

Get the Creation Status of a Test Suite API

To get the creation/import request status of the Conversation Test Suite against a unique Import ID and provide the download link for the results file after the test execution is complete. Please refer to Create (Import) a Test Suite API  to learn more. Method GET Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite/import/:dsId/status Content Type application/json…
Menu