Skip to main content

Add knowledge source

Adds a new source to an agent’s knowledge base. The source is queued for processing immediately after it’s created.
Required scope: chatbots:write

Path parameters


Request body

The type field determines which other fields are required.

Type url — web page or online document

Type text — free text

Type faq — questions and answers


Response 201 Created

The source is created with status: "pending" and processing starts in the background.
Processing is asynchronous. Check the source’s status with List sources until status is ready or error.

Common errors