- 文档首页
AI 数据湖服务
API 参考:管控面
工作流模板
UpdateWorkflow - 更新工作流
工作流模板
UpdateWorkflow - 更新工作流
UpdateWorkflow - 更新工作流
更新工作流
调试
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。 Action string 必选 示例值:UpdateWorkflow
要执行的操作,取值:UpdateWorkflow。
Version string 必选 示例值:2025-08-15
API的版本,取值:2025-08-15。
Name string 必选 示例值:workflow_name
工作流名称
Content string 必选 示例值:详情请参见下文的”请求参数 Content 示例“章节
工作流内容,使用 argo yaml 编排, task_parameters 为 RunTaskInstance 的 json 字符串
WorkflowId string 必选 示例值:wf-tpl-xxx
工作流 Id
ClientToken string 可选 示例值:uuid-xxxxxx
客户端token
Description string 可选 示例值:description
工作流描述
返回参数
请求示例
POST https://open.volcengineapi.com
"Name": "workflow_name",
"Content": "apiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName: las-task-\nspec:\n entrypoint: main\n templates:\n - name: main\n dag:\n tasks:\n - name: las-task\n templateRef:\n name: las-system-template\n template: las-task\n clusterScope: true\n arguments:\n parameters:\n - name: task_id\n value: \"Ray-xxx\"\n - name: task_resources\n value: '{\"QueueResourceId\":\"PUBLIC_resource_xxx\",\"RayParams\":{\"WorkerCpu\":1,\"WorkerMemory\":8,\"WorkerGpuNum\":1,\"HeadCpu\":1,\"HeadMemory\":4}}'",
"WorkflowId": "wf-tpl-xxx",
"Description": "description"
返回示例
"Action": "UpdateWorkflow",
"Version": "2025-08-15",
"RequestId": "20230604110420****100232280022D31",
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
请求参数 Content 示例
apiVersion: argoproj.io/v1alpha1
name: las-system-template
value: "{\"ResourceId\":\"PUBLIC_resource_xxx\", \"DaftResourceConf
最近更新时间:2026.08.18 11:54:15