Import workflow definition
POST
/workflow-definitions/import/Request body
application/jsonSee the request guidance below for a valid body.
Runnable SimGrid request
Use akoflow-examples/simulation/workflow.yaml instead of the create-workflow request in the first-run tutorial. Keep the other five requests in order so their referenced IDs exist. Do not submit the same workflow through both routes.
Handler-checked behavior
This compatibility route uses the same portable YAML/JSON importer as POST /workflow-definitions/. Supply name, spec.namespace, and activities with valid dependencies and execution or simulation fields. The workflow specification defines the authoring format; a duplicate normalized workflow ID returns 422.
Related guide
See the Workflows guide for related tasks and context.