All Products
Search
Document Center

E-MapReduce:ListRayJob

Last Updated:Jul 08, 2026

Lists Ray Job information.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v1/workspaces/{workspaceId}/rayJob HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspaceId

string

No

The workspace ID.

w-d2d82aa09155

Request parameters

Parameter

Type

Required

Description

Example

pageSize

integer

No

The number of entries per page. Default value: 20.

20

pageNum

integer

No

The page number. Default value: 1.

1

submissionId

string

No

The submission ID of the Ray Job.

rj-xxxxxxxxxxx

name

string

No

The name of the Ray Job (exact match).

myrayjob

submitTime

object

No

The submit time range.

startTime

integer

No

The start of the submit time range. The value is a UNIX timestamp in milliseconds.

1780017822000

endTime

integer

No

The end of the submit time range. The value is a UNIX timestamp in milliseconds.

1780018822000

taskBizId

string

No

The data development node ID.

TSK-db8b870d901e443ba0aebba40c923e02

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

The request ID.

DD6B1B2A-5837-5237-ABE4-FF0C8944

totalCount

integer

The total number of entries.

200

rayJobs

array<object>

The list of Ray Jobs.

object

The Ray Job struct.

submissionId

string

The ID of the Ray Job.

rj-uiulpgow9xljimm1

name

string

The name of the Ray Job.

testRayJob

status

string

The job status. Valid values:

  • Submitted: submitted.

  • Pending: the cluster is being created.

  • Running: the job is running.

  • Succeeded: the job succeeded.

  • Failed: the job failed.

  • Cancelling: the job is being canceled.

  • Cancelled: the job is canceled.

  • Timeout: the job timed out and was canceled.

Running

resourceQueue

string

The Ray DPI engine version.

err-1.2.0 (Ray 2.55.1, Python 3.12)

submitTime

integer

The time when the job was submitted.

1776945399000

startTime

integer

The time when the job was started.

1776945499000

endTime

integer

The time when the job ended.

1776945509000

duration

integer

The execution duration of the job. Unit: seconds.

3564

creatorName

string

The nickname of the creator.

Alice

dashboardUrl

string

The URL of the Ray cluster dashboard. When the Ray cluster is in the Running state, the URL points to the Runtime UI. After the cluster is in the Deleted state, the URL points to the History UI. The History UI is supported only in err-1.2.0 and later versions.

https://emr-ray-gateway.aliyuncs.com?token=xxxxxxxxx

cuHours

number

The number of compute units (CUs) consumed during the job execution cycle. This value is an estimate. The actual value is subject to the bill.

120

clusterState

string

The status of the corresponding Ray cluster. Valid values:

  • Deleted: deleted.

  • Submitted: submitted but not yet being created.

  • Pending: being created.

  • Running: running.

Running

Examples

Success response

JSON format

{
  "requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944",
  "totalCount": 200,
  "rayJobs": [
    {
      "submissionId": "rj-uiulpgow9xljimm1",
      "name": "testRayJob",
      "status": "Running",
      "resourceQueue": "err-1.2.0 (Ray 2.55.1, Python 3.12)",
      "submitTime": 1776945399000,
      "startTime": 1776945499000,
      "endTime": 1776945509000,
      "duration": 3564,
      "creatorName": "Alice",
      "dashboardUrl": "https://emr-ray-gateway.aliyuncs.com?token=xxxxxxxxx",
      "cuHours": 120,
      "clusterState": "Running"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.