はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
廃止機能(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
特性、同義語、停止用語
変数ネームスペースの管理
更新
ノード間の質問と回答の移動
用語の編集と削除
質問と応答の編集
ナレッジグラフの分析
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
Web SDK Tutorial(英語)
Widget SDK Tutorial(英語)
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
管理
ボット管理者コンソール
ダッシュボード
ユーザーの管理
ユーザーの管理
グループの管理
ロール管理
ボット管理モジュール
登録
ユーザーの招待
招待状の一括送信
ユーザーデータのインポート
Active Directoryからユーザーを同期
セキュリティ/コンプライアンス
シングル サインオンの使用
セキュリティ設定
Billing(日本未対応)
  1. ホーム
  2. Docs
  3. Virtual Assistants
  4. API Guide
  5. Feedback Survey API

Feedback Survey API

To fetch the feedback survey scores provided by the user in the conversation with a virtual assistant and push the data for visualization on the Feedback Analytics module using the Survey Type and Survey Name.

 

Method POST
Endpoint https://{{host}}/api/public/bot/{{BotID}}/saveFeedback

 

Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Metrics
  • Admin Console: Bot Analytics > Feedback Analytics

 

Path Parameters

Parameter Description Type
host The environment URL. For example, https://bots.kore.ai string, required
BotId Bot ID or Stream ID can be accessed under General Settings on the Bot Builder.

Note: This is required only for Bot Builder API scope of Proactive Messages.

string, required

Sample Request

curl --location 'https://{{host}}/api/1.1/public/bot/{{botId}}/saveFeedback' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelUId":"qatesting@vomoto.com",
"name":"Thumb",
"score":0,
"channel":"rtm",
"type":"THUMB",
"language":"en",
"message":""
}'

Request Body Parameters

Parameter Description Type
channelUId The ID of the user on the channel where the feedback survey was triggered. Can be the user’s email id or enterprise assigned unique id. string, required
name The name of the survey provided by the user. string, required
score The feedback survey score provided by the user as a response. number, required
channel The channel used for the feedback survey. string, required
type One of the feedback survey types THUMB, NPS, or CSAT. string, required
language The language in which the Feedback survey is triggered. string, required
message The message prompted to the user during the feedback survey. string, required

 

Sample Response

{
"botId": "st-053cd130-f983-577a-8aad-2504aebd60b9",
"channel": "rtm",
"language": "en",
"score": 0,
"timestamp": "2023-03-23T07:07:43.538Z",
"createdOn": "2023-03-23T07:07:43.538Z",
"timestampValue": 1679555263538,
"type": "THUMB",
"name": "Thumb",
"channelUId": "qatesting@vomoto.com",
"orgId": "o-89b0abd5-19af-5017-a80a-6fc6bfc7a638",
"accountId": "60dbef1bc2f5c25106cdb57d",
"userId": "u-f5d97fb8-8767-5b6c-a28d-09e9ac281e12",
"_id": "641bfabf0353f52d915f7a87",
"__v": 0
}

Response Body Parameters

Parameter Description Type
botId The ID of the virtual assistant for which feedback was given. You can access it from the virtual assistant’s General Settings page. string, required
channel The channel on which the user responds to the feedback survey. string, required
language The language in which the feedback survey is triggered. string, required
score The feedback score. number, required
timestamp Feedback response date converted into timestamp format. date (ISO Date format YYYY-MM-DDThh:mm:ss.mmmZ), required
createdOn Feedback creation date converted into timestamp format. date (ISO Date format YYYY-MM-DDThh:mm:ss.mmmZ), required
timestampValue Creation date converted into timestamp numeric format. number, required
type The feedback survey type. string, required
name The feedback survey name. string, required
channelUId The end-user’s channel user identifier. string, required
orgId Organization id the bot belongs to. string, required
accountId Account id the bot belongs to. string, required
userId User id the bot belongs to. string, required
_Id Unique identifier for the message record. string, required
__v The value is always 0. Does not have any significance as of now. integer, optional

 

Feedback Survey API

To fetch the feedback survey scores provided by the user in the conversation with a virtual assistant and push the data for visualization on the Feedback Analytics module using the Survey Type and Survey Name.

 

Method POST
Endpoint https://{{host}}/api/public/bot/{{BotID}}/saveFeedback

 

Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Metrics
  • Admin Console: Bot Analytics > Feedback Analytics

 

Path Parameters

Parameter Description Type
host The environment URL. For example, https://bots.kore.ai string, required
BotId Bot ID or Stream ID can be accessed under General Settings on the Bot Builder.

Note: This is required only for Bot Builder API scope of Proactive Messages.

string, required

Sample Request

curl --location 'https://{{host}}/api/1.1/public/bot/{{botId}}/saveFeedback' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelUId":"qatesting@vomoto.com",
"name":"Thumb",
"score":0,
"channel":"rtm",
"type":"THUMB",
"language":"en",
"message":""
}'

Request Body Parameters

Parameter Description Type
channelUId The ID of the user on the channel where the feedback survey was triggered. Can be the user’s email id or enterprise assigned unique id. string, required
name The name of the survey provided by the user. string, required
score The feedback survey score provided by the user as a response. number, required
channel The channel used for the feedback survey. string, required
type One of the feedback survey types THUMB, NPS, or CSAT. string, required
language The language in which the Feedback survey is triggered. string, required
message The message prompted to the user during the feedback survey. string, required

 

Sample Response

{
"botId": "st-053cd130-f983-577a-8aad-2504aebd60b9",
"channel": "rtm",
"language": "en",
"score": 0,
"timestamp": "2023-03-23T07:07:43.538Z",
"createdOn": "2023-03-23T07:07:43.538Z",
"timestampValue": 1679555263538,
"type": "THUMB",
"name": "Thumb",
"channelUId": "qatesting@vomoto.com",
"orgId": "o-89b0abd5-19af-5017-a80a-6fc6bfc7a638",
"accountId": "60dbef1bc2f5c25106cdb57d",
"userId": "u-f5d97fb8-8767-5b6c-a28d-09e9ac281e12",
"_id": "641bfabf0353f52d915f7a87",
"__v": 0
}

Response Body Parameters

Parameter Description Type
botId The ID of the virtual assistant for which feedback was given. You can access it from the virtual assistant’s General Settings page. string, required
channel The channel on which the user responds to the feedback survey. string, required
language The language in which the feedback survey is triggered. string, required
score The feedback score. number, required
timestamp Feedback response date converted into timestamp format. date (ISO Date format YYYY-MM-DDThh:mm:ss.mmmZ), required
createdOn Feedback creation date converted into timestamp format. date (ISO Date format YYYY-MM-DDThh:mm:ss.mmmZ), required
timestampValue Creation date converted into timestamp numeric format. number, required
type The feedback survey type. string, required
name The feedback survey name. string, required
channelUId The end-user’s channel user identifier. string, required
orgId Organization id the bot belongs to. string, required
accountId Account id the bot belongs to. string, required
userId User id the bot belongs to. string, required
_Id Unique identifier for the message record. string, required
__v The value is always 0. Does not have any significance as of now. integer, optional

 

メニュー