| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{host}/api/public/bot/{botId}/testsuite/import |
| Content Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | App Builder: Batch Tests Management; Admin Console: Batch Tests Management |
Query Parameters
| Parameter | Description | Required |
|---|---|---|
host | The environment URL. For example, https://platform.kore.ai | Required |
BotID | The Bot ID or Stream ID that can be accessed under General Settings on the App Builder. | Required |
Sample Request
- If
engine = "regression"(or empty) or engine is not provided, it will execute for ML Batch Testing. - If engine is set to
"dgpt", it will execute for Dialog GPT Batch Testing.
Body Parameters
| Parameter | Description | Required |
|---|---|---|
fileName | File containing the Batch Test suite details. | Required |
fileType | JSON. | |
importType | new or update. | |
delimiter | Field delimiter in the file. | Required |
description | Test suite description. | Required |