Skip to content

Interface: WebSearchRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WebSearchRequest

Defined in: src/types/ingestion.ts:2257

Body of POST /api/v1/web/search.

The engine refuses an unknown key, and refuses a limit of null: leave limit out to take the default. Read the limits from client.ingestion.getWebCapabilities().

optional limit?: number

Defined in: src/types/ingestion.ts:2263

Results answered at most: from 1 to webSearch.maxResultsLimit (50).

10

query: string

Defined in: src/types/ingestion.ts:2268

What to search for. It must contain a non-whitespace character, and at most webSearch.maxQueryChars (1024) characters once trimmed.