Skip to main content
POST

Overview

Creates a new workflow that chains multiple Danube tools into an ordered pipeline. Each step executes a tool and can reference results from previous steps using template syntax ({{steps.N.result.field}}, {{inputs.field}}). Auth: Accepts either JWT or API key (danube-api-key header).

Body Parameters

name
string
required
Workflow name (max 128 characters)
description
string
default:""
Workflow description
steps
array
required
Ordered list of workflow steps
visibility
string
default:"private"
"private" or "public"
tags
array
default:[]
Tags for discovery

Response

id
string
Created workflow UUID
name
string
Workflow name
description
string
Workflow description
steps
array
The workflow steps as provided
owner_id
string
Owner user ID
visibility
string
"private" or "public"
tags
array
Workflow tags
created_at
string
ISO 8601 creation timestamp

Example

MCP Tool

This endpoint is also available as the create_workflow MCP tool: