All Products
Search
Document Center

DataWorks:GetDataQualityScanRunLog

Last Updated:Jan 12, 2026

Queries the log of a specific task instance that monitors data quality.

Operation description

This API operation is available for all DataWorks editions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dataworks:GetDataQualityScanRunLogget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongNo

The ID of the data quality monitor run record.

10001
OffsetlongNo

The starting position of the log, in bytes, relative to the beginning of the file. Each query returns a maximum of 512 KB of content.

200

Response parameters

ParameterTypeDescriptionExample
object

The response.

RequestIdstring

The request ID.

0bc14115***159376359
LogSegmentobject

The task log information.

Logstring

The task log.

Running on Serverless_resource_group_xxxxx Begin to check rule ***
NextOffsetlong

The starting offset of the next log segment. A value of -1 indicates that all logs have been read.

512000

Examples

Sample success responses

JSONformat

{
  "RequestId": "0bc14115***159376359",
  "LogSegment": {
    "Log": "Running on Serverless_resource_group_xxxxx\nBegin to check rule ***",
    "NextOffset": 512000
  }
}

Error codes

For a list of error codes, visit the Service error codes.