All Products
Search
Document Center

Tair (Redis® OSS-Compatible):DescribeInspectionTasks

Last Updated:Sep 16, 2026

Queries the list of intelligent inspection tasks.

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

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

PageNum

string

No

The page number.

1

PageSize

string

No

The page size. Default value: 20.

10

InstanceId

string

No

The ID of the assistant instance.

ta-bp1zxszhcgatnx****

Type

string

No

The task type. Valid values:

  • 1: manual task

  • 2: scheduled task

1

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

2D9F3768-EDA9-4811-943E-42C8006E****

Success

boolean

Indicates whether the request was successful.

true

Data

object

The task data.

Items

array<object>

The list of task data.

object

The task data details.

CreateTime

string

The time when the task was created.

2024-07-01T02:06:34Z

EndTime

string

The end time of the task.

2025-09-23T00:00:00Z

FinishTime

string

The time when the task was completed.

2026-01-09T02:13:01Z

InspectionItems

string

The specified inspection items. The following inspection items are supported:

  • RESOURCE_USAGE

  • BIGKEY

  • HOTKEY

  • PERFORMANCE_METRICS

  • SLOWLOG

PERFORMANCE_METRICS

InstanceIds

string

The list of associated instance IDs.

r-uf6ns8txov3mp9jxxx

ScheduleId

string

The ID of the timed scheduling.

sch-4dfb08ddf9f84855bacca35axxx

Source

string

The task source.

scheduler|

StartTime

string

The start time of the task.

2026-05-30T02:11:01Z

Status

string

The status.

SUCCEEDED

TaskId

string

The task ID.

tit-dca42f85c73644e0ab5c80ef641xxx

ReportLanguage

string

The report language.

zh-CN

PageNum

integer

The page number.

1

PageSize

integer

The page size.

10

Total

integer

The total number of entries.

6

Examples

Success response

JSON format

{
  "RequestId": "2D9F3768-EDA9-4811-943E-42C8006E****",
  "Success": true,
  "Data": {
    "Items": [
      {
        "CreateTime": "2024-07-01T02:06:34Z",
        "EndTime": "2025-09-23T00:00:00Z",
        "FinishTime": "2026-01-09T02:13:01Z",
        "InspectionItems": "PERFORMANCE_METRICS",
        "InstanceIds": "r-uf6ns8txov3mp9jxxx",
        "ScheduleId": "sch-4dfb08ddf9f84855bacca35axxx",
        "Source": "scheduler|",
        "StartTime": "2026-05-30T02:11:01Z",
        "Status": "SUCCEEDED",
        "TaskId": "tit-dca42f85c73644e0ab5c80ef641xxx",
        "ReportLanguage": "zh-CN"
      }
    ],
    "PageNum": 1,
    "PageSize": 10,
    "Total": 6
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.