Create Knowledge Base Document

POST
/v1/convai/agents/:agent_id/add-to-knowledge-base

Add a document to the knowledge base.

The agent must then be updated with ‘PATCH’ to tie it to the new knowledge base item.

Path parameters

agent_idstringRequired

The id of an agent. This is returned on agent creation.

Request

This endpoint expects a multipart form containing an optional file.
urlstringOptional

URL to a page of documentation that the agent will have access to in order to interact with users.

filefileOptional

Response

Successful Response

idstring
Built with