Add To Knowledge Base

Deprecated

Upload a file or webpage URL to create a knowledge base document.

After creating the document, update the agent’s knowledge base by calling Update agent.

Headers

xi-api-keystringRequired

Request

This endpoint expects a multipart form containing an optional file.
namestring or nullOptional>=1 character

A custom, human-readable name for the document.

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

Response

Successful Response
idstring
namestring

Errors