Create workflow
Workflows
Create workflow
Create a workflow and upload its script.
POST
Create workflow
Authorizations
Your Maitai API key from the Portal.
Body
application/json
Workflow Python source. Or send multipart script_file / workflow_file / file.
Display name. Defaults from workflow_ref_name when omitted.
Bind to application by name; creates if missing.
Workflow execution mode. Defaults to sync.
Available options:
sync, async, stream Allow in-pod nested workflow invocations.
Child workflow refs allowed for in-pod routing.
Response
200 - application/json
Create workflow.