Updated on 2025-11-28 GMT+08:00

Obtaining the Technical Report Data

Function

This API is used to obtain a technical report.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

GET /v2/{project_id}/quality/report/technology/scores

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain the project ID, see Project ID and Account ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

data_connection_id

No

String

Data connection ID, which is obtained from the management center.

database_name

No

String

Specifies the database name.

table_name

No

String

Specifies the name of the table.

data_connection_score_order

No

String

Sorting order for data connections. Value 0 indicates the ascending order, and value 1 indicates the descending order. This order is mutually exclusive with other sorting conditions.

database_score_order

No

String

Sorting order for database scores. Value 0 indicates the ascending order, and value 1 indicates the descending order. This order is mutually exclusive with other sorting conditions.

table_score_order

No

String

Sorting order for data table scores. Value 0 indicates the ascending order, and value 1 indicates the descending order. This order is mutually exclusive with other sorting conditions.

start_timestamp

No

Long

Start timestamp.

end_timestamp

No

Long

End timestamp.

limit

No

Long

Number of records on each page. The value range is [0,100].

offset

No

Long

Pagination offset. The minimum value is 0.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

workspace

Yes

String

DataArts Studio workspace ID. For details about how to obtain the workspace ID, see Instance ID and Workspace ID.

X-Auth-Token

Yes

String

IAM token. For details about how to obtain the token, see Authentication.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

count

Integer

Number of data records

scores

Array of TechScoreVo objects

Returned score list

Table 5 TechScoreVo

Parameter

Type

Description

data_connection_id

String

Data connection ID

data_connection_name

String

Data connection name

database_name

String

Database name

table_name

String

Table name

data_connection_score

Double

Data connection score

database_score

Double

Database score

table_score

Double

Table score

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DQC.0000 which indicates that the request was successfully processed

error_msg

String

Error message

Status code: 500

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DQC.0000 which indicates that the request was successfully processed

error_msg

String

Error message

Example Requests

GET /v2/0833a5737480d53b2f25c010dc1a7b88/quality/report/technology/scores

Example Responses

Status code: 200

Success

{
  "count" : 1,
  "scores" : [ {
    "data_connection_id" : "2d9dcb2076b34bbab1c675f070d6af9d",
    "data_connection_name" : "dws",
    "data_connection_score" : 65.0,
    "database_name" : "postgres",
    "database_score" : 65.0,
    "table_name" : "public.test",
    "table_score" : 0.0
  } ]
}

Status Codes

Status Code

Description

200

Success

400

BadRequest

500

INTERNAL SERVER ERROR