ListDiagnosisItems

Updated at:

Lists the intelligent diagnostic items for an Elasticsearch instance.

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 /openapi/diagnosis/items HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

lang

string

No

The supported request language. Default value: the browser request language. Valid values:

  • en: English

  • zh: Simplified Chinese

  • zt: Traditional Chinese

  • es: Spanish

  • fr: French

Valid values:

  • en :

    English.

  • zt :

    Traditional Chinese.

  • fr :

    French.

  • zh :

    Simplified Chinese.

  • es :

    Spanish.

en

instanceId

string

No

The instance ID.

es-cn-v0h14zdee000mimee

No

The diagnostic item level. Valid values:

  • BASIC: basic inspection item (free).

  • ADVANCED: advanced inspection item (consumes billable tokens).

If this parameter is not specified, diagnostic items of all levels are returned.

BASIC

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****

Result

array<object>

The returned results.

object

The returned result object.

key

string

The diagnostic item identifier.

ClusterBulkRejectDiagnostic

name

string

The diagnostic item name.

Index Write BulkReject Diagnostics

description

string

The diagnostic item description.

Diagnoses whether data write operations are backlogged in the cluster. When data write operations are backlogged, BulkReject exceptions occur, which may cause data loss and severe system resource consumption

esApiRequired

boolean

Indicates whether the cluster API is accessed.

true

level

string

The diagnostic item level. Valid values:

  • BASIC: basic inspection item (free).

  • ADVANCED: advanced inspection item (consumes billable tokens).

BASIC

billable

boolean

Indicates whether billable tokens are consumed. The value is true when level is ADVANCED.

true

supportedModes

array

The supported execution modes. Basic items support RULE and AGENT. Advanced items support only AGENT.

string

The specific execution mode.

RULE

category

string

The category code. You can use this value to group diagnostic items by category.

CLUSTER_HEALTH

sortOrder

integer

The sort order number for display.

1

Examples

Success response

JSON format

{
  "RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****",
  "Result": [
    {
      "key": "ClusterBulkRejectDiagnostic",
      "name": "Index Write BulkReject Diagnostics",
      "description": "Diagnoses whether data write backlogs exist in the cluster. When data write backlogs exist, BulkReject exceptions occur, which may cause data loss and severe system resource consumption",
      "esApiRequired": true,
      "level": "BASIC",
      "billable": true,
      "supportedModes": [
        "RULE"
      ],
      "category": "CLUSTER_HEALTH",
      "sortOrder": 1
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.