Knowledge

List knowledge sources for a chatbot

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/sources

Requires 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 required
  • 401 — Missing or invalid API key
  • 404 — Chatbot not found
  • 429 — Rate limit exceeded

Every error shares one envelope.

Example

curl https://www.hey.support/api/v1/knowledge/sources \
  -H 'Authorization: Bearer hs_live_…'