Create workflow
Create a new workflow together with its initial version. This route forwards to workflows-engine, which generates the slug, persists the workflow + version, and provisions the execution state machine.
Only name is required. definition is the workflow DSL as an arbitrary JSON
object (steps, input_schema, metadata). Categories, tags, and visibility are not
accepted on this route — workflows-engine applies its defaults (categories
["general"], visibility private).
Authorizations
API key passed as an Authorization Bearer token: Authorization: Bearer YOUR_API_KEY
Body
Response
Workflow created
The created workflow (summary fields + its versions).
"wf_abc123"
"my-workflow"
"My Workflow"
"active"
0
0
false
false