Skip to main content
When the Knowledge Gap Agent finds an answer that isn’t written down, it proposes a change: a new or updated article in your knowledge base or helpdesk, or a pull request to your docs repository. Each proposal is a gap. The Knowledge gaps API lets you read them and decide on them from your own tools.
Knowledge gaps are enabled for some organizations. Without them, listing gaps returns 403 with code forbidden. Approving and rejecting also need the Growth plan or higher, and return 402 without it.

Gaps

GET /v0/gaps returns gaps newest first. Filter with status and target, and page with limit and starting_after.

Approve or reject

Only in_review gaps can be decided:
  • Approve applies the change to the knowledge base it targets and returns the gap as applied. github gaps can’t be approved here, since they arrive as pull requests: review and merge those on GitHub. Approving one returns 400.
  • Reject returns the gap as rejected, and it’s never applied.
A gap that’s already applied or rejected returns 409 with code conflict. Read it again before retrying.