You can call this operation to query detailed information of tables.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SearchTable

The operation that you want to perform. Set the value to SearchTable.

PageNumber Integer Yes 1

The number of the page to return.

SearchKey String Yes test

The keyword used to query tables.

Tid Long Yes -1

The ID of the tenant in Data Management (DMS) Enterprise.

EnvType String No test

The type of the environment.

PageSize Integer No 10

The number of entries to return on each page.

SearchRange String No OWNER

The permission on the table. For more information about the valid values, see the description of the SearchDatabase operation.

Response parameters

Parameter Type Example Description
ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

RequestId String 1489257F-1B5D-4B5B-89EF-923C12CEEBD1

The ID of the request.


The detailed information of tables.


The detailed information of a table.

DBSearchName String test

The query name of the database to which the table belongs.

DatabaseId String 1

The ID of the database to which the table belongs.

Encoding String utf8

The encoding format of the table.

Engine String innodb

The engine of the table.

EnvType String test

The type of the environment.

Logic Boolean false

Indicates whether the table was a logical table.

OwnerIdList 1

The IDs of table owners.


The ID of a table owner.

OwnerNameList user

The nicknames of table owners.


The nickname of a table owner.

TableId String 1

The ID of the table.

TableName String test_table

The name of the table.

TableSchemaName String

The name of the database to which the table belongs.

Success Boolean true

Indicates whether the request was successful.

TotalCount Long 1

The total number of tables that met the query conditions.


Sample requests

http(s)://[Endpoint]/? Action=SearchTable
&<Common request parameters>

Sample success responses

XML format

            <OwnerNames>xxx[RAM user]</OwnerNames>
        <DBSearchName>[xxx offline database]</DBSearchName>

JSON format

				"DBSearchName":"[xxx offline database]",
						"xxx[RAM user]"

Error codes

For a list of error codes, visit the API Error Center.