文档首页/ 智果(AgentArts)智能体平台/ API参考/ API/ 评估/ 模型管理/ 获取模型信息 - ListOpsEvaluationModels
更新时间:2026-09-02 GMT+08:00
分享

获取模型信息 - ListOpsEvaluationModels

功能介绍

该接口用于获取系统中所有可用的基础大模型及微调模型的详细列表,涵盖模型能力类型、状态及访问参数。

调用方法

请参见如何调用API

授权信息

账号根用户具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备如下身份策略权限,更多的权限说明请参见权限和授权项

授权项

访问级别

资源类型(*为必须)

条件键

别名

依赖的授权项

agentarts:evaluator:listOpsEvaluationModels

List

evaluator *

g:ResourceTag/<tag-key>

-

-

URI

GET /v1/ops/evaluation-models

请求参数

响应参数

状态码:200

表1 响应Body参数

参数

参数类型

描述

models

Array of OpsListEvaluatorModelsInfo objects

参数解释:

模型信息的列表,包含多个模型的配置参数、阈值范围以及支持的业务场景。数组内每个元素引用OpsListEvaluatorModelsInfo对象,包含模型ID、名称、Token限制、温度范围、TopP范围及支持场景等字段。

表2 OpsListEvaluatorModelsInfo

参数

参数类型

描述

max_tokens_top

Integer

参数解释:

模型生成文本的最大Token长度上限。

取值范围:

0到2,147,483,647之间的整数,单位:个。

max_tokens_bottom

Integer

参数解释:

模型生成文本的最大Token长度下限配置值。

取值范围:

0到2,147,483,647之间的整数,单位:个。

model_id

String

参数解释:

模型的唯一标识符ID。

取值范围:

不涉及。

model_name

String

参数解释:

模型的显示名称。

取值范围:

不涉及。

temperature_top

String

参数解释:

模型生成随机性(Temperature)的上限值。

取值范围:

0.0~2.0。

temperature_bottom

String

参数解释:

模型生成随机性(Temperature)的下限值。

取值范围:

0.0~2.0。

top_p_top

String

参数解释:

核采样(TopP)的概率上限值。

取值范围:

0.0~1.0。

top_p_bottom

String

参数解释:

核采样(TopP)的概率下限值。

取值范围:

0.0~1.0。

supported_scenes

Array of strings

参数解释:

模型支持的应用场景列表。数组内每个元素为String类型枚举值,包含evaluators(评估器场景,用于评估任务)和datasets-synthesis(数据合成场景,用于生成评测数据集)。

状态码:400

表3 响应Body参数

参数

参数类型

描述

error_code

String

参数解释:

系统定义的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对错误的详细描述,包含异常原因或解决建议。

取值范围:

字符长度2-512,任意文本内容。

encoded_authorization_message

String

参数解释:

编码后的授权信息,用于客户端解析权限问题。

取值范围:

Base64编码的字符串。

details

Array of OpsErrorDetail objects

参数解释:

错误详情列表,包含多个子错误的详细信息。

取值范围:

不涉及。

request_id

String

参数解释:

请求的唯一标识符,用于问题排查和链路追踪。

取值范围:

符合通用唯一识别码(UUID)标准的字符串。

表4 OpsErrorDetail

参数

参数类型

描述

error_code

String

参数解释:

子错误的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对子错误的详细描述。

取值范围:

任意文本内容。

状态码:401

表5 响应Body参数

参数

参数类型

描述

error_code

String

参数解释:

系统定义的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对错误的详细描述,包含异常原因或解决建议。

取值范围:

字符长度2-512,任意文本内容。

encoded_authorization_message

String

参数解释:

编码后的授权信息,用于客户端解析权限问题。

取值范围:

Base64编码的字符串。

details

Array of OpsErrorDetail objects

参数解释:

错误详情列表,包含多个子错误的详细信息。

取值范围:

不涉及。

request_id

String

参数解释:

请求的唯一标识符,用于问题排查和链路追踪。

取值范围:

符合通用唯一识别码(UUID)标准的字符串。

表6 OpsErrorDetail

参数

参数类型

描述

error_code

String

参数解释:

子错误的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对子错误的详细描述。

取值范围:

任意文本内容。

状态码:403

表7 响应Body参数

参数

参数类型

描述

error_code

String

参数解释:

系统定义的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对错误的详细描述,包含异常原因或解决建议。

取值范围:

字符长度2-512,任意文本内容。

encoded_authorization_message

String

参数解释:

编码后的授权信息,用于客户端解析权限问题。

取值范围:

Base64编码的字符串。

details

Array of OpsErrorDetail objects

参数解释:

错误详情列表,包含多个子错误的详细信息。

取值范围:

不涉及。

request_id

String

参数解释:

请求的唯一标识符,用于问题排查和链路追踪。

取值范围:

符合通用唯一识别码(UUID)标准的字符串。

表8 OpsErrorDetail

参数

参数类型

描述

error_code

String

参数解释:

子错误的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对子错误的详细描述。

取值范围:

任意文本内容。

状态码:429

表9 响应Body参数

参数

参数类型

描述

error_code

String

参数解释:

系统定义的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对错误的详细描述,包含异常原因或解决建议。

取值范围:

字符长度2-512,任意文本内容。

encoded_authorization_message

String

参数解释:

编码后的授权信息,用于客户端解析权限问题。

取值范围:

Base64编码的字符串。

details

Array of OpsErrorDetail objects

参数解释:

错误详情列表,包含多个子错误的详细信息。

取值范围:

不涉及。

request_id

String

参数解释:

请求的唯一标识符,用于问题排查和链路追踪。

取值范围:

符合通用唯一识别码(UUID)标准的字符串。

表10 OpsErrorDetail

参数

参数类型

描述

error_code

String

参数解释:

子错误的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对子错误的详细描述。

取值范围:

任意文本内容。

状态码:500

表11 响应Body参数

参数

参数类型

描述

error_code

String

参数解释:

系统定义的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对错误的详细描述,包含异常原因或解决建议。

取值范围:

字符长度2-512,任意文本内容。

encoded_authorization_message

String

参数解释:

编码后的授权信息,用于客户端解析权限问题。

取值范围:

Base64编码的字符串。

details

Array of OpsErrorDetail objects

参数解释:

错误详情列表,包含多个子错误的详细信息。

取值范围:

不涉及。

request_id

String

参数解释:

请求的唯一标识符,用于问题排查和链路追踪。

取值范围:

符合通用唯一识别码(UUID)标准的字符串。

表12 OpsErrorDetail

参数

参数类型

描述

error_code

String

参数解释:

子错误的标准化错误代码。

取值范围:

业务异常编码字符串。

error_msg

String

参数解释:

对子错误的详细描述。

取值范围:

任意文本内容。

请求示例

获取当前租户下所有可用的评估模型列表,用于评测任务的资源选型。

GET https://api.example.com/v1/ops/evaluation-models

响应示例

状态码:200

获取大模型信息列表成功

{
  "models" : [ {
    "max_tokens_top" : 4096,
    "max_tokens_bottom" : 256,
    "model_id" : "1749615085",
    "model_name" : "豆包·1.6·深度思考",
    "temperature_top" : "0.9",
    "temperature_bottom" : "0.1",
    "top_p_top" : "0.95",
    "top_p_bottom" : "0.85",
    "supported_scenes" : [ "evaluators", "datasets-synthesis" ]
  } ]
}

状态码:400

请求参数错误

{
  "error_code" : "AgentArts.03400001",
  "error_msg" : "请求错误"
}

状态码:401

认证失败

{
  "error_code" : "AgentArts.100004010",
  "error_msg" : "unauthorized"
}

状态码:403

鉴权失败

{
  "error_code" : "AgentArts.100004030",
  "error_msg" : "forbidden"
}

状态码:429

请求过于频繁

{
  "error_code" : "AgentArts.100004290",
  "error_msg" : "请求过于频繁"
}

状态码:500

系统错误

{
  "error_code" : "AgentArts.03500001",
  "error_msg" : "internal error"
}

状态码

状态码

描述

200

获取大模型信息列表成功

400

请求参数错误

401

认证失败

403

鉴权失败

429

请求过于频繁

500

系统错误

错误码

请参见错误码

相关文档