All Products
Search
Document Center

DataWorks:GetTaskInstanceLog

Last Updated:Dec 10, 2024

Queries the run log generated during a specific run of an instance.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongYes

The instance ID.

1234
RunNumberintegerNo

The sequence number of an instance run. Minimum value: 1. By default, the latest run is used.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

22C97E95-F023-56B5-8852-B1A77A17XXXX
TaskInstanceLogstring

The run log of the instance.

This is running log

Examples

Sample success responses

JSONformat

{
  "RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
  "TaskInstanceLog": "This is running log"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history