Voice Agent Intelligence

Add FAQ To KB

Add FAQ To Knowledge Base

Requires the OWNER or ADMIN role. Writes the question/answer (or your override) into the agent's knowledge base as a new document, and marks the suggestion added. Fails with 409 if the suggestion was already added or dismissed, or if the agent has no knowledge base collection to write into.

post/voice/knowledge-base/{agentId}/faqs/{suggestionId}/add

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/voice/knowledge-base/{agentId}/faqs/{suggestionId}/add
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

agentIdstring required
suggestionIdstring required

The FAQ suggestion's suggestionId.

Request body

questionstring

Overrides the suggested question. Optional.

answerstring

Overrides the suggested answer. Optional.

Response

OK

status'success'
messagestring

Changes

No recorded changes to this operation across all 2 revisions of this API.