Get the editor-oriented workflow payload for a specific workflow.
This endpoint returns everything needed to load the canvas:
definition.nodes built from flow_stepsdefinition.edges built from flow_edgesResponse details:
definition.nodes[].id is the workflow step identifier, not the database IDdefinition.edges[].id is the persisted edge UUIDdefinition.nodes[].data.node_type is the canonical backend node typedefinition.nodes[].data.config changes shape by node typeUse this endpoint when building or syncing a visual workflow editor, exporting a workflow graph, or cloning an existing workflow definition.
Documentation Index
Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt
Use this file to discover all available pages before exploring further.
Workflow identifier
Workflow definition retrieved successfully
Single workflow response including the canvas definition and editor metadata
Expanded workflow payload returned by GET /workflows/{workflow_id}/definition.
This is the editor-oriented response: it contains the workflow metadata plus the full canvas graph.