Search knowledge sources
Searches across the project’s knowledge sources and returns the most relevant passages, optionally with a generated answer written from them.
Example: Search the project’s knowledge base for passages about a topic, with a generated answer.
Usage: Give the search text and say how many passages you want back (5 by default). Ask for a generated answer or turn it off to get the raw passages only. You can narrow the search to specific sources, folders, or tags, or to sources in certain workflow statuses; leave those out to search the whole project. Only sources that have finished syncing are searchable, so a whole-project search already skips ones still queued, syncing, or failed.
Response: the matching passages with their source, and, when asked for, a generated answer written from them.
Headers
Query Parameters
Response
Successful Response
Retrieval response. answer is null in chunks-only mode.