AI Agent应用管理
获取 Agent 应用详情
根据应用 ID 查询当前租户下的 Agent 应用配置详情。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| appId | int64 | 是 | 应用 ID | 10001 |
返回参数
| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| appId | int64 | 应用 ID | 10001 |
| bizType | int32 | 业务类型 | |
| appName | string | 应用名称 | |
| appDesc | string | 应用描述 | |
| prompt | string | 应用提示词 | |
| sessionSetting | object | 应用对话规则配置 | |
| └contextRound | int32 | 上下文轮次 | 5 |
| └model | string | 模型名称 | |
| modelSetting | object | 应用模型配置 | |
| └mode | int32 | 模型模式 | |
| └temperature | double | 模型温度 | 0.7 |
| ysKnowledgeList | object[] | 绑定的云商知识空间列表 | |
| └spaceId | int64 | 知识空间 ID | |
| └spaceName | string | 知识空间名称 | |
| └spaceType | int32 | 知识空间类型 | |
| └docCount | int64 | 知识点数量 | |
| └description | string | 知识空间描述 | |
| └anchor | string | 知识空间锚点 | |
| └spaceLink | string | 知识空间链接 | |
| └status | int32 | 绑定状态 | |
| └type | int32 | 知识空间类型 | |
| toolList | object[] | 绑定的工具列表 | |
| └toolboxId | int64 | 工具组 ID | |
| └toolId | int64 | 工具 ID | |
| └name | string | 工具名称 | |
| └desc | string | 工具描述 | |
| └toolStatus | int32 | 工具状态 | |
| └toolboxType | string | 工具组类型 | |
| └imageUrl | string | 工具组图片地址 | |
| └toolUseCase | int32 | 工具用途 | |
| └toolType | int32 | 工具类型 | |
| └cardConfig | any | 工具绑定卡片配置 | |
| └supportBindCard | int32 | 是否支持绑定卡片 | |
| └supportToolSetting | int32 | 是否支持工具设置 | |
| └isTemplateTool | boolean | 是否模板工具 | |
| workflowList | object[] | 绑定的工作流列表 | |
| └workflowId | int64 | 工作流 ID | |
| └workflowName | string | 工作流名称 | |
| └workflowStatus | int32 | 工作流发布状态 | |
| └cardConfig | any | 工作流绑定卡片配置 | |
| └status | int32 | 绑定状态 | |
| └isNew | int32 | 是否新版画布 | |
| └workflowDesc | string | 工作流描述 | |
| knowledgeToolCallType | int32 | 知识库工具调用方式 | |
| isSpecifySpaceCall | int32 | 是否开启指定空间调用 | |
| hybridScoreLimit | double | 混合召回分数阈值 | |
| topNLimit | int32 | 切片召回最大数量 | |
| wordSizeLimit | int32 | 文本召回最大长度 |
getEndpoint
/openapi/agent/v2/app/detailcurl -X GET "https://b.163.com/openapi/agent/v2/app/detail?appId=10001"{
"appId": 10001,
"bizType": "0",
"appName": "string",
"appDesc": "string",
"prompt": "string",
"sessionSetting": {
"contextRound": 5,
"model": "string"
},
"modelSetting": {
"mode": "1",
"temperature": 0.7
},
"ysKnowledgeList": [
{
"spaceId": 0,
"spaceName": "string",
"spaceType": "-1",
"docCount": 0,
"description": "string",
"anchor": "string",
"spaceLink": "string",
"status": "0",
"type": 0
}
],
"toolList": [
{
"toolboxId": 0,
"toolId": 0,
"name": "string",
"desc": "string",
"toolStatus": "0",
"toolboxType": "string",
"imageUrl": "string",
"toolUseCase": 0,
"toolType": 0,
"cardConfig": null,
"supportBindCard": "0",
"supportToolSetting": "0",
"isTemplateTool": true
}
],
"workflowList": [
{
"workflowId": 0,
"workflowName": "string",
"workflowStatus": "0",
"cardConfig": null,
"status": "0",
"isNew": "0",
"workflowDesc": "string"
}
],
"knowledgeToolCallType": "1",
"isSpecifySpaceCall": "0",
"hybridScoreLimit": 0.1,
"topNLimit": 0,
"wordSizeLimit": 0
}这篇文档有帮助吗?