Gets where the questions reviews of the agent sent to its knowledge bases stand now.
A question the agent could not answer goes to its knowledge base as a draft held for review. This counts those drafts by what became of them: `waiting` for a person (of which `needsAnswer` still ask for their answer, because nobody in the conversation gave one), `published` — answers the agent's searches find now — or `archived`. A question several conversations asked is one draft, and `drafts` lists the waiting ones, the most asked first. Unlike `reviewFindings?disposition=SENT_TO_KNOWLEDGE_BASE`, which lists each time a question was sent, this follows the drafts, so a draft a person has published no longer counts as waiting. Archived knowledge bases are left out. Reads only. Agent admins only.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The agent ID.
The tenant identifier
Query Parameters
How many waiting drafts to list: 5 when omitted, at most 50, and 0 for the counts alone.
int32Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/reviewKnowledge"{
"waiting": 0,
"needsAnswer": 0,
"published": 0,
"archived": 0,
"firstSentAt": 0,
"knowledgeBases": [
{
"knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
"knowledgeBaseName": "string",
"waiting": 0,
"needsAnswer": 0,
"published": 0,
"archived": 0
}
],
"drafts": [
{
"documentId": "00000000-0000-0000-0000-000000000000",
"knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
"question": "string",
"needsAnswer": false,
"askedCount": 0,
"lastAskedAt": 0
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}