diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdx index 756cf2053..77409c128 100644 --- a/web/app/components/develop/template/template_workflow.en.mdx +++ b/web/app/components/develop/template/template_workflow.en.mdx @@ -333,7 +333,7 @@ Workflow applications offers non-session support and is ideal for translation, a --- Retrieve the current execution results of a workflow task based on the workflow execution ID. ### Path - - `workflow_id` (string) Workflow ID, can be obtained from the streaming chunk return + - `workflow_run_id` (string) Workflow run ID, can be obtained from the streaming chunk return ### Response - `id` (string) ID of workflow execution - `workflow_id` (string) ID of related workflow @@ -358,9 +358,9 @@ Workflow applications offers non-session support and is ideal for translation, a ### Request Example - + ```bash {{ title: 'cURL' }} - curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \ + curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \ -H 'Authorization: Bearer {api_key}' \ -H 'Content-Type: application/json' ``` diff --git a/web/app/components/develop/template/template_workflow.ja.mdx b/web/app/components/develop/template/template_workflow.ja.mdx index e63393cbc..a83e21aef 100644 --- a/web/app/components/develop/template/template_workflow.ja.mdx +++ b/web/app/components/develop/template/template_workflow.ja.mdx @@ -334,7 +334,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from --- ワークフロー実行 ID に基づいて、ワークフロータスクの現在の実行結果を取得します。 ### パス - - `workflow_id` (string) ワークフローID、ストリーミングチャンクの返り値から取得可能 + - `workflow_run_id` (string) ワークフロー実行ID、ストリーミングチャンクの返り値から取得可能 ### 応答 - `id` (string) ワークフロー実行の ID - `workflow_id` (string) 関連するワークフローの ID @@ -359,9 +359,9 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from ### リクエスト例 - + ```bash {{ title: 'cURL' }} - curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \ + curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \ -H 'Authorization: Bearer {api_key}' \ -H 'Content-Type: application/json' ```