- 文件分析
- 知识库管理
- 工作流
- MCP管理
- 数据库开发
- mineruPOST
工作流运行
开发中
开发环境
http://172.29.50.10:2333
开发环境
http://172.29.50.10:2333
POST
/zhixin_agent/workflows/run
请求参数
Body 参数application/json
inputs
object
工作流输入
input_query
string
必需
input_file
object
必需
conversation_id
string
会 话id
query
string
用户输入
files
array [object {5}]
用户上传的文件
type
string
可选
transfer_method
string
可选
url
string
可选
filename
string
可选
upload_file_id
string
可选
user_id
string
必需
app_mode
string
工作流模式
app_id
string
应用id
workflow_id
string
工作流id
示例
{
"inputs": {
"ww": "小明开开心心去上学",
"input_file": [
{
"type": "document",
"transfer_method": "local_file",
"url": "http://150.223.196.74:8888/agent/file/perception/1920013774022553602/1920013828175212545.pdf",
"filename": "测试文件.pdf",
"upload_file_id": "7b6425ea-5e60-48f5-9bec-7ec9da00fa06"
}
]
},
"conversation_id": "",
"query": "写一个100字的寓言故事",
"files": [
{
"type": "document",
"transfer_method": "local_file",
"url": "http://150.223.196.74:8888/agent/file/perception/1920013774022553602/1920013828175212545.pdf",
"filename": "测试文件.pdf",
"upload_file_id": "7b6425ea-5e60-48f5-9bec-7ec9da00fa06"
}
],
"user_id": "20250527test1",
"app_mode": "advanced-chat",
"app_id": "test2",
"workflow_id": "ff395c80-20dc-4997-8ad8-ffce4125db34"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'http://172.29.50.10:2333/zhixin_agent/workflows/run' \
--header 'Content-Type: application/json' \
--data-raw '{
"inputs": {
"ww": "小明开开心心去上学",
"input_file": [
{
"type": "document",
"transfer_method": "local_file",
"url": "http://150.223.196.74:8888/agent/file/perception/1920013774022553602/1920013828175212545.pdf",
"filename": "测试文件.pdf",
"upload_file_id": "7b6425ea-5e60-48f5-9bec-7ec9da00fa06"
}
]
},
"conversation_id": "",
"query": "写一个100字的寓言故事",
"files": [
{
"type": "document",
"transfer_method": "local_file",
"url": "http://150.223.196.74:8888/agent/file/perception/1920013774022553602/1920013828175212545.pdf",
"filename": "测试文件.pdf",
"upload_file_id": "7b6425ea-5e60-48f5-9bec-7ec9da00fa06"
}
],
"user_id": "20250527test1",
"app_mode": "advanced-chat",
"app_id": "test2",
"workflow_id": "ff395c80-20dc-4997-8ad8-ffce4125db34"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-06-06 03:45:22