Creates a new version of a specific pathway, including its name, nodes, and edges.
Node Object Parameters
id
— Unique identifier of the nodetype
— Type of the node (e.g., “Default”, “End Call”, “Webhook”)data
— Object containing node-specific data
name
— Name of the nodetext
or prompt
— Text or prompt associated with the nodeEdge Object Parameters
id
— Unique identifier of the edgesource
— ID of the source nodetarget
— ID of the target nodelabel
— Label for this edge