Add a knowledge base source

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

knowledge_base_idstringRequired
Knowledge base ID.

Request

This endpoint expects an object.
namestringOptional
Source name.
typeenumOptional
Source type.
Allowed values:
urlstringOptional

Source URL. Required when type is pdf (URL to a hosted PDF file) or web (URL to a website to scrape)

contentstringOptional

The full text content for the knowledge base source. Required when type is text

Response

200
statusstring or null
responseobject or null