GetExperiment
Updated at:
Retrieves an experiment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiexperiment:GetExperiment |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/experiments/{ExperimentId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentId |
string |
No |
The experiment ID. |
exp-1zpfthdx****** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Verbose |
boolean |
No |
Specifies whether to retrieve the latest run information associated with the experiment. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
| Experiment |
The experiment instance information. |
Examples
Success response
JSON format
{
"ExperimentId": "exp-1zpfthdx******",
"Name": "exp-test",
"WorkspaceId": "1517**",
"ArtifactUri": "oss://test-bucket.oss-cn-hangzhou.aliyuncs.com/test",
"TensorboardLogUri": "oss://test-bucket.oss-cn-hangzhou.aliyuncs.com/tensorboard/",
"Labels": [
{
"Key": "key",
"Value": "value",
"GmtCreateTime": "2023-12-27T03:30:04Z",
"GmtModifiedTime": "2023-12-27T03:30:04Z",
"ExperimentId": "exp-890waerw09a0f"
}
],
"UserId": "1557702098******",
"OwnerId": "1631044****3440",
"GmtCreateTime": "2021-01-30T12:51:33.028Z",
"GmtModifiedTime": "2021-01-30T12:51:33.028Z",
"RequestId": "0C6835C5-A424-5AFB-ACC2-F1E3CA1ABF7C",
"Accessibility": "PRIVATE",
"LatestRun": {
"Accessibility": "PRIVATE",
"SourceId": "train9s0afvjkf",
"SourceType": "TrainingService",
"WorkspaceId": "145883",
"Params": [
{
"Value": "",
"Key": ""
}
],
"Labels": [
{
"Value": "true",
"RunId": "run-1qJhzJ2YXgX****",
"GmtCreateTime": "2023-12-27T03:30:04Z",
"GmtModifiedTime": "2023-12-27T03:30:04Z",
"Key": "is_evaluation"
}
],
"GmtModifiedTime": "2021-01-30T12:51:33.028Z",
"Name": "testrun",
"Metrics": [
{
"Value": 0,
"Step": 0,
"Timestamp": 0,
"Key": "loss"
}
],
"OwnerId": "163104*****3440",
"ExperimentId": "exp-1zpfthdx******",
"UserId": "1557702098******",
"RunId": "run-1qJhzJ2YXgX****",
"GmtCreateTime": "2021-01-30T12:51:33.028Z",
"RequestId": "5A14FA81-DD4E-******-6343FE44B941"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?