mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 07:45:54 +08:00
fix: workflow_run_id not log_id in workflow api doc (#3658)
This commit is contained in:
parent
1fb7df12d7
commit
b71163706b
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user