Skip to main content

api.list()

View Source: list

Usage

api.list(options?): Promise<string[]>;

Description

List files with optional filters.

Sample Code

TypeScript Example:

// Example usage of api.list()
const result = await api.list();
console.log(result);

Parameters

options?

Configuration options for listing

limit?

number

Returns

Promise<string[]>

Promise resolving to array of file paths