Create Knowledge Base Document

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

Uploads a file or reference a webpage for the agent to use as part of it’s knowledge base

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