Skip to main content

Create Datasources WebScrapping

Create one or more datasources within a specific knowledge base. The datasources will be associated with the knowledge base and used to retrieve and manage external data.

Path Parameters
knowledge_base string REQUIRED

The unique identifier of the knowledge base.

Request Body
url string

The URL of the datasource.

Responses
200

Datasources Create Response

Schema OPTIONAL
data object
id
user_id number
knowledge_base_id string
type string
title string
paragraph string
scrap_all_url
url string
excluded_urls
reference_url
size
estimated_tokens
status string
is_content_fetched
last_sync_date string
deleted_at
created_at string
updated_at string
custom_title string
400

Knowledge Base validation error

Schema OPTIONAL
status number
message string
errors undefined[]
500

Server Error

Schema OPTIONAL
message string