@gentrace/core
Version:
Core Gentrace Node.JS library
14 lines (13 loc) • 532 B
TypeScript
type PipelineParams = {
label?: string;
slug?: string;
};
/**
* Retrieves pipelines from the Gentrace API.
* @async
* @param {PipelineParams} [params] - Optional parameters to filter the pipelines.
* @returns {Promise<Array<Pipeline>>} - A promise that resolves to an array of pipelines.
* @throws {Error} - Throws an error if the Gentrace API key is not initialized.
*/
export declare const getPipelines: (params?: PipelineParams) => Promise<import("../models").V1PipelinesGet200ResponsePipelinesInner[]>;
export {};