List or read knowledge sources
List the project’s knowledge sources, list its folders, or fetch one source’s content (kih-hub). Does NOT cover the Brand Kit — that is a separate resource, fetched with get_brand_kit, not a knowledge source you list/read here.
view=list enumerates sources (filter with folder_id/type/status/q, paginate with cursor/limit); view=folders lists the project’s knowledge folders (id + name) — use it to resolve a folder NAME to its folder_id before filtering or ingesting into that folder; view=content returns the parsed text of one source (needs source_id).
Headers
Project ID for tenant scoping
Overrides the key's workspace
User API key
Body
list enumerates sources; content fetches one source's text
list, content, folders Source id; required for the content view
Filter the list to a folder; resolve a folder name to its id via view='folders'
Filter the list by source origin (WEB_URL, WEBSITE, FILE, DOCUMENT) — not a file format like pdf/txt; there is no file-format filter, use q for a filename substring instead.
WEB_URL, WEBSITE, FILE, DOCUMENT Filter the list by sync status (QUEUED, SYNCING, SYNCED, SYNC_FAILED).
QUEUED, SYNCING, SYNCED, SYNC_FAILED Filter the list by workflow status (DRAFT, IN_REVIEW, APPROVED, ARCHIVED).
DRAFT, IN_REVIEW, APPROVED, ARCHIVED Filter the list to a tag
Substring filter for the list view, matched against source title/filename — a single call already returns the definitive match set, no follow-up full listing needed.
Pagination cursor for the list view
Max sources to return in the list view
Response
Successful Response