Upload workflow bundle
Workflows
Upload workflow bundle
Upload or upsert a workflow bundle (script, accessories, optional version publish).
POST
Upload workflow bundle
Authorizations
Your Maitai API key from the Portal.
Body
application/json
Workflow Python source. Or multipart script_file / workflow_file / file.
Display name. Defaults from workflow_ref_name when omitted.
Available options:
sync, async, stream Bind to application by name; creates if missing.
Publish an immutable workflow version after upload.
Notes for the published version.
Semver bump when publishing. Defaults to minor.
Available options:
major, minor, patch Inline accessories as base64 objects (multipart accessory_ also supported).
Response
200 - application/json
Upload workflow bundle.