| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/v1.1/rest/bot/{{BotID}}/findIntent?fetchConfiguredTasks=false |
| Content Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | App Builder: Intent and Entity Detection; Admin Console: Intent Identification > Intent and Entity Detection |
Path Parameters
| Parameter | Required | Description |
|---|---|---|
host | Required | Environment URL, for example, https://platform.kore.ai. |
BotID | Required | Bot ID or Stream ID. Access it from the General Settings page of the bot. |
Bot Language
For multilingual bots, pass thebot-language header with the language code (for example, en, zh_cn). If omitted, the bot’s default language is used.
Query Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
fetchConfiguredTasks | Required | false | true to fetch intents from configured tasks; false for published tasks only. |
sync | Optional | false | Set to true for synchronous response. |
Sample Request
Body Parameters
| Parameter | Required | Description |
|---|---|---|
parentIntent | Optional | To detect a sub-intent in the context of another intent. |
input | Required | The user utterance to match against intents. For example: Create a task. |
streamName | Required | The name of the bot. For example: JIRA Bot. |
bot-language | Optional | The bot language, for example en for English, de for German. |