Skip to main content

@wildix/wim-knowledge-base-client > ListSearchQueriesHistoryInput

ListSearchQueriesHistoryInput interface

Signature:

export interface ListSearchQueriesHistoryInput 

Properties

Property

Modifiers

Type

Description

companyId?

string | undefined

(Optional) The unique identifier of the tenant when a service token is used.

filter

SearchHistoryFilter

Filters for the history query. All filters are optional.

limit?

number | undefined

(Optional)

offset?

number | undefined

(Optional)

search?

string | undefined

(Optional) The search query string for filtering the history results.

sort?

string | undefined

(Optional) Sort order of the results. If there is a '-' prefix, the results will be sorted in descending order. Otherwise, the results will be sorted in ascending order. Example: '-createdAt' will sort the results by createdAt in descending order. 'createdAt' will sort the results by createdAt in ascending order.

withContent?

boolean | undefined

(Optional) Whether to include the content of the chunks in the history results.