ListExperimentPlans
Queries the list of experiment plans.
Operation description
Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account. This operation supports fuzzy match by plan name, filtering by status, and pagination by using offset and limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:ListExperimentPlans |
list |
*Workspace
|
None | None |
Request syntax
GET /api/v1/experiments/{agentSpace}/plans HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
No |
The name of the AgentSpace. |
al-playground-cn-hongkong |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| planName |
string |
No |
The plan name used for fuzzy match. |
arms_agent |
| status |
string |
No |
The exact status used for filtering. Valid values:
|
pending |
| offset |
integer |
No |
The offset. Default value: 0. |
0 |
| limit |
integer |
No |
The maximum number of entries to return. Default value: 20. |
20 |
| maxResults |
integer |
No |
Optional. For pagination, use |
20 |
| nextToken |
string |
No |
Optional. For pagination, use |
eyJsYXN0SWQiOjEyM30= |
For pagination, use offset and limit. The results are sorted in descending order of creation time.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response for the experiment plan list. |
||
| maxResults |
integer |
The maximum number of returned entries. |
20 |
| nextToken |
string |
The token for the next page. |
eyJsYXN0SWQiOjEwMX0= |
| page |
integer |
The page number information. |
0 |
| pageSize |
integer |
The number of entries per page. |
20 |
| plans |
array |
The list of experiment plan summaries. |
[{"planId": "exp-plan-e95bff54685a4ae29ff3a834c1008a71", "planName": "rca_benchmark_eval_experiment", "experimentType": "offline", "description": "", "status": "pending", "datasetId": "rca_benckmark_eval", "querySql": "", "experimentCount": 5, "createdAt": 1784612365000, "updatedAt": 1784619562000}, {"planId": "exp-plan-0242d983f5d340fd8479cf2c19eb279e", "planName": "arms_agent_experiment", "experimentType": "online", "description": "", "status": "stopped", "datasetId": "arms_customer_agent_level1", "querySql": "", "experimentCount": 4, "createdAt": 1784257858000, "updatedAt": 1784721811000}, {"planId": "b7f0ad3d-3765-446a-a744-ab64ab8bf386", "planName": "arms_customer_agent_plan", "experimentType": "offline", "description": "", "status": "stopped", "datasetId": "arms_customer_agent_level1", "querySql": "where \"input\" LIKE '%probe%'", "experimentCount": 65, "createdAt": 1782310430000, "updatedAt": 1784692254000}] |
| ExperimentPlanData |
The summary object of a single experiment plan. |
||
| requestId |
string |
The request ID. |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| total |
integer |
The total number of records that meet the conditions. |
6 |
The list does not return the complete experiments and datasetProject fields. To obtain the complete configuration, call GetExperimentPlan.
{
"total": 6,
"plans": [
{
"planId": "exp-plan-e95bff54685a4ae29ff3a834c1008a71",
"planName": "rca_benchmark_eval_experiment",
"experimentType": "offline",
"description": "",
"status": "pending",
"datasetId": "rca_benckmark_eval",
"querySql": "",
"experimentCount": 5,
"createdAt": 1784612365000,
"updatedAt": 1784619562000
},
{
"planId": "exp-plan-0242d983f5d340fd8479cf2c19eb279e",
"planName": "arms_agent_experiment",
"experimentType": "online",
"description": "",
"status": "stopped",
"datasetId": "arms_customer_agent_level1",
"querySql": "",
"experimentCount": 4,
"createdAt": 1784257858000,
"updatedAt": 1784721811000
},
{
"planId": "b7f0ad3d-3765-446a-a744-ab64ab8bf386",
"planName": "arms_customer_agent_plan",
"experimentType": "offline",
"description": "",
"status": "stopped",
"datasetId": "arms_customer_agent_level1",
"querySql": "where \"input\" LIKE '%probe%'",
"experimentCount": 65,
"createdAt": 1782310430000,
"updatedAt": 1784692254000
}
]
}
Examples
Success response
JSON format
{
"maxResults": 20,
"nextToken": "eyJsYXN0SWQiOjEwMX0=",
"page": 0,
"pageSize": 20,
"plans": [
{
"createdAt": 1767225600000,
"datasetId": "dataset-123456",
"description": "Customer service Q&A offline evaluation plan",
"experimentCount": 3,
"experimentType": "offline",
"pipelineName": "trace-process-pipeline",
"planId": "exp-plan-e95bff54685a4ae29ff3a834c1008a71",
"planName": "customer-service-eval",
"querySql": "level > 2",
"status": "pending",
"updatedAt": 1767229200000
}
],
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"total": 6
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.