Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: workflow_run_id not log_id in workflow api doc (#3658)

Joelb71163706b4b
diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdx
index 7e3eb7b8d77..806cf992e02 100644
--- a/web/app/components/develop/template/template_workflow.en.mdx
+++ b/web/app/components/develop/template/template_workflow.en.mdx
@@ -65,7 +65,7 @@ Workflow applications offers non-session support and is ideal for translation, a
### CompletionResponse
Returns the App result, `Content-Type` is `application/json`.
- - `log_id` (string) Unique log ID
+ - `workflow_run_id` (string) Unique ID of workflow execution
- `task_id` (string) Task ID, used for request tracking and the below Stop Generate API
- `data` (object) detail of result
- `id` (string) ID of workflow execution
@@ -178,7 +178,7 @@ Workflow applications offers non-session support and is ideal for translation, a
<CodeGroup title="Response">
```json {{ title: 'Response' }}
{
- "log_id": "djflajgkldjgd",
+ "workflow_run_id": "djflajgkldjgd",
"task_id": "9da23599-e713-473b-982c-4328d4f5c78a",
"data": {
"id": "fdlsjfjejkghjda",
diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx
index 532ed375c2d..090823c5048 100644
--- a/web/app/components/develop/template/template_workflow.zh.mdx
+++ b/web/app/components/develop/template/template_workflow.zh.mdx
@@ -63,7 +63,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
### CompletionResponse
返回完整的 App 结果,`Content-Type` 为 `application/json` 。
- - `log_id` (string) 日志 ID
+ - `workflow_run_id` (string) workflow 执行 ID
- `task_id` (string) 任务 ID,用于请求跟踪和下方的停止响应接口
- `data` (object) 详细内容
- `id` (string) workflow 执行 ID
@@ -174,7 +174,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
<CodeGroup title="Response">
```json {{ title: 'Response' }}
{
- "log_id": "djflajgkldjgd",
+ "workflow_run_id": "djflajgkldjgd",
"task_id": "9da23599-e713-473b-982c-4328d4f5c78a",
"data": {
"id": "fdlsjfjejkghjda",