DeleteExperimentPlan
Deletes an experiment plan.
Operation description
Calls DeleteExperimentPlan to delete a specified experiment plan. After deletion, no new executions can be initiated based on this plan. Existing experiment records can still be queried.
Try it now
Test
RAM authorization
Request syntax
DELETE /api/v1/experiments/{agentSpace}/plans/{planId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
No |
The AgentSpace name. |
al-playground-cn-hongkong |
| planId |
string |
No |
The experiment plan ID. |
exp-plan-aa1a66b074bc42aa8696c73c7dc9b718 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Specify the target agentSpace and planId.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response for deleting an experiment plan. |
||
| requestId |
string |
The request ID. |
3FE4CD1E-FF41-56BE-B590-7A021D9C1524 |
| planId |
string |
The experiment plan ID. |
exp-plan-aa1a66b074bc42aa8696c73c7dc9b718 |
| status |
string |
The deletion result. The value is deleted if the operation is successful. |
deleted |
Existing ExperimentRun records are not cascade deleted.\n\njson\n{ "planId": "exp-plan-aa1a66b074bc42aa8696c73c7dc9b718", "status": "deleted" }\n
Examples
Success response
JSON format
{
"requestId": "3FE4CD1E-FF41-56BE-B590-7A021D9C1524",
"planId": "exp-plan-aa1a66b074bc42aa8696c73c7dc9b718",
"status": "deleted"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.