All Products
Search
Document Center

E-MapReduce:GetRayLog

Last Updated:Jun 30, 2026

Retrieves the log of a Ray job.

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/interactive/v1/workspace/{workspaceId}/ray/{instanceId}/log HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspaceId

string

No

The workspace ID.

w-790b443d72394bfc

instanceId

string

No

The ID of the Ray job.

rj-xxxxxxxx

Request parameters

Parameter

Type

Required

Description

Example

bucketName

string

No

The bucket name.

mybucket

path

string

No

The log file path.

/w-xxxxxxx/ray/logs/rj-xxxxxxxxxx_default/xxxx/rj-xxxx_driver.log

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

B06AADC1-1627-5B1C-B62F-A2226C122897

code

string

The response code. A value of 1000000 indicates a successful request. Other values indicate a failed request. You can view the specific error description in the message parameter.

1000000

message

string

The error message.

ok

data

object

The response data.

accessUrl

string

The file download URL.

https://mybucket.cn-hangzhou.com/xxxxxx

Examples

Success response

JSON format

{
  "requestId": "B06AADC1-1627-5B1C-B62F-A2226C122897",
  "code": "1000000",
  "message": "ok",
  "data": {
    "accessUrl": "https://mybucket.cn-hangzhou.com/xxxxxx"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.