ListKnowledgeSourceFilesOptions interface

Options for listing files in a File knowledge source.

Extends

Properties

pageSize

The maximum number of files to return in one page.

prefix

Optional directory-like path prefix used to filter files.

search

A string used to narrow the file listing.

searchType

Specifies how the search parameter is interpreted. Currently only prefix is supported.

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

tracingOptions

Options used when tracing is enabled.

Property Details

pageSize

The maximum number of files to return in one page.

pageSize?: number

Property Value

number

prefix

Optional directory-like path prefix used to filter files.

prefix?: string

Property Value

string

A string used to narrow the file listing.

search?: string

Property Value

string

searchType

Specifies how the search parameter is interpreted. Currently only prefix is supported.

searchType?: string

Property Value

string

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From OperationOptions.abortSignal

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From OperationOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From OperationOptions.requestOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From OperationOptions.tracingOptions