List or read knowledge sources
List the project’s knowledge sources or the folders that organize them, or read the full content of one source. This does not cover the brand kit, which is a separate resource.
Example: “What knowledge sources have I uploaded?”
Usage: pick what you want with view: list for the sources, folders for the folders (id and name, handy for turning a folder name into its id), or content for one source’s parsed text (needs the source id). When listing you can narrow by folder, by origin (web url, website, file, or document), by sync status, by workflow status, by tag, or by a text search over the title or filename, and page through the results with a cursor and a limit.
Response: for list, the matching sources with their status and details. For folders, each folder’s id and name. For content, the parsed text of the source.
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