CreateExperiment
Creates an experiment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiexperiment:CreateExperiment |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/experiments HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The body parameter. |
|
| WorkspaceId |
string |
Yes |
The workspace ID. |
478** |
| Labels |
array |
No |
The labels. |
|
| LabelInfo |
No |
The labels. |
||
| Name |
string |
Yes |
The name of the experiment. The naming rules are as follows:
|
exp-test |
| ArtifactUri |
string |
No |
The default artifact output path for all nodes associated with the experiment. Only OSS paths are currently supported. |
oss://test-bucket.oss-cn-hangzhou.aliyuncs.com/test |
| Accessibility |
string |
No |
The visibility of the experiment. It can be set to private (visible only to the creator and their Alibaba Cloud account) or public (visible to all users). This parameter is optional. Default value: private. Valid values:
|
PRIVATE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
Request ID |
| ExperimentId |
string |
The Job ID returned if the creation API is implemented asynchronously. |
ID of the experiment created by the API request |
Examples
Success response
JSON format
{
"RequestId": "RequestId",
"ExperimentId": "ExperimentId"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.