All Products
Search
Document Center

DataWorks:ListSuccessInstanceAmount

Last Updated:Nov 21, 2024

Queries the trend of the number of auto triggered node instances that are successfully run every hour on the hour of the current day.

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
ProjectIdlongYes

The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID.

9527

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

952795279527ab****
InstanceStatusTrendobject

Indicates the trend of the number of auto triggered node instances that are successfully run every hour on the hour of the current day.

TodayTrendarray<object>

The trend of the number of auto triggered node instances that are successfully run on the current day.

TodayTrendobject
TimePointstring

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

01:00
Countinteger

The number of instances that are successfully run.

10
YesterdayTrendarray<object>

The trend of the number of auto triggered node instances that are successfully run one day earlier than the current day.

YesterdayTrendobject
TimePointstring

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

01:00
Countinteger

The number of instances that are successfully run.

10
AvgTrendarray<object>

The average trend.

AvgTrendobject
TimePointstring

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

01:00
Countinteger

The number of instances that are successfully run.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "952795279527ab****",
  "InstanceStatusTrend": {
    "TodayTrend": [
      {
        "TimePoint": "01:00",
        "Count": 10
      }
    ],
    "YesterdayTrend": [
      {
        "TimePoint": "01:00",
        "Count": 10
      }
    ],
    "AvgTrend": [
      {
        "TimePoint": "01:00",
        "Count": 10
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
403ResourceNotAuthorized.ApiYou are not authorized to access the resources.-
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.Api.RiskThe request for this resource has exceeded your daily available limit.-
429Throttling.ResourceYou have reached the limit for the resource. Please contact us by submitting a ticket.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500Forbidden.Not.ServerThe dataworksAPI service is not available in this area. Please try it in another area.-
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-
500Forbidden.Wkbench.ProjectNoPermissionYou are not authorized to access the workspace.You are not authorized to access the workspace.

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

Change history

Change timeSummary of changesOperation
No change history