curl --request POST \ --url 'workflows/create-or-update' \ --header 'Authorization: Bearer YOUR_API_KEY' \ -F 'name="Sample"' \ -F 'description="sample description"' \ -F 'nodes=[]' \ -F 'edges=[]' \ -F 'ml_payload=[]' \
{ "responseCode": 2000, "message": "Workflow created/updated successfully", "data": { "workflow": { "name": null, "description": null, "nodes": null, "edges": null, "ml_payload": null, "user_id": "**", "id": "c392dd0e-6d8c-43b6-aefd-***", "created_at": "2025-07-29T09:11:00.661Z", "updated_at": "2025-07-29T09:11:00.661Z" } } }
Initiate the update of an existing workflow by providing details.
Bearer