Get Bot Dialogs by Bot Id

Method

GET

Media Type

application/json

URL

http://[server]/dolphin/apiv1/graph/bots/{botId}/dialogs

Header

Authorization : Bearer [generatedToken] botId : [botId]

Body

Status

200

Response

{ “status”: “success”, “data”: [ { “id”: “[Id]”, “owner”: “[ownerId]”, “createdDate”: 1591782104046, “createdBy”: “95bbbf64882dd7816c09996d56bbc1e2”, “modifiedDate”: 1598413958724, “modifiedBy”: “f1b380ced4477dd87e8d7ad842af7ae2”, “context”: “”, “enabled”: true, “failedResponse”: [ “{\”rule\”:\”\”,\”responses\”:[\”Wah aku ngga inget deh.\”]}” ], “integrationModule”:”{\”type\”:\”wf\”,\”sdkConfig\”:{\”trigger\”:[{\”workflowId\”:\”[workflowId]\”,\”promptVariable\”:\”FINAL\”}]}}”, “language”: “indonesia”, “intention”: “[intention]”, “minimumScore”: 90, “modelLocation”:”{\”bucket\”:\”dialog-model\”,\”filename\”:\”[filename]\”, \”contentType\”:\”[contentType]\”}”, “promptResponse”: [ “{\”sequence\”:0,\”required\”:false,\”variable\”:\”Intention\”,\”confident\”:95.0, \”invokeSwitchContext\”:true,\”invokeExtension\”:false, \”entitiesValues\”:[\”jadwal libur\”,\”hari libur\”,\”jadwal libur\”,\”tanggal libur\”, \”jadwal libur\”]}” ], “successResponse”: [ “{\”rule\”:\”\”,\”responses\”:[\”Nah berikut ini daftar hari libur berikutnya ya ka.\”,\”[$output$]\”]}” ], “userResponse”: [ “jadwal libur”, “holiday date”, “hari libur”, “kapan libur ya”, “tanggal libur”, “waktu libur”, “jadwal libur” ], “userResponseWithVariable”: [ “lihat jadwal libur tahun ini”, “lihat jadwal libur tahun ini”, “kapan hari libur “, “kapan hari libur “, “ jadwal libur tahun ini”, “ jadwal libur tahun ini”, “ tanggal libur apa aja”, “ tanggal libur apa aja”, “lihat jadwal libur dong”, “lihat jadwal libur dong” ], “userResponseBoost”: [ “jadwal libur”, “hari libur”, “tanggal libur” ], “userResponseHtml”: [ “<div id=\”entity1591782249151\” class=\”entities card speech-bubble highlighter-context\”>\n lihat \n <span class=\”highlighted\” data-timestamp=\”1591782253162\” data-entity=\”Intention\” id=\”[Id]\” onclick=\”removeHighlight(&quot;entity1591782249151&quot;,this)\” style=\”background-color: rgb(255, 255, 123);\” data-highlighted=\”true\” title=\”Intention\”>jadwal libur</span> tahun ini \n</div>”, “<div id=\”entity1591781826580\” class=\”entities card speech-bubble highlighter-context\”>\n jadwal libur \n</div>”, “<div id=\”entity1591781817747\” class=\”entities card speech-bubble highlighter-context\”>\n holiday date \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n hari libur \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n kapan \n <span class=\”highlighted\” data-timestamp=\”1591781797367\” data-entity=\”Intention\” id=\”[Id]\” onclick=\”removeHighlight(&quot;entity1591781794220&quot;,this)\” style=\”background-color: rgb(255, 255, 123);\” data-highlighted=\”true\” title=\”Intention\”>hari libur</span> \n</div>”, “<div id=\”entity1591781786542\” class=\”entities card speech-bubble highlighter-context\”>\n kapan libur ya \n</div>”, “<div id=\”entity1591781766105\” class=\”entities card speech-bubble highlighter-context\”> \n <span class=\”highlighted\” data-timestamp=\”1591781771233\” data-entity=\”Intention\” id=\”[Id]\” onclick=\”removeHighlight(&quot;entity1591781766105&quot;,this)\” style=\”background-color: rgb(255, 255, 123);\” data-highlighted=\”true\” title=\”Intention\”>jadwal libur</span> tahun ini \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n tanggal libur \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”> \n <span class=\”highlighted\” data-timestamp=\”1591781738114\” data-entity=\”Intention\” id=\”[Id]\” onclick=\”removeHighlight(&quot;entity1591781728482&quot;,this)\” style=\”background-color: rgb(255, 255, 123);\” data-highlighted=\”true\” title=\”Intention\”>tanggal libur</span> apa aja \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n waktu libur \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n jadwal libur \n</div>”, “<div id=\”[Id]\” class=\”entities card speech-bubble highlighter-context\”>\n lihat \n <span class=\”highlighted\” data-timestamp=\”1591781688008\” data-entity=\”Intention\” id=\”[Id]\” onclick=\”removeHighlight(&quot;entity1591781679352&quot;,this)\” style=\”background-color: rgb(255, 255, 123);\” data-highlighted=\”true\” title=\”Intention\”>jadwal libur</span> dong \n</div>” ], “trainer”: “{trainerId}” }, } ], “hasMore”: false, “nextIndex”: 0, “prevIndex”: 0, “totalResults”: 0 }

Last updated