Execute a workflow.

Beta
POST

Path parameters

workflow_idstringRequired

Query parameters

environmentstringOptional

Specifies the execution environment for the workflow. The available environments include:

  • production: The production environment, where workflows are executed under live conditions.
  • staging: A staging environment used for testing prior to production deployment.
  • development: A development environment used for testing new changes.
  • console: The console environment, runs latest changes on a workflow.
revision_idstringOptional
session_idstringOptional

Request

This endpoint expects an object.
streamingtrueRequired
inputsmap from strings to booleans or maps from strings to any or doubles or integers or lists of any or stringsOptional

Response

This endpoint returns a stream of object.
Workflow Run Startedobject
OR
Workflow Run Completedobject
OR
Workflow Run Failedobject
OR
Block Run Startedobject
OR
Block Run Completedobject
OR
Block Run Failedobject
OR
Block State Updatedobject