Skip to main content

Methods

cancel()

Cancel a workflow action run.

Parameters

string
required
Action run id to cancel.

Returns

Promise<void>

execute()

Execute a workflow action and stream run events.

Parameters

object
required
Action body (organizationId, sessionId, workflowAction, optional previousOutputs).
{ idempotencyKey: string }

Returns

AgentRunStream A stream of run events for the action execution.