1. Home
  2. Kore.ai Conversational Platform
  3. Using Kore.ai APIs
  4. FAQ Training API

FAQ Training API

To initiate the training of the knowledge graph

POST https://{{host}}/api/public/bot/{{bot_id}}/faqs/train

Path Parameters

Parameter Required/Optional Description
host Required Environment URL, for example, https://bots.kore.ai
bot_id Required Bot ID or Stream ID. You can access it from the General Settings page of the bot.

Body Parameters

Parameter Required/Optional Description
language Required The bot language, for example, “en” for English and “de” for German.

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/json

Sample Request

curl -X POST \

https://{{host}}/api/public/bot/{{bot_id}}faqs/train \

-H 'auth: YOUR_JWT_ACCESS_TOKEN ' \

-H 'content-type: application/json' \

-d '{

"language":"en"

}
Was this article helpful to you? Yes No