diff --git a/web/app/components/develop/template/template_advanced_chat.en.mdx b/web/app/components/develop/template/template_advanced_chat.en.mdx
index 9502f20124..494b4a6551 100644
--- a/web/app/components/develop/template/template_advanced_chat.en.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.en.mdx
@@ -845,6 +845,104 @@ Chat applications support session persistence, allowing previous chat history to
---
+
+
+
+ Retrieve variables from a specific conversation. This endpoint is useful for extracting structured data that was captured during the conversation.
+
+ ### Path Parameters
+
+
+
+ The ID of the conversation to retrieve variables from.
+
+
+
+ ### Query Parameters
+
+
+
+ The user identifier, defined by the developer, must ensure uniqueness within the application
+
+
+
+ ### Response
+
+ - `page` (int) Current page number
+ - `limit` (int) Number of items per page
+ - `total` (int) Total number of items
+ - `has_more` (bool) Whether there is a next page
+ - `data` (array[object]) List of variables
+ - `id` (string) Variable ID
+ - `name` (string) Variable name
+ - `value_type` (string) Variable type (string, number, object, etc.)
+ - `value` (string) Variable value
+ - `description` (string) Variable description
+ - `created_at` (int) Creation timestamp
+ - `updated_at` (int) Last update timestamp
+
+ ### Errors
+ - 404, `conversation_not_exists`, Conversation not found
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "Customer name extracted from the conversation",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "Order details from the customer",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+
+
+
+ 特定の会話から変数を取得します。このエンドポイントは、会話中に取得された構造化データを抽出するのに役立ちます。
+
+ ### パスパラメータ
+
+
+
+ 変数を取得する会話のID。
+
+
+
+ ### クエリパラメータ
+
+
+
+ ユーザー識別子。開発者によって定義されたルールに従い、アプリケーション内で一意である必要があります。
+
+
+
+ ### レスポンス
+
+ - `page` (int) 現在のページ番号
+ - `limit` (int) ページごとのアイテム数
+ - `total` (int) アイテムの総数
+ - `has_more` (bool) さらにアイテムがあるかどうか
+ - `data` (array[object]) 変数のリスト
+ - `id` (string) 変数ID
+ - `name` (string) 変数名
+ - `value_type` (string) 変数タイプ(文字列、数値、真偽値など)
+ - `value` (string) 変数値
+ - `description` (string) 変数の説明
+ - `created_at` (int) 作成タイムスタンプ
+ - `updated_at` (int) 最終更新タイムスタンプ
+
+ ### エラー
+ - 404, `conversation_not_exists`, 会話が見つかりません
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "会話から抽出された顧客名",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "顧客の注文詳細",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+
+
+
+ 从特定对话中检索变量。此端点对于提取对话过程中捕获的结构化数据非常有用。
+
+ ### 路径参数
+
+
+
+ 要从中检索变量的对话ID。
+
+
+
+ ### 查询参数
+
+
+
+ 用户标识符,由开发人员定义的规则,在应用程序内必须唯一。
+
+
+
+ ### 响应
+
+ - `page` (int) 当前页码
+ - `limit` (int) 每页项目数
+ - `total` (int) 项目总数
+ - `has_more` (bool) 是否有更多项目
+ - `data` (array[object]) 变量列表
+ - `id` (string) 变量ID
+ - `name` (string) 变量名称
+ - `value_type` (string) 变量类型(字符串、数字、布尔等)
+ - `value` (string) 变量值
+ - `description` (string) 变量描述
+ - `created_at` (int) 创建时间戳
+ - `updated_at` (int) 最后更新时间戳
+
+ ### 错误
+ - 404, `conversation_not_exists`, 对话不存在
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "客户名称(从对话中提取)",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "客户的订单详情",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+
+
+
+ Retrieve variables from a specific conversation. This endpoint is useful for extracting structured data that was captured during the conversation.
+
+ ### Path Parameters
+
+
+
+ The ID of the conversation to retrieve variables from.
+
+
+
+ ### Query Parameters
+
+
+
+ The user identifier, defined by the developer, must ensure uniqueness within the application
+
+
+
+ ### Response
+
+ - `page` (int) Current page number
+ - `limit` (int) Number of items per page
+ - `total` (int) Total number of items
+ - `has_more` (bool) Whether there is a next page
+ - `data` (array[object]) List of variables
+ - `id` (string) Variable ID
+ - `name` (string) Variable name
+ - `value_type` (string) Variable type (string, number, object, etc.)
+ - `value` (string) Variable value
+ - `description` (string) Variable description
+ - `created_at` (int) Creation timestamp
+ - `updated_at` (int) Last update timestamp
+
+ ### Errors
+ - 404, `conversation_not_exists`, Conversation not found
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "Customer name extracted from the conversation",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "Order details from the customer",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+
+
+
+ 特定の会話から変数を取得します。このエンドポイントは、会話中に取得された構造化データを抽出するのに役立ちます。
+
+ ### パスパラメータ
+
+
+
+ 変数を取得する会話のID。
+
+
+
+ ### クエリパラメータ
+
+
+
+ ユーザー識別子。開発者によって定義されたルールに従い、アプリケーション内で一意である必要があります。
+
+
+
+ ### レスポンス
+
+ - `page` (int) 現在のページ番号
+ - `limit` (int) ページごとのアイテム数
+ - `total` (int) アイテムの総数
+ - `has_more` (bool) さらにアイテムがあるかどうか
+ - `data` (array[object]) 変数のリスト
+ - `id` (string) 変数ID
+ - `name` (string) 変数名
+ - `value_type` (string) 変数タイプ(文字列、数値、真偽値など)
+ - `value` (string) 変数値
+ - `description` (string) 変数の説明
+ - `created_at` (int) 作成タイムスタンプ
+ - `updated_at` (int) 最終更新タイムスタンプ
+
+ ### エラー
+ - 404, `conversation_not_exists`, 会話が見つかりません
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "会話から抽出された顧客名",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "顧客の注文詳細",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+
+
+
+ 从特定对话中检索变量。此端点对于提取对话过程中捕获的结构化数据非常有用。
+
+ ### 路径参数
+
+
+
+ 要从中检索变量的对话ID。
+
+
+
+ ### 查询参数
+
+
+
+ 用户标识符,由开发人员定义的规则,在应用程序内必须唯一。
+
+
+
+ ### 响应
+
+ - `page` (int) 当前页码
+ - `limit` (int) 每页项目数
+ - `total` (int) 项目总数
+ - `has_more` (bool) 是否有更多项目
+ - `data` (array[object]) 变量列表
+ - `id` (string) 变量ID
+ - `name` (string) 变量名称
+ - `value_type` (string) 变量类型(字符串、数字、布尔等)
+ - `value` (string) 变量值
+ - `description` (string) 变量描述
+ - `created_at` (int) 创建时间戳
+ - `updated_at` (int) 最后更新时间戳
+
+ ### 错误
+ - 404, `conversation_not_exists`, 对话不存在
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl -X GET '${props.appDetail.api_base_url}/conversations/{conversation_id}/variables?user=abc-123&variable_name=customer_name' \
+ --header 'Authorization: Bearer {api_key}'
+ ```
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "page": 1,
+ "limit": 100,
+ "total": 2,
+ "has_more": false,
+ "data": [
+ {
+ "id": "variable-uuid-1",
+ "name": "customer_name",
+ "value_type": "string",
+ "value": "John Doe",
+ "description": "客户名称(从对话中提取)",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ },
+ {
+ "id": "variable-uuid-2",
+ "name": "order_details",
+ "value_type": "json",
+ "value": "{\"product\":\"Widget\",\"quantity\":5,\"price\":19.99}",
+ "description": "客户的订单详情",
+ "created_at": 1650000000000,
+ "updated_at": 1650000000000
+ }
+ ]
+ }
+ ```
+
+
+
+
+---
+