Run a Workflow
Run a specific workflow by its ID.
Path Parameters
The ID of the app
The ID of the workflow
Query Parameters
Body
Data to create a new run
Default config input values of the workflow Input values for the run
Indicates if the run should stream output to the client as it becomes available via SSE (Server-Sent Events)
Indicates if the run should be executed in the background and return the run information immediately
Data retention policy for the run
ID of the workflow version. Also you can use "latest", "draft" or "version number" to use a specific version
draft
, latest
"latest"
Step key to start the run from
Temporary WebSocket identifier used to track run status before creation completes
256
Response
Unique identifier for the run
Default config input values of the workflow Input values used for the run
Output of the run
Status of the run
PENDING
, RUNNING
, CANCELLED
, COMPLETED
, SKIPPED
, FAILED
"RUNNING"
Origin of the run
WORKFLOW
, TRIGGER
, RECORD
, TEST
, ENDPOINT
, WEBHOOK
"WORKFLOW"
Timestamp of when the run started
Timestamp of when the run ended
ID of the associated app where the run was triggered from
ID of the associated app where the workflow belongs to
ID of the associated workflow
Draft version of the workflow
Details of the workflow version used for the run
Timestamp of when the run was created
Timestamp of when the run was last updated
Result of the workflow step run Result of the run
Error message if the run failed
ID of the associated collection
ID of the associated record
Version number of the workflow
Credits usage of the step run Credits usage of the run
Configuration for how long run data is preserved in the system
{
"max_age_in_seconds": 3600,
"preserve_on_failure": true
}
Timestamp of when the run data retention policy will be applied