All Products
Search
Document Center

E-MapReduce:GetRunConfiguration

Last Updated:Dec 12, 2025

Retrieves the configuration of a Spark 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/v1/workspaces/{workspaceId}/runs/{runId}/action/getRunConfiguration HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspaceId

string

Yes

The workspace ID.

w-d2d82aa09151****

runId

string

Yes

The job instance ID.

jr-93d98d2f7061****

Request parameters

Parameter

Type

Required

Description

Example

regionId

string

No

The region ID.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

The data returned.

runConfiguration

object

The run configuration.

runtimeConfigs

array

The list of runtime parameters.

Tag

The runtime parameter.

applicationConfigs

array<object>

The list of Spark configuration parameters.

object

The Spark configuration parameter.

configFileName

string

The name of the application configuration file.

spark-defaults.conf

configItemKey

string

The key of the configuration item.

spark.driver.cores

configItemValue

string

The value of the configuration item.

2

logConfig

object

The log configuration.

LogLevel

string

The log level.

INFO

LogPath

string

The log path.

oss://test

requestId

string

The request ID.

DD6B1B2A-5837-5237-ABE4-FF0C8944****

Examples

Success response

JSON format

{
  "runConfiguration": {
    "runtimeConfigs": [
      {
        "key": "workflowId",
        "value": "wf-123test"
      }
    ],
    "applicationConfigs": [
      {
        "configFileName": "spark-defaults.conf",
        "configItemKey": "spark.driver.cores",
        "configItemValue": "2"
      }
    ],
    "logConfig": {
      "LogLevel": "INFO",
      "LogPath": "oss://test"
    }
  },
  "requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.