cURL
curl --request POST \ --url https://api.chatling.ai/v2/chatbots/{chatbotId}/knowledge-base/data-sources/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "links": [ "<string>" ], "exclude_classes": [ "<string>" ], "exclude_ids": [ "<string>" ], "exclude_header": true, "exclude_footer": true, "exclude_nav": true }'
{ "status": "success", "data": { "links_added": 105, "duplicate_links_removed": [] } }
Add new link data sources to the knowledge base.
header
footer
nav
success
error
Show properties