API ReferenceWorkflows
Create Workflow
Create a workflow with tasks that have depends_on and run_if fields
POST
application/json- body
tasks?array<>Workflow created (the file field is redacted for each task)
curl -X POST 'http://localhost:7070/workflows' \ -H 'Content-Type: application/json' \ -d '{ "tasks": [ { "name": "fetch-data", "image_url": "docker.io/myorg/fetch:v1" }, { "name": "process", "image_url": "docker.io/myorg/process:v1", "depends_on": [ "<fetch-data-task-id>" ], "run_if": "success" } ]}'Example Response201
Empty