Parameters for the listFiles operation.

interface ListFilesParams {
    after?: string;
    headers?: OutgoingHttpHeaders;
    limit?: number;
    order?: "desc" | "asc";
    projectId?: string;
    purpose?: "batch";
    signal?: AbortSignal;
    spaceId?: string;
}

Hierarchy (view full)

Properties

after?: string

A cursor for pagination. Use the last file ID from the previous response to retrieve the next page.

headers?: OutgoingHttpHeaders
limit?: number

Maximum number of files to return. Must be between 1 and 10,000.

order?: "desc" | "asc"

Order of results. Options are "asc" or "desc".

projectId?: string

Watsonx project identifier.

purpose?: "batch"

Filter files by purpose.

signal?: AbortSignal
spaceId?: string

Watsonx space identifier.