deploy_workflow
Deploy a committed workflow version as the active one by specifying the workflow ID and optional version. Requires a prior commit; otherwise returns a 404 error.
Instructions
Deploy a committed workflow/pipeline version as the active (live) version.
Calls POST /api/workflows/{id}/deployments/ (the correct platform endpoint — different from the SDK's deployWorkflow). If version is omitted, deploys the latest committed version.
REQUIREMENT: must call commit_workflow first. If no committed version exists, deploy returns 404 "Committed version not found".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Specific version number to deploy. Omit for latest committed. | |
| workflow_id | Yes | Family workflow_id (not a version-row id). |