curl -X GET "https://api.danubeai.com/v1/workflows/wf_abc123"
{
"id": "wf_abc123",
"name": "Email Summary Pipeline",
"description": "Fetches emails, summarizes, and posts to Slack",
"steps": [
{
"step_number": 1,
"tool_id": "tool_001",
"tool_name": "Gmail - List Emails",
"description": "Fetch recent emails",
"input_mapping": {
"limit": "{{inputs.email_count}}"
}
},
{
"step_number": 2,
"tool_id": "tool_002",
"tool_name": "OpenAI - Summarize",
"description": "Summarize email content",
"input_mapping": {
"text": "{{steps.1.result.emails}}"
}
},
{
"step_number": 3,
"tool_id": "tool_003",
"tool_name": "Slack - Send Message",
"description": "Post summary to Slack",
"input_mapping": {
"channel": "{{inputs.slack_channel}}",
"message": "{{steps.2.result.summary}}"
}
}
],
"owner_id": "user_123",
"visibility": "public",
"tags": ["email", "slack", "automation"],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-20T14:00:00Z"
}
Get workflow details including steps and configuration
curl -X GET "https://api.danubeai.com/v1/workflows/wf_abc123"
{
"id": "wf_abc123",
"name": "Email Summary Pipeline",
"description": "Fetches emails, summarizes, and posts to Slack",
"steps": [
{
"step_number": 1,
"tool_id": "tool_001",
"tool_name": "Gmail - List Emails",
"description": "Fetch recent emails",
"input_mapping": {
"limit": "{{inputs.email_count}}"
}
},
{
"step_number": 2,
"tool_id": "tool_002",
"tool_name": "OpenAI - Summarize",
"description": "Summarize email content",
"input_mapping": {
"text": "{{steps.1.result.emails}}"
}
},
{
"step_number": 3,
"tool_id": "tool_003",
"tool_name": "Slack - Send Message",
"description": "Post summary to Slack",
"input_mapping": {
"channel": "{{inputs.slack_channel}}",
"message": "{{steps.2.result.summary}}"
}
}
],
"owner_id": "user_123",
"visibility": "public",
"tags": ["email", "slack", "automation"],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-20T14:00:00Z"
}
Show Step object
{{inputs.field}} — reference workflow inputs{{steps.N.result.field}} — reference output from step Nprivate or publiccurl -X GET "https://api.danubeai.com/v1/workflows/wf_abc123"
{
"id": "wf_abc123",
"name": "Email Summary Pipeline",
"description": "Fetches emails, summarizes, and posts to Slack",
"steps": [
{
"step_number": 1,
"tool_id": "tool_001",
"tool_name": "Gmail - List Emails",
"description": "Fetch recent emails",
"input_mapping": {
"limit": "{{inputs.email_count}}"
}
},
{
"step_number": 2,
"tool_id": "tool_002",
"tool_name": "OpenAI - Summarize",
"description": "Summarize email content",
"input_mapping": {
"text": "{{steps.1.result.emails}}"
}
},
{
"step_number": 3,
"tool_id": "tool_003",
"tool_name": "Slack - Send Message",
"description": "Post summary to Slack",
"input_mapping": {
"channel": "{{inputs.slack_channel}}",
"message": "{{steps.2.result.summary}}"
}
}
],
"owner_id": "user_123",
"visibility": "public",
"tags": ["email", "slack", "automation"],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-20T14:00:00Z"
}