GetTensorboard - 获取Tensorboard详情

获取一个Tensorboard的详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /api/v1/tensorboards/{TensorboardId}

请求参数

名称类型必填描述示例值
WorkspaceIdstring

工作空间 ID。如何获取工作空间 ID,请参见 ListWorkspaces

46099
TensorboardIdstring

TensorboardId ID。如何获取 Tensorboard ID,请参见 ListTensorboards

tb-20210114104214-xxxxx
JodIdstring

任务 ID。如何获取任务 ID,请参见 ListJobs

dlc-xxxxxxxx
Tokenstring

分享令牌信息,填入该参数可利用分享令牌信息获得查看某个 Tensorboard 任务的权限。可通过执行 GetTensorboardSharedUrl ,在获得的链接中提取。

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e yJleHAiOjE2OTUyODA0NTMsImlhdCI6MTY5NTE5NDA1MywidXNlcl9pZCI6IjExN Tc3MDMyNzA5OTQ5MDEiLCJ0YXJnZXRfaWQiOiJ0YjRrOGxjNXhmdTM2b3B0Iiw idGFyZ2V0X3R5cGUiOiJ0ZW5zb3Jib2FyZCJ9.6eT68J-KMBwwfN2d7fj7u6vyPcf0erfqYeizd2N****

返回参数

名称类型描述示例值
Tensorboard

Tensorboard 详情。

示例

正常返回示例

JSON格式

{
  "TensorboardId": "tensorboard-xxx",
  "TensorboardUrl": "http://xxxxxx",
  "Status": "running",
  "Duration": "1234567",
  "GmtCreateTime": "2021-01-12T14:35:00Z",
  "GmtModifyTime": "2021-01-12T14:36:00Z",
  "GmtFinishTime": "2021-01-12T14:36:00Z",
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "DisplayName": "test",
  "DataSourceId": "datasource-test",
  "SummaryPath": "/root/data",
  "UserId": "lycxxxxx",
  "Username": "tensorboard.pai",
  "ReasonCode": "Delete by user",
  "ReasonMessage": "Tensorboard is deleted",
  "JobId": "dlc-20210114104214-vf9lowjt3pso",
  "TensorboardDataSources": [
    {
      "DirectoryName": "dlcJobName",
      "Name": "dlcJobName",
      "Id": "d-vf2fdhxxxxxx",
      "DataSourceType": "OSS",
      "Uri": "oss://.oss-cn-shanghai-finance-1.aliyuncs.com/",
      "SourceType": "datasource",
      "SummaryPath": "/tensorboard/run1",
      "FullSummaryPath": "oss://xxxxx/tensorboard/run1"
    }
  ],
  "TensorboardSpec": {
    "VpcId": "vpc-xxxx",
    "EcsType": "ecs.g6.large",
    "SecurityGroupId": "sg-xxxxx",
    "SwitchId": "vsw-xxxx"
  },
  "QuotaId": "",
  "Priority": "",
  "QuotaName": "",
  "Accessibility": ""
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2023-08-11OpenAPI 入参发生变更查看变更详情