ListEvaluationRuns
Queries the list of evaluation runs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:ListEvaluationRuns |
list |
*EvaluationTask
|
None | None |
Request syntax
GET /api/v1/evaluation-task/{agentSpace}/{taskId}/runs 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 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| status |
string |
No |
The run status filter. Valid values:
|
Running |
| runType |
string |
No |
The run type filter. Valid values:
|
backfill |
| nextToken |
string |
No |
The pagination token for the next page. |
eyJsYXN0SWQiOjEwMX0= |
| maxResults |
integer |
No |
The maximum number of results to return per page. Default value: 20. Maximum value: 100. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| totalCount |
integer |
The total number of runs that meet the conditions. |
3 |
| maxResults |
integer |
The maximum number of results per page used in this request. |
20 |
| nextToken |
string |
The pagination token for the next page. An empty value indicates that no more pages are available. |
eyJsYXN0SWQiOjEyMH0= |
| evaluationRuns |
array<object> |
The list of run summaries. |
[{"runId":"eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a","runType":"backfill","status":"Running","totalCount":100}] |
|
object |
The evaluation run summary object. |
{"runId":"eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a"} |
|
| 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 evaluations. |
100 |
| successCount |
integer |
The number of successful evaluations. |
96 |
| failedCount |
integer |
The number of failed evaluations. |
4 |
| createdAt |
integer |
The creation time. The value is a UNIX timestamp in seconds. |
1782816000 |
| updatedAt |
integer |
The update time. The value is a UNIX timestamp in seconds. |
1782816600 |
| dataStartTime |
integer |
The start time of the data window for this run. The value is a UNIX timestamp in seconds. |
1782816000 |
| dataEndTime |
integer |
The end time of the data window for this run. The value is a UNIX timestamp in seconds. |
1782902400 |
Examples
Success response
JSON format
{
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"totalCount": 3,
"maxResults": 20,
"nextToken": "eyJsYXN0SWQiOjEyMH0=",
"evaluationRuns": [
{
"runId": "eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a",
"runName": "trace_task_completion_eval-backfill",
"taskId": "eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25",
"runType": "backfill",
"status": "Running",
"totalCount": 100,
"successCount": 96,
"failedCount": 4,
"createdAt": 1782816000,
"updatedAt": 1782816600,
"dataStartTime": 1782816000,
"dataEndTime": 1782902400
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.