logo
Bulk Workflow Runs

Run a workflow in bulk

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

This endpoint lets the user run a specified workflow with the provided csv in bulk.

Execute an API Request

Request Body
workflow_idstringrequired

The ID of the workflow to be run in bulk.

input_csv_urlstringrequired

A CSV file containing the input data for the bulk run. Each row should contain the input data for a single run.

webhook_urlstring

The URL to which the bulk run results should be sent to on completion.

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

Response fields

object
idstring
version_idstring
statusstring
created_atstring
workflow_idstring
input_csv_urlstring
output_csv_urlstring or null
errorstring or null
row_countnumber
1
{
2
"id": "string",
3
"version_id": "string",
4
"status": "completed",
5
"created_at": "string",
6
"workflow_id": "string",
7
"input_csv_url": "string",
8
"output_csv_url": null,
9
"error": null,
10
"row_count": 0
11
}