# Get Knowledge Gap

GET /api/v2/projects/{projectId}/knowledge/gaps/{id}

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.

## Request

- projectId: string, path, required — ID of the project that owns the gap.
- id: string, path, required — ID of the knowledge gap.

## Response

- 200: Successful response
  - channel: chat | email, required
  - createdAt: string, required
  - customerGoal: string, required
  - customerQuestion: string, required
  - id: string, required
  - kind: missing_knowledge | product_limitation, required
  - lastOccurredAt: string, required
  - occurrenceCount: integer, required, default 1
  - projectId: string, required
  - searchQueriesTried: string[], required
  - status: unanswered | answered | dismissed, required, default unanswered
  - suggestedArticleOutline: string[], required
  - suggestedArticleTitle: string, required
  - updatedAt: string, required
  - whyUnanswered: string, required
  - answeredAt: string
  - article: object
    - id: string, required
    - slug: string, required
    - state: draft | published, required, default draft
    - title: string, required
    - type: public | internal, required, default public
  - articleId: string
  - contactEmail: string
  - conversationId: string
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
