UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

22 lines 710 B
import { ClientFn } from "../types/core.js"; import { DatasetInfo } from "../types/datasets.js"; export type ListDatasetsParams = ClientFn; export type FullDatasetInfo = DatasetInfo & { startDate: Date; endDate: Date; }; /** * List the information about all datasets available to the client. * * @example * ```ts * import { listDatasets } from "@arizeai/phoenix-client/datasets"; * * const datasets = await listDatasets({}); * console.log(datasets); * ``` * * @throws {Error} If the datasets cannot be listed or the response is invalid. */ export declare function listDatasets({ client: _client, }: ListDatasetsParams): Promise<FullDatasetInfo[]>; //# sourceMappingURL=listDatasets.d.ts.map