Updated on 2025-12-18 GMT+08:00

Querying Stack Information

Function

This API is used to query stack information.

URI

GET /v2/{engine}/{project_id}/diagnosis/stack/{stack_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

engine

Yes

String

Definition

Engine.

Constraints

N/A

Range

  • rocketmq: RocketMQ message engine.

  • reliability: RocketMQ message engine alias.

Default Value

N/A

project_id

Yes

String

Definition

Project ID. For details about how to obtain it, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

stack_id

Yes

String

Definition:

Stack ID.

Constraints:

N/A

Range:

N/A

Default Value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

thread_name

String

Definition:

Thread name.

Range:

N/A

stack

String

Definition:

Stack information.

Range:

N/A

Example Requests

Querying stack information

GET https://{endpoint}/v2/{engine}/{project_id}/diagnosis/stack/{stack_id}

Example Responses

Status code: 200

success

{
  "thread_name" : "name",
  "stack" : "xxxxxxxxxxxxxxxx"
}

Status Codes

Status Code

Description

200

success

Error Codes

See Error Codes.