Link Knowledge Gap Article
Links a knowledge gap to an article that already exists on the project, public or internal. A published article marks the gap answered. A draft leaves it unanswered until that article is published. Replaces an article already linked to the gap. The previous article is left in place, including a draft created for the gap, and is not deleted. A dismissed gap stays dismissed until it is reopened. Returns 404 with message "Knowledge gap not found" or "Article not found".
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the gap.
ID of the knowledge gap.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
ID of an existing article on this project. Public or internal, draft or published.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/knowledge/gaps/string/link" \ -H "Content-Type: application/json" \ -d '{ "articleId": "string" }'{ "articleId": "string", "previousArticleId": "string", "status": "unanswered"}Get Knowledge Gap
Reads one knowledge gap, including dismissed gaps. Returns the customer question, what they were trying to do, why the support agent could not answer, the searches it tried, the suggested outline and title, the channel, the conversation id, how many times it occurred, and the linked article with its type and publication state. status answered means that article is published, whether it is public or internal. A draft stays unanswered. Returns null when the id is not a gap on this project.
Unlink Knowledge Gap Article
Clears the article linked to a knowledge gap. The article itself is not deleted. An answered gap becomes unanswered. A dismissed gap stays dismissed. A gap that already has no article returns previousArticleId null. Returns 404 with message "Knowledge gap not found" when the id is not a gap on this project.