cURL
curl --request POST \ --url https://app.luly.ai/api/v1/pathway/{pathway_id}/version \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "name": "<string>", "nodes": { "edges": {} }, "status": "<string>", "message": "<string>", "data": { "created_at": "<string>", "id": "<string>", "name": "<string>", "version_number": 123 } }'
{ "status": "success", "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1" }
Creates a new version of a specific pathway, including its name, nodes, and edges.
Node Object Parameters
Edge Object Parameters
Show Properties