• Invoke a deployed flow over HTTP(s).

    For example:

    import { runFlow } from '@genkit-ai/core/flow-client';

    const response = await runFlow({
    url: 'https://my-flow-deployed-url',
    input: 'foo',
    });
    console.log(await response);

    Type Parameters

    • O = any

    Parameters

    • __namedParameters: { headers?: Record<string, string>; input?: any; url: string }

    Returns Promise<O>