logo
Workflow Runs

Run a workflow

post
https://api.workflows.tryleap.ai/v1/runs

This endpoint lets the user run a specified workflow with the provided workflow definition.

Request Body
workflow_idstringrequired
The ID of the workflow to be run.
webhook_urlstring
The URL to which the workflow results should be sent to on completion.
inputobject
Variables that the workflow can use globally and their values.

Responses

Authorization
Request
Installation
$
npm install @leap-ai/workflows
1
Loading...