ListEvaluators
Queries the list of evaluators.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:ListEvaluators |
list |
*Evaluator
|
None | None |
Request syntax
GET /api/v1/evaluators HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
Yes |
The AgentSpace name. |
prod-agentspace |
| type |
string |
No |
The evaluator type filter. Valid values:
|
AGENT |
| name |
string |
No |
The fuzzy search condition for the evaluator name. |
trace_task_completion |
| source |
string |
No |
The evaluator source filter. Valid values:
|
custom |
| maxResults |
integer |
No |
The number of entries to return per page. Default value: 20. Maximum value: 100. |
20 |
| nextToken |
string |
No |
The pagination token for the next page. |
eyJsYXN0SWQiOjEyM30= |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| total |
integer |
The total number of evaluators that meet the conditions. |
12 |
| nextToken |
string |
The pagination token for the next page. |
eyJsYXN0SWQiOjEzM30= |
| maxResults |
integer |
The number of entries per page used in this request. |
20 |
| evaluators |
array<object> |
The list of evaluator summaries. |
[{"name":"trace_task_completion","type":"AGENT","latestVersion":"1.0.0"}] |
|
array<object> |
The configuration object of a single evaluator. |
{"evaluatorRef":"Builtin.agent_task_completion"} |
|
| name |
string |
The evaluator name. |
trace_task_completion |
| displayName |
string |
The display name. |
Workflow task completion rate |
| metricName |
string |
The metric name. |
agent_task_completion |
| type |
string |
The evaluator type. Valid values:
|
AGENT |
| description |
string |
The evaluator description. |
Determines whether the agent has completed the user task |
| latestVersion |
string |
The latest version number. |
1.0.0 |
| status |
string |
The status of the latest evaluator version. DRAFT indicates a draft, PUBLISHED indicates published, and OFFLINE indicates offline. |
PUBLISHED |
| selectable |
boolean |
Specifies whether the evaluator has a default version that can be selected for new evaluation tasks or experiment plans. |
true |
| properties |
object |
The evaluator properties. |
{"agentEvaluatorMode":"raw_prompt"} |
| annotations |
array |
The list of annotation tags. |
["__en"] |
|
string |
The annotation tag. |
__en |
|
| 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 |
Examples
Success response
JSON format
{
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"total": 12,
"nextToken": "eyJsYXN0SWQiOjEzM30=",
"maxResults": 20,
"evaluators": [
{
"name": "trace_task_completion",
"displayName": "Pipeline task completion rate",
"metricName": "agent_task_completion",
"type": "AGENT",
"description": "Determines whether the agent completes the user task",
"latestVersion": "1.0.0",
"status": "PUBLISHED",
"selectable": true,
"properties": {
"agentEvaluatorMode": "raw_prompt"
},
"annotations": [
"__en"
],
"createdAt": 1782816000,
"updatedAt": 1782816600
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.