Knowledge base
List data sources
Get a list of the data sources added to the knowledge base.
GET
/
chatbots
/
{chatbotId}
/
knowledge-base
/
data-sources
Request parameters
Path
chatbotId
string
requiredThe chatbot ID.
Query
page
integer
default: "1"The page number for pagination.
sort
string
default: "date_desc"The sort order. Possible values:
date_desc
: Sort by date in descending order.date_asc
: Sort by date in ascending order.
type
string
Filter by the type of the data source. Possible values are link
, text
, faq
, document
.
Leave blank to get all types of data sources.
Response
status
string
The status of the request. Will be success
if the request was successful, otherwise error
.
data
object