1. Agent 管理
EMOO开放平台
  • 鉴权
    • 获取企业令牌
      GET
  • 通讯录
    • 角色管理
      • 获取角色列表
    • 获取通讯录成员
      GET
    • 更新成员信息
      PUT
  • 数据
    • 搜索数据
      POST
    • 获取数据
      POST
  • 对话
    • 获取用户对话列表
      GET
    • 创建对话
      POST
    • 发送对话消息
      POST
  • 消息
    • 主动推送消息给指定用户
      POST
  • Agent 管理
    • 创建 agent
      POST
    • 获取 agent 列表
      GET
    • 获取 agent 详情
      GET
    • 部分更新 agent
      PATCH
    • 删除 agent
      DELETE
  • EMOO Base
    • 表管理
      • 创建表
      • 获取表列表
      • 更新表
      • 删除表
      • 获取表详情
    • 列管理
      • 添加列
      • 更新列
      • 删除列
    • Record管理
      • 新建record
      • 批量更新record
      • 拉取record列表
      • 更新record
      • 删除record
  • 应用
    • 获取工作空间的应用列表
      GET
    • 获取应用的文档组列表
      GET
  • 数据模型
    • 常量
      • LANGUAGE
      • RESPONSE_CODE
      • WS_USER_TYPE
    • DocDetailInfo
    • DocFilterCondition
    • WsGroupBaseInfo
    • WsUserDetailInfo
    • WsUserUpdate
    • WsAppInfo
    • DocGroupInfo
    • TableIdentifier
    • AgentType
    • WsGroup
    • ColumnIdentifier
    • AgentScope
    • WsGroupListResponse
    • ColumnDef
    • Agent
    • ColumnInfo
    • CreateAgentRequest
    • TableBrief
    • UpdateAgentRequest
    • CreateTableRequest
    • WebhookConfig
    • UpdateTableRequest
    • DifyConfig
    • TableIdentifierRequest
    • CozeConfig
    • AddColumnRequest
    • TimusConfig
    • UpdateColumnRequest
    • AgentResponse
    • DeleteColumnRequest
    • AgentListResponse
    • TableWithColumns
    • EmptyDataResponse
    • TableBriefResponse
    • ErrorResponse
    • TableWithColumnsResponse
    • TableListResponse
    • ColumnResponse
    • DeleteResponse
  1. Agent 管理

部分更新 agent

PATCH
/agents/{ws_agent_key}
部分更新 agent 配置。仅传需要修改的字段。agent_type 不可修改;如传 config,必须符合该 agent 当前的 agent_type 配置结构。

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Path 参数

Header 参数

Body 参数application/json必填

示例
{
    "title": "新名称",
    "is_enabled": false
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
cURL
curl --location --request PATCH 'https://app.emoosearch.com/open-api/v1/agents/' \
--header 'Emoo-User-Id: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "title": "新名称",
    "is_enabled": false
}'

返回响应

🟢200
application/json
更新成功,返回完整 agent 对象(同 GET 详情)
Bodyapplication/json

示例
{
    "code": 200,
    "message": "success",
    "data": {
        "ws_agent_key": "string",
        "title": "string",
        "agent_type": "webhook",
        "is_enabled": true,
        "description": "string",
        "scope": "public",
        "specified_ws_group_ids": [
            0
        ],
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z"
    }
}
🟠400InvalidParams
🟠404AgentNotFound
修改于 2026-07-04 10:00:19
上一页
获取 agent 详情
下一页
删除 agent
Built with