Skip to main content

Function: getDatasets()

Call Signature

function getDatasets(): Promise<DatasetDBType[]>;
Defined in: src/utils/datasets.ts Lists all datasets.

Returns

Promise<DatasetDBType[]> A promise that resolves to the list of datasets.

Call Signature

function getDatasets(options: object): Promise<DatasetDBType[]>;
Defined in: src/utils/datasets.ts Lists datasets with optional filtering by project.

Parameters

options

(Optional) Options for listing datasets.
limit?
number (Optional) The maximum number of datasets to return.
projectId?
string (Optional) The ID of the project that uses the datasets.
projectName?
string (Optional) The name of the project that uses the datasets.

Returns

Promise<DatasetDBType[]> A promise that resolves to the list of datasets.