Interface: WebSearchRequest
@kortexya/reasoninglayer / WebSearchRequest
Interface: WebSearchRequest
Section titled “Interface: WebSearchRequest”Defined in: src/types/ingestion.ts:2576
Body of POST /api/v1/web/search.
Remarks
Section titled “Remarks”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().
Properties
Section titled “Properties”confirmExternal?
Section titled “confirmExternal?”
optionalconfirmExternal?:boolean
Defined in: src/types/ingestion.ts:2578
Whether the person confirmed this search can reach the open web.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: src/types/ingestion.ts:2586
Results answered at most: from 1 to webSearch.maxResultsLimit (50).
Default Value
Section titled “Default Value”10project?
Section titled “project?”
optionalproject?: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.