Skip to main content
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

string
required
The workflow UUID to execute

Body Parameters

object
Input values referenced by {{inputs.field}} templates in the workflow steps

Response

string
Execution ID (use to poll status or retrieve results later)
string
The workflow that was executed
string
Execution status: pending, running, success, or failed
object
The inputs that were provided
array
Results from each step
string
Overall error message if the workflow failed
integer
Total execution time in milliseconds
string
ISO 8601 timestamp when execution began
string
ISO 8601 timestamp when execution finished

Example

MCP Tool

This endpoint is also available as the execute_workflow MCP tool: