POST
/
v2
/
runs

Authorizations

X-Api-Key
string
headerrequired

Body

application/json
workflow_id
string
required

The ID of the workflow to be run.

webhook_url
string

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

input
object

Variables that the workflow can use globally and their values.

Response

200 - application/json
id
string
required
version_id
string
required
status
enum<string>
required
Available options:
completed,
running,
failed,
queued,
cancelled
created_at
string
required
started_at
string | null
required
ended_at
string | null
required
workflow_id
string
required
error
string | null
required
input
object | null
required
output
object | null
required