mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
[DOCS]: Fix incorrect parameter name in workflow API documentation (workflow_id should be workflow_run_id) #188
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kawabata-mcl on GitHub (Jul 17, 2025).
Type of Documentation Change
Error/Typo fix
Documentation Page URL or Path
https://github.com/langgenius/dify/blob/1.6.0/web/app/components/develop/template/template_workflow.ja.mdx
Current Content
Description
There is an inconsistency in the workflow API documentation across different language versions. The "Get Workflow Run Detail" endpoint documentation incorrectly uses
workflow_idas the path parameter in Japanese and English versions, while the actual implementation and Chinese documentation correctly useworkflow_run_id.Current Behavior
Japanese documentation :
/workflows/run/:workflow_idworkflow_id(string)English documentation :
/workflows/run/:workflow_idworkflow_id(string)Expected Behavior
The documentation should match the actual API implementation and the correct Chinese documentation :
/workflows/run/:workflow_run_idworkflow_run_id(string)Evidence
The actual API implementation confirms that
workflow_run_idis the correct parameter:Files to Fix
web/app/components/develop/template/template_workflow.ja.mdx(lines 337, 346)web/app/components/develop/template/template_workflow.en.mdx(lines 336, 345)Impact
This documentation error could cause confusion for developers integrating with the Dify API, as they might use the incorrect parameter name and receive API errors.
Suggested Changes
For Japanese Documentation (
template_workflow.ja.mdx)Current (incorrect) section:
Should be corrected to:
Current (incorrect) parameter description:
Should be corrected to:
For English Documentation (
template_workflow.en.mdx)Current (incorrect) section:
Should be corrected to:
Current (incorrect) parameter description:
Should be corrected to:
Reason for Change
No response
Code of Conduct
@kawabata-mcl commented on GitHub (Jul 17, 2025):
The curl sample commands in both Japanese and English documentation also need to be updated to use
:workflow_run_idinstead of:workflow_id.Current Incorrect Curl Commands
Japanese documentation:
English documentation:
Should be corrected to:
For Japanese documentation:
For English documentation:
Reference Implementation
The Chinese documentation already has the correct curl command:
This ensures consistency across all documentation languages and prevents API integration errors for developers following the curl examples.