Workflows
Execute Workflow
Run a workflow with the provided inputs
POST
Overview
Executes a workflow by running each step sequentially. Each step calls a Danube tool and template variables are resolved with results from previous steps. Returns the full execution result including all step outcomes. Auth: Accepts either JWT or API key (danube-api-key header). Public workflows can be executed by any authenticated user; private workflows require ownership.
Path Parameters
The workflow UUID to execute
Body Parameters
Input values referenced by
{{inputs.field}} templates in the workflow stepsResponse
Execution ID (use to poll status or retrieve results later)
The workflow that was executed
Execution status:
pending, running, success, or failedThe inputs that were provided
Results from each step
Overall error message if the workflow failed
Total execution time in milliseconds
ISO 8601 timestamp when execution began
ISO 8601 timestamp when execution finished
Example
MCP Tool
This endpoint is also available as theexecute_workflow MCP tool:
