Updated on 2026-01-08 GMT+08:00

Querying the Switch of Show Original Log

API Description

This API is used to check whether Show Original Log is enabled.

URI

  • URI format
    GET /v3/{project_id}/instances/{instance_id}/slowlog-desensitization/status
    Table 1 Path parameters

    Name

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID.

    instance_id

    Yes

    String

    Instance ID, which can be obtained by calling the API described in Querying Instances and Details. If you do not have an instance, call the API described in Creating a DB Instance to create one.

Request Parameters

Table 2 Request header parameters

Parameter

Type

IN

Mandatory

Description

X-Auth-Token

string

header

Yes

User token

Response Parameters

  • Parameter description
    Table 3 Response body parameters

    Parameter

    Type

    Description

    status

    String

    Enabling or disabling Slow Original Log. The value can be on or off.

  • Example response
    { 
      "status" : "on" 
    }

Status Code

For details, see Status Code.

Error Code

For details, see Error Code.