Knowledge
Returns what one chatbot has been trained on — crawled pages, uploaded files, text snippets, and Q&A pairs — with the number of indexed chunks each contributed.
GET
/api/v1/knowledge/sourcesRequires the chatbot_id query parameter.
Query parameters
Prop
Type
Response 200
Returns a data array with a pagination object. Each item:
Prop
Type
Errors
400— chatbot_id is required401— Missing or invalid API key404— Chatbot not found429— Rate limit exceeded
Every error shares one envelope.
Example
curl https://www.hey.support/api/v1/knowledge/sources \
-H 'Authorization: Bearer hs_live_…'