Add a knowledge source
Add a website, sitemap, page or text for your bot to read.
POST
/api/v1/knowledge/sourcesScope
bot:writeWebsites, sitemaps and pages are read in the background, starting within a minute. A text is ready at once. Upload files in the dashboard.
Body
Send a JSON object.
Prop
Type
Example request
curl -X POST "https://api.pedibee.com/api/v1/knowledge/sources" \
-H "Authorization: Bearer $PEDIBEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "TEXT",
"title": "Shipping",
"text": "Parcels to Canada take nine days."
}'