To get a list of questions and nodes under the Knowledge task. This API supports parameters like botId, language, mode (configured/published), and nodeName.
{
"faqs": [
{
"_id": "673d8ec3c2c0874923ad8a7a",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801fxxxxxx",
"conditionalResp": false,
"questionPayload": {
"question": "Dup AA Node1",
"tagsPayload": []
},
"responseType": "message",
"answerPayload": [
{
"_id": "mt-979b11e9-7187-5d8a-918b-6b6801xxxxxx",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801f5xxxxx",
"channel": "default",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"createdOn": "Wed Nov 20 2024 12:54:51 GMT+0530 (India Standard Time)",
"lModBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"lMod": "Wed Nov 20 2024 12:54:51 GMT+0530 (India Standard Time)",
"text": "Sample%20Ans",
"type": "basic"
}
],
"subQuestions": [],
"subAnswers": [],
"parent": "492e6eab-8da1-41b9-bc5a-09ccfxxxxxxx",
"leafterm": "A",
"createdOn": "2024-11-20T07:24:51.445Z",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"modifiedOn": "2024-11-20T07:24:51.445Z",
"lastModifiedBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"botName": "Test5",
"knowledgeTaskId": "673d8c93c2c0874923xxxxxx",
"sortId": 1732087491445,
"language": "en",
"faqStatus": true,
"editLocked": false,
"isPublished": true,
"refId": "74e7d27f-bcb1-5dab-a339-957a415xxxxx",
"label": "Dup A Node1",
"faqLinkedBy": [],
"__v": 0,
"fullPath": [
"Test5",
"Node1",
"A"
]
},
{
"_id": "673d8e98c2c0874923ad889axxxxxx",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801fxxxxxx",
"conditionalResp": false,
"questionPayload": {
"question": "Dup A Node1",
"tagsPayload": []
},
"responseType": "message",
"answerPayload": [
{
"_id": "mt-d0d70fb0-44fb-577d-99d4-1ffc14xxxxxx",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801fxxxxxx",
"channel": "default",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"createdOn": "Wed Nov 20 2024 12:54:08 GMT+0530 (India Standard Time)",
"lModBy": "u-83c6112b-d759-5e13-8dcf-6995faxxxxxx",
"lMod": "Wed Nov 20 2024 12:54:08 GMT+0530 (India Standard Time)",
"text": "sample%20ans",
"type": "basic"
}
],
"subQuestions": [],
"subAnswers": [],
"parent": "417634bb-33c6-4fb5-8311-177a4fxxxxxxx",
"leafterm": "A",
"createdOn": "2024-11-20T07:24:08.831Z",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"modifiedOn": "2024-11-20T07:24:08.831Z",
"lastModifiedBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxxx",
"botName": "Test5",
"knowledgeTaskId": "673d8c93c2c0874923xxxxxx",
"sortId": 1732087448831,
"language": "en",
"faqStatus": true,
"editLocked": false,
"isPublished": true,
"refId": "24850e9f-d899-58d8-ab6f-a9c3a1xxxxxx",
"label": "Dup A Node1",
"faqLinkedBy": [],
"__v": 0,
"fullPath": [
"Test5",
"A"
]
},
{
"_id": "673d8ce8c2c0874923xxxxx",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801f5xxxxx",
"conditionalResp": false,
"questionPayload": {
"question": "A Node1",
"tagsPayload": []
},
"responseType": "message",
"answerPayload": [
{
"_id": "mt-abf1d001-d7a1-5ca0-bf1b-5c707d1xxxxx",
"streamId": "st-8b873b9c-15cc-5167-a04a-1c801f5xxxxx",
"channel": "default",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"createdOn": "Wed Nov 20 2024 12:46:56 GMT+0530 (India Standard Time)",
"lModBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxx",
"lMod": "Wed Nov 20 2024 12:46:56 GMT+0530 (India Standard Time)",
"text": "Sample%20Ans",
"type": "basic"
}
],
"subQuestions": [],
"subAnswers": [],
"parent": "db9173d7-3611-4bd2-b206-011fe2xxxxxx",
"leafterm": "A",
"createdOn": "2024-11-20T07:16:56.712Z",
"createdBy": "u-83c6112b-d759-5e13-8dcf-6995faxxxxxx",
"modifiedOn": "2024-11-20T07:16:56.712Z",
"lastModifiedBy": "u-83c6112b-d759-5e13-8dcf-6995fabxxxxx",
"botName": "Test5",
"knowledgeTaskId": "673d8c93c2c0874923xxxxxx",
"sortId": 1732087016712,
"language": "en",
"faqStatus": true,
"editLocked": false,
"isPublished": true,
"refId": "bce3ee09-c91e-5282-9aed-7cb96axxxxxx",
"label": "A Node1",
"faqLinkedBy": [],
"__v": 0,
"fullPath": [
"Test5",
"Node1",
"A"
]
}
],
"moreAvailable": true,
"count": 41
}