GetEvaluationRun
Retrieves the details of an evaluation run.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:GetEvaluationRun |
get |
*EvaluationTask
|
None | None |
Request syntax
GET /api/v1/evaluation-task/{agentSpace}/{taskId}/run/{runId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
No |
The AgentSpace name. |
prod-agentspace |
| taskId |
string |
No |
The evaluation task ID. |
eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25 |
| runId |
string |
No |
The evaluation run ID. |
eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| qualityMetrics |
object |
The snapshot of evaluator quality scores and coverage for the current run. This field is empty if the feature is not enabled. |
{} |
| requestId |
string |
The request ID. |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| runId |
string |
The run ID. |
eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a |
| runName |
string |
The run name. |
trace_task_completion_eval-backfill |
| taskId |
string |
The evaluation task ID. |
eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25 |
| runType |
string |
The run type. Valid values:
|
backfill |
| status |
string |
The run status. Valid values:
|
Running |
| totalCount |
integer |
The total number of evaluation items. |
100 |
| successCount |
integer |
The number of successful items. |
96 |
| failedCount |
integer |
The number of failed items. |
4 |
| evaluatorProgress |
array<object> |
The progress list for each evaluator. |
[{"evaluatorName":"Builtin.agent_task_completion","totalCount":100,"successCount":96,"failedCount":4}] |
|
object |
The progress object for a single evaluator. |
{"evaluatorName":"Builtin.agent_task_completion"} |
|
| evaluatorName |
string |
The evaluator name. |
Builtin.agent_task_completion |
| totalCount |
integer |
The total number of items for the evaluator. |
100 |
| successCount |
integer |
The number of successful items for the evaluator. |
96 |
| failedCount |
integer |
The number of failed items for the evaluator. |
4 |
| createdAt |
integer |
The creation time, specified as a UNIX timestamp in seconds. |
1782816000 |
| updatedAt |
integer |
The update time, specified as a UNIX timestamp in seconds. |
1782816600 |
| evaluators |
string |
The snapshot of the evaluator configuration when the run was created. The value is a JSON string. |
[{"evaluatorRef":"Builtin.agent_task_completion"}] |
| dataStartTime |
integer |
The start time of the data window for the run, specified as a UNIX timestamp in seconds. |
1782816000 |
| dataEndTime |
integer |
The end time of the data window for the run, specified as a UNIX timestamp in seconds. |
1782902400 |
Examples
Success response
JSON format
{
"qualityMetrics": {},
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"runId": "eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a",
"runName": "trace_task_completion_eval-backfill",
"taskId": "eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25",
"runType": "backfill",
"status": "Running",
"totalCount": 100,
"successCount": 96,
"failedCount": 4,
"evaluatorProgress": [
{
"evaluatorName": "Builtin.agent_task_completion",
"totalCount": 100,
"successCount": 96,
"failedCount": 4
}
],
"createdAt": 1782816000,
"updatedAt": 1782816600,
"evaluators": "[{\"evaluatorRef\":\"Builtin.agent_task_completion\"}]",
"dataStartTime": 1782816000,
"dataEndTime": 1782902400
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.