> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mithunai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish an answer for a coverage gap

> Beta. Adds a reviewed question and answer to a knowledge base as a custom answer and starts its sync, so the assistant answers it next time.

**Beta.** Adds the pair to the knowledge base's [custom answers](https://docs.mithunai.com/knowledge/sources.md#custom-answers) source that already asks the question (replacing its answer), or else one with room, or else a new source named **Published answers**. Then that source's sync starts. The answer is used once the sync finishes; poll the returned job. The gap's `question_keys` are retired, so it leaves the list. Requires the owner or admin role, and permission to edit the knowledge base.

**knowledge\_base\_id** `string` *required*

The knowledge base to publish into (UUID). Another organization's returns `404`.

**question** `string` *required*

The question as it should be published, at most 500 characters. Reword it if it names a person.

**answer** `string` *required*

The reviewed answer, read as Markdown, at most 4,000 characters.

**question\_keys** `string[]`

The gap's `question_keys`, from [List coverage gaps to
answer](https://docs.mithunai.com/api-reference/analytics/list-doc-proposals.md).

## Response

Answers `202`.

**source\_id** `string` *required*

The custom-answers source holding the pair.

**job\_id** `string` *required*

The sync started for it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.