获取评估运行详情
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
agentloop:GetEvaluationRun |
get |
*EvaluationTask
|
无 | 无 |
请求语法
GET /api/v1/evaluation-task/{agentSpace}/{taskId}/run/{runId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| agentSpace |
string |
否 |
AgentSpace 名称。 |
prod-agentspace |
| taskId |
string |
否 |
评估任务 ID。 |
eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25 |
| runId |
string |
否 |
评估运行 ID。 |
eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| createdAt |
integer |
创建时间,秒级 Unix 时间戳。 |
1782816000 |
| dataEndTime |
integer |
运行数据窗口结束时间,秒级 Unix 时间戳。 |
1782902400 |
| dataStartTime |
integer |
运行数据窗口起始时间,秒级 Unix 时间戳。 |
1782816000 |
| evaluatorProgress |
array<object> |
评估器维度进度列表。 |
[{"evaluatorName":"Builtin.agent_task_completion","totalCount":100,"successCount":96,"failedCount":4}] |
|
object |
单个评估器进度对象。 |
{"evaluatorName":"Builtin.agent_task_completion"} |
|
| evaluatorName |
string |
评估器名称。 |
Builtin.agent_task_completion |
| failedCount |
integer |
该评估器失败条数。 |
4 |
| successCount |
integer |
该评估器成功条数。 |
96 |
| totalCount |
integer |
该评估器总条数。 |
100 |
| evaluators |
string |
运行创建时的评估器配置快照,JSON 字符串。 |
[{"evaluatorRef":"Builtin.agent_task_completion"}] |
| failedCount |
integer |
失败条数。 |
4 |
| requestId |
string |
请求 ID。 |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| runId |
string |
运行 ID。 |
eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a |
| runName |
string |
运行名称。 |
trace_task_completion_eval-backfill |
| runType |
string |
运行类型。 枚举值:
|
backfill |
| status |
string |
运行状态。 枚举值:
|
Running |
| successCount |
integer |
成功条数。 |
96 |
| taskId |
string |
评估任务 ID。 |
eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25 |
| totalCount |
integer |
总评估条数。 |
100 |
| updatedAt |
integer |
更新时间,秒级 Unix 时间戳。 |
1782816600 |
示例
正常返回示例
JSON格式
{
"createdAt": 1782816000,
"dataEndTime": 1782902400,
"dataStartTime": 1782816000,
"evaluatorProgress": [
{
"evaluatorName": "Builtin.agent_task_completion",
"failedCount": 4,
"successCount": 96,
"totalCount": 100
}
],
"evaluators": "[{\"evaluatorRef\":\"Builtin.agent_task_completion\"}]",
"failedCount": 4,
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"runId": "eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a",
"runName": "trace_task_completion_eval-backfill",
"runType": "backfill",
"status": "Running",
"successCount": 96,
"taskId": "eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25",
"totalCount": 100,
"updatedAt": 1782816600
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。