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.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the gap.
ID of the knowledge gap.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/knowledge/gaps/string"{ "id": "string", "createdAt": "string", "updatedAt": "string", "projectId": "string", "kind": "missing_knowledge", "status": "unanswered", "customerQuestion": "string", "customerGoal": "string", "whyUnanswered": "string", "suggestedArticleTitle": "string", "suggestedArticleOutline": [ "string" ], "searchQueriesTried": [ "string" ], "occurrenceCount": 1, "lastOccurredAt": "string", "channel": "chat", "conversationId": "string", "contactEmail": "string", "articleId": "string", "answeredAt": "string", "article": { "id": "string", "slug": "string", "state": "draft", "title": "string", "type": "public" }}List Knowledge Gaps
Lists knowledge gaps the support agent filed when it could not answer a customer. Also returns coverage: the share of remaining gaps that have a published article, public or internal. Coverage ignores the status filter and never includes dismissed gaps. Omit status, or pass all, for unanswered and answered together. Pass status dismissed to list dismissed gaps. status answered means the linked article is published. status unanswered includes a gap with no article and a gap whose article is still a draft. skip and take page the list. take is at most 100. Omit take to return every matching gap. total is the count for that filter. An invalid status, skip, or take is 400.
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".