Create knowledge base document

POST
/v1/convai/knowledge-base

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.

Request

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

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
prompt_injectableboolean

Errors

Built with