大模型监控配置
说明:以下响应使用相同的 TaskConfig 结构。实际可用模型、模式、频次和手机解锁条件以服务返回及套餐为准。
TaskConfig 响应字段:
| 返回值 | 类型 | 含义 |
|---|---|---|
team_id / team_name | string | 所属团队 ID / 名称 |
brand_id / brand_name | string | 品牌配置中的品牌 ID / 名称;团队默认配置不含 |
models | object 数组 | 当前层级的模型配置 |
models[].model_name | string | 模型名称 |
models[].enabled | bool | 是否启用 |
models[].frequency | object | PC 频次;count 为次数,unit 为单位 |
models[].mobile_frequency | object | 手机端频次,存在时返回 |
models[].frequency.execution_config / models[].mobile_frequency.execution_config | object | 对应端的执行配置:model 为底层模型,options 为 string map |
models[].execution_config | object | 服务返回的外层执行配置;本节更新接口忽略该字段 |
models[].associated_prompt_count | int | 关联提问数量 |
models[].mobile_unlocked | bool | 手机端是否已解锁;以返回值为准 |
models[].pc_capabilities / models[].mobile_capabilities | object | 分端能力;supports_deep_thought 表示是否支持深度思考 |
task_count | int | 任务数量 |
available_models | string 数组 | 可用模型名称 |
product_card | object | 品牌配置的商品卡开关:plan_enabled、brand_enabled、effective_enabled 均为 boolean |
查询团队监控配置
- 请求方法:POST
- 请求路径:
/geo/team/config
请求参数:
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
team_id | string | 团队 ID | 是 |
include_disabled | bool | 是否包含关闭的模型;默认 false | 否 |
请求示例:
{
"team_id": "2001",
"include_disabled": true
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
code | int | 0 表示成功 |
msg | string | 返回消息 |
data.team | object | 团队默认配置,字段见本节 TaskConfig 表 |
data.brands | object 数组 | 各品牌自身覆盖配置,每项为 TaskConfig |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"team": {
"team_id": "2001",
"team_name": "测试团队A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
]
},
"brands": [
{
"team_id": "2001",
"team_name": "测试团队A",
"brand_id": "1001",
"brand_name": "测试品牌A",
"models": [],
"task_count": 0,
"available_models": [
"deepseek"
],
"product_card": {
"plan_enabled": false,
"brand_enabled": false,
"effective_enabled": false
}
}
]
}
}查询品牌监控配置
- 请求方法:POST
- 请求路径:
/geo/brand/config
说明:响应中的 team 为团队默认配置,brand 为品牌自身的覆盖配置。
请求参数:
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
brand_id | string | 品牌 ID | 是 |
include_disabled | bool | 是否包含关闭的模型;默认 false | 否 |
请求示例:
{
"brand_id": "1001",
"include_disabled": true
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
code | int | 0 表示成功 |
msg | string | 返回消息 |
data.team | object | 团队默认配置,字段见本节 TaskConfig 表 |
data.brand | object | 当前品牌自身配置,为 TaskConfig |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"team": {
"team_id": "2001",
"team_name": "测试团队A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
]
},
"brand": {
"team_id": "2001",
"team_name": "测试团队A",
"brand_id": "1001",
"brand_name": "测试品牌A",
"models": [],
"task_count": 0,
"available_models": [
"deepseek"
],
"product_card": {
"plan_enabled": false,
"brand_enabled": false,
"effective_enabled": false
}
}
}
}保存团队监控配置
- 请求方法:POST
- 请求路径:
/geo/team/config/models/update
说明:仅更新已开通模型的 PC frequency,mobile_frequency 和模型外层的 execution_config 不参与更新。enabled=false 关闭模型,frequency.count=0 关闭 PC 运行。
请求参数:
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
team_id | string | 团队 ID | 是 |
models | object 数组 | 要更新的已开通模型,不能为空 | 是 |
models[].model_name | string | 模型名称 | 是 |
models[].enabled | bool | 模型开关 | 是 |
models[].frequency | object | PC 频次:count 为 int,unit 为 string;有效非零值须在套餐允许范围内 | 否 |
models[].frequency.execution_config | object | model 为底层模型,options 为 string map | 否 |
models[].frequency.execution_config.options.think_modes | string | JSON 字符串,包含 fast_enabled/deep_enabled 布尔值 | 否 |
请求示例:
{
"team_id": "2001",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true,\"deep_enabled\":false}"
}
}
}
}
]
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
code | int | 0 表示成功 |
msg | string | 返回消息 |
data.team | object | 团队默认配置,字段见本节 TaskConfig 表 |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"team": {
"team_id": "2001",
"team_name": "测试团队A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
]
}
}
}保存品牌监控配置
- 请求方法:POST
- 请求路径:
/geo/brand/config/models/update
说明:PC 的 frequency 与手机端的 mobile_frequency 独立配置;仅当 mobile_unlocked=true 时保存手机端配置。模型模式填写在对应端的 frequency.execution_config.options.think_modes 中,模型外层的 execution_config 不参与更新。
请求参数:
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
brand_id | string | 品牌 ID | 是 |
models | object 数组 | 要更新的已开通模型,不能为空 | 是 |
models[].model_name | string | 模型名称 | 是 |
models[].enabled | bool | 模型开关 | 是 |
models[].frequency | object | PC 频次:count 为 int,unit 为 string;有效非零值须在套餐允许范围内 | 否 |
models[].frequency.execution_config | object | model 为底层模型,options 为 string map | 否 |
models[].frequency.execution_config.options.think_modes | string | JSON 字符串,包含 fast_enabled/deep_enabled 布尔值 | 否 |
models[].mobile_frequency | object | 手机端频次与 execution_config;仅已解锁模型生效 | 否 |
请求示例:
{
"brand_id": "1001",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true,\"deep_enabled\":false}"
}
}
}
}
]
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
code | int | 0 表示成功 |
msg | string | 返回消息 |
data.team | object | 团队默认配置,字段见本节 TaskConfig 表 |
data.brand | object | 当前品牌自身配置,为 TaskConfig |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"team": {
"team_id": "2001",
"team_name": "测试团队A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
]
},
"brand": {
"team_id": "2001",
"team_name": "测试团队A",
"brand_id": "1001",
"brand_name": "测试品牌A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
],
"product_card": {
"plan_enabled": false,
"brand_enabled": false,
"effective_enabled": false
}
}
}
}恢复品牌跟随团队配置
- 请求方法:POST
- 请求路径:
/geo/brand/config/delete
说明:删除品牌自身的监控配置后,品牌恢复使用团队默认配置。
请求参数:
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
brand_id | string | 品牌 ID | 是 |
请求示例:
{
"brand_id": "1001"
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
code | int | 0 表示成功 |
msg | string | 返回消息 |
data.team | object | 团队默认配置,字段见本节 TaskConfig 表 |
data.brand | object | 当前品牌自身配置,为 TaskConfig |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"team": {
"team_id": "2001",
"team_name": "测试团队A",
"models": [
{
"model_name": "deepseek",
"enabled": true,
"frequency": {
"count": 1,
"unit": "day",
"execution_config": {
"model": "deepseek",
"options": {
"think_modes": "{\"fast_enabled\":true}"
}
}
},
"associated_prompt_count": 1,
"mobile_unlocked": false,
"pc_capabilities": {
"supports_deep_thought": true
},
"mobile_capabilities": {
"supports_deep_thought": false
}
}
],
"task_count": 1,
"available_models": [
"deepseek"
]
},
"brand": {
"team_id": "2001",
"team_name": "测试团队A",
"brand_id": "1001",
"brand_name": "测试品牌A",
"models": [],
"task_count": 0,
"available_models": [
"deepseek"
],
"product_card": {
"plan_enabled": false,
"brand_enabled": false,
"effective_enabled": false
}
}
}
}