ListRayHistoryServers
Lists RayHistoryServer resources.
Operation description
Before you call this operation, make sure that you fully understand the billing methods and pricing of PAI-DLC.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidlc:ListRayHistoryServers |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/rayhistoryservers HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
No |
The workspace ID. For information about how to obtain the workspace ID, see ListWorkspaces. |
268 |
| DisplayName |
string |
No |
The display name of the job. |
test |
| Status |
string |
No |
The status of the RayHistoryServer. Valid values:
|
running |
| PageNumber |
integer |
No |
The page number for a paging query. Pages start from 1. |
1 |
| PageSize |
integer |
No |
The number of RayHistoryServer resources to return on each page in a paging query. |
10 |
| SortBy |
string |
No |
The field by which to sort the returned results. Valid values:
|
GmtCreateTime |
| Order |
string |
No |
The sort order. Valid values:
|
desc |
| ShowOwn |
boolean |
No |
Specifies whether to return only the RayHistoryServer resources created by the current logon user. |
true |
| StartTime |
string |
No |
The start time. |
2020-11-08T16:00:00Z |
| EndTime |
string |
No |
The end time of the query interval. The creation time of the job is used for filtering. |
2020-11-09T16:00:00Z |
| ModifiedAfter |
string |
No |
The modification time used for filtering. |
2020-11-09T16:00:00Z |
| ResourceId |
string |
No |
The resource group ID. For more information about how to query the ID of a dedicated resource group, see Manage resource quotas. |
quotaxxx |
| PaymentType |
string |
No |
The billing method. Valid values:
|
Postpaid |
| IdPrefix |
string |
No |
The ID prefix. |
Filter by ID prefix |
| UserIdForFilter |
string |
No |
The user ID used for filtering. |
123456789 |
| Username |
string |
No |
The username used for filtering. |
myusername |
| StoragePath |
string |
No |
The storage path for Ray logs. |
oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-xxxxxxx |
| TotalCount |
integer |
The total number of jobs that meet the filter conditions. |
1 |
| RayHistoryServers |
array<object> |
The list of RayHistoryServer resources. |
|
|
object |
The list of RayHistoryServer resources. |
||
| WorkspaceId |
string |
The workspace ID. For information about how to obtain the workspace ID, see ListWorkspaces. |
153466 |
| DisplayName |
string |
The display name of the job. |
AEB-RECHARGE-TASK-14478-1778466397-main-4- |
| UserId |
string |
The user ID. |
123456789 |
| Username |
string |
The username. |
myusername |
| TenantId |
string |
The tenant ID. |
1335237941080704 |
| RayHistoryServerId |
string |
The ID of the created RayHistoryServer. |
rhsxxx |
| RayHistoryServerUrl |
string |
The Ray Dashboard URL. |
https://rhsxxx-dashboard.dsw-gateway-cn-wulanchabu.data.aliyun.com/ |
| StoragePath |
string |
The storage path for Ray logs. |
oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp |
| ResourceId |
string |
The resource group ID. For more information about how to query the ID of a dedicated resource group, see Manage resource quotas. |
quotazoqd53w0q75 |
| ResourceName |
string |
The name of the resource on which the job runs. |
OWNER_REPO |
| EcsSpec |
string |
The hardware specifications of the public resource group. To access the detailed list of specifications, see PAI-DLC billing. Important Prices vary by specification. |
ecs.g6.xlarge |
| Accessibility |
string |
The visibility of the job. Valid values:
|
PUBLIC |
| Status |
string |
The status of the TensorBoard. Valid values:
|
Created |
| ReasonCode |
string |
The status detail code. |
InvalidParameter |
| ReasonMessage |
string |
The status details. |
PyTorchJob dlc1tx4b9lw3ntb9 is running. |
| GmtCreateTime |
string |
The time when the job was created. The time is in UTC. |
2025-12-30T02:43:52Z |
| GmtModifyTime |
string |
The time when the job was last modified. The time is in UTC. |
2026-05-19T04:05:46Z |
| GmtFinishTime |
string |
The end time. The time is in UTC. |
2026-01-27T09:17:11Z |
| MaxRuntimeMinutes |
integer |
The maximum runtime duration. |
1000 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-xxxxxxx",
"TotalCount": 1,
"RayHistoryServers": [
{
"WorkspaceId": "153466",
"DisplayName": "AEB-RECHARGE-TASK-14478-1778466397-main-4-",
"UserId": "123456789",
"Username": "myusername",
"TenantId": "1335237941080704",
"RayHistoryServerId": "rhsxxx",
"RayHistoryServerUrl": "https://rhsxxx-dashboard.dsw-gateway-cn-wulanchabu.data.aliyun.com/",
"StoragePath": "oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp",
"ResourceId": "quotazoqd53w0q75",
"ResourceName": "OWNER_REPO",
"EcsSpec": "ecs.g6.xlarge",
"Accessibility": "PUBLIC",
"Status": "Created",
"ReasonCode": "InvalidParameter",
"ReasonMessage": "PyTorchJob dlc1tx4b9lw3ntb9 is running.",
"GmtCreateTime": "2025-12-30T02:43:52Z",
"GmtModifyTime": "2026-05-19T04:05:46Z",
"GmtFinishTime": "2026-01-27T09:17:11Z",
"MaxRuntimeMinutes": 1000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.