GetRayDashboard
Retrieves the Ray Dashboard URL.
Operation description
Make sure that you fully understand the billing methods and pricing of PAI-DLC before you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidlc:GetJob |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/jobs/{jobId}/rayDashboard HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| jobId |
string |
No |
The job ID. |
dlc1k7426goc7bvy |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| isShared |
boolean |
No |
Specifies whether the link is shared. If you set this parameter to true, the token parameter is also required. Valid values:
|
false |
| token |
string |
No |
The token obtained from the GetToken operation. |
some_token_value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| url |
string |
The URL of the Ray Dashboard. |
https://pre-pai-dlc-proxy-cn-hangzhou.aliyun.com/ray/dashboard/dlc1k7426goc7bvy |
| metricsEnabled |
string |
Indicates whether the dashboard is integrated with CloudMonitor to display Ray metrics. Valid values:
|
true |
Examples
Success response
JSON format
{
"url": "https://pre-pai-dlc-proxy-cn-hangzhou.aliyun.com/ray/dashboard/dlc1k7426goc7bvy",
"metricsEnabled": "true"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.