智信-agent
  1. 工作流
智信-agent
  • 文件分析
    • 文件解析接口
      POST
    • 文本分段测试接口
      POST
    • 二进制文件
      POST
    • 二进制文件【json】
      POST
  • 知识库管理
    • 知识库初始化
      POST
    • 知识库召回测试
      POST
    • 知识库查询
      POST
    • 知识库文件添加
      POST
  • 工作流
    • AI生成prompt
      POST
    • 工作流运行
      POST
    • 单节点运行
      POST
    • 工作流保存接口
      POST
    • 代码生成
      POST
    • 获取工作流
      GET
  • MCP管理
    • 建立MCP服务器
      POST
    • MCP服务器工具的添加
      POST
    • MCP服务器工具的删除
      POST
    • MCP服务器工具的修改
      POST
    • 修改服务器名称和描述
      POST
    • 关闭MCP服务器
      POST
    • 查看所有的工具
      POST
    • 查询当前活跃的mcp服务器信息
      GET
    • 使用指定工具
      POST
  • 数据库开发
    • 数据库内部接口
      • 接口整合
      • 自然语言及SQL执行
      • schma查询
      • 单表的字段描述查询
      • all
    • 数据库工作流运行
      • 数据库工作流保存
      • 数据库单节点运行
  • 未命名接口
    GET
  • mineru
    POST
  1. 工作流

工作流运行

开发中
开发环境
http://172.29.50.10:2333
开发环境
http://172.29.50.10:2333
POST
/zhixin_agent/workflows/run

请求参数

Body 参数application/json

示例
{
    "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

示例
{}
修改于 2025-06-06 03:45:22
上一页
AI生成prompt
下一页
单节点运行
Built with