workflow_update

Management

Update Workflow

Update an existing workflow's metadata or definition. Args: - workflow_id: required - name, description: optional metadata - flow, inputs_definition, editor_info: optional definition fields. Editing editor_info without also supplying flow leaves the compiled flow stale — the workflow keeps running its previously-compiled flow until re-published. The response carries _publishHint in that case. - team_id, project_id: required for OAuth callers Returns: the updated workflow record (plus _publishHint when editor_info changed without a fresh flow). Example: "Rename this workflow" -> workflow_id="workflow_xxx", name="new-name"
open-world

Parameters

NameTypeRequiredDescription
workflow_idstringWorkflow ID.
namestringWorkflow name (for create/update).
descriptionstringWorkflow description (for create/update).
flowarrayWorkflow flow definition (array of node objects).
inputs_definitionarrayWorkflow input definitions.
editor_inforecordUI editor metadata (managed by the Scenario webapp). Validated against the webapp's import schema before persisting.
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.