Last updated 23 days ago
Description: Returns the workflow diagram in Mermaid format. This can be used to visualize your workflow using Mermaid.
Try it out:
GET /workflows/{workflow_id}/diagram Authentication: Bearer <Your API key>
{ "diagram": "" }
{ "diagram": "graph TD\n model[\"model<br/>Model node\"]\n slack_integration[\"slack_integration<br/>\"]\n START((START))\n END((END))\n slack_integration --> END\n START --> model\n model --> slack_integration\n style model fill:#bbf,stroke:#333,stroke-width:1px,color:#fff\n style slack_integration fill:#bbf,stroke:#333,stroke-width:1px,color:#fff\n style START fill:#9f9,stroke:#333,stroke-width:2px,color:#fff\n style END fill:#f99,stroke:#333,stroke-width:2px,color:#fff" }
Diagram: a breakdown of the workflow diagram in Mermaid format