Updated on 2026-09-02 GMT+08:00

Obtaining the Task List of Parameter Configurations

Function

This API is used to obtain the task operation list of Elasticsearch or OpenSearch cluster parameter configurations, including the parameter configuration list ID, cluster ID, and parameter modification records. After a cluster is created, you can call this API to check the cluster parameter settings.

Calling Method

For details, see Calling APIs.

URI

GET /v1.0/{project_id}/clusters/{cluster_id}/ymls/joblists

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID. For details about how to obtain the project ID and name, see Obtaining the Project ID and Name.

Constraints

N/A

Range

Project ID of an account. The value contains 32 characters, consisting of lowercase letters and digits.

Default Value

N/A

cluster_id

Yes

String

Definition

ID of the cluster to be queried. For details about how to obtain the cluster ID, see Obtaining the Cluster ID.

Constraints

N/A

Range

The value is a UUID containing 36 characters.

Default Value

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

offset

No

Integer

Definition:

The start value of the query. The default value is 1, indicating that the query starts from the first task.

Constraints:

N/A

Value range:

Greater than or equal to 1.

Default value:

1

limit

No

Integer

Parameter description:

Number of tasks to be queried. The default value is 10, indicating that 10 tasks are queried at a time.

Constraints:

N/A

Options:

1-1000

Default value:

10

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

configList

Array of configListRsp objects

Definition

List of historical configuration modifications, including detailed information about the modifications.

Range

N/A

totalSize

Integer

Definition:

Number of configuration tasks.

Value range:

N/A

Table 4 configListRsp

Parameter

Type

Description

id

String

Definition:

Configuration list ID.

Value range:

N/A

clusterId

String

Definition:

Cluster ID.

Value range:

N/A

createAt

String

Definition

Creation time of the configuration list, in Unix timestamp format. For example, 1633658735000.

Range

N/A

status

String

Definition:

Cluster task execution status.

Value range:

  • success: The task is successful.

  • failed: The task failed.

  • running: The task is being executed.

finishedAt

String

Definition

End time. If the creation has not been completed, the end time is null, in Unix timestamp format. For example, 1633658735000.

Range

N/A

modifyDeleteReset

String

Definition

Records of parameter modification, deletion, and reset.

Range

N/A

failedMsg

String

Definition:

Returned error message. If the status is success, the value of this parameter is null.

Value range:

N/A

instType

String

Definition

Node type.

Range

N/A

Example Requests

Obtaining the Parameter Configuration Task List of a Cluster

GET https://{Endpoint}/v1.0/{project_id}/clusters/{cluster_id}/ymls/joblists

Example Responses

Status code: 200

Request succeeded.

{
  "configList" : [ {
    "id" : "7ed7258a-60a8-46fe-8814-52819d491b80",
    "clusterId" : "4213d908-f5dc-4633-8401-cfd7175fca0c",
    "createAt" : "1755745344000",
    "status" : "success",
    "finishedAt" : "1755745355000",
    "modifyDeleteReset" : "{\"modify\":{\"elasticsearch.yml\":{\"thread_pool.force_merge.size\":\"1\"}}}",
    "failedMsg" : "",
    "instType" : ""
  } ],
  "totalSize" : 1
}

Status Codes

Status Code

Description

200

Request succeeded.

400

Invalid request.

Modify the request before retry.

409

The request could not be completed due to a conflict with the current state of the resource.

The resource that the client attempts to create already exists, or the update request fails to be processed because of a conflict.

412

The server did not meet one of the preconditions contained in the request.

Error Codes

See Error Codes.