run
Create a new workflow run
Create a new workflow run with the given parameters. This function sets up the run and initiates the execution process. For callback information, see Callbacks.
POST
/
run
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
workflow_version_id
string
requiredexecution_mode
enum<string> | null
default: asyncAvailable options:
async
, sync
, sync_first_result
inputs
object | null
webhook
string | null
webhook_intermediate_status
boolean | null
default: falseorigin
string | null
default: apibatch_number
integer | null
batch_input_params
object | null
Optional dictionary of batch input parameters. Keys are input names, values are lists of inputs.
is_native_run
boolean | null
default: falsemachine_id
string | null
Response
200 - application/json
run_id
string
requiredWas this page helpful?