latestOpenAPI 3.1.02026-08-15557285515.3 KB

11d770ad7302

Knowledge Base

Search

Perform semantic search across indexed documents.

Results are filtered to only include the user's documents. Optionally filter by batch_id for batch-specific search.

Args: request: Search query and filters

Returns: List of matching results with source tracking

post/api/kb/search

Request body

querystring required
batch_idstring nullable
num_resultsinteger

Response

Successful Response

{"stackTrail":"paths:/api/kb/search:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}