Skip to content

Interface: WebSearchRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WebSearchRequest

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

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 confirmExternal?: boolean

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

Whether the person confirmed this search can reach the open web.


optional limit?: number

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

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

10

optional project?: string | null

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

Project whose search setting applies. With null or omission, the engine uses the Space’s setting.


query: string

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

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