All Products
Search
Document Center

DataWorks:ListInstanceAmount

Last Updated:Oct 17, 2024

Queries the trend of the number of auto triggered node instances within a specified period of time.

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 Work space page to obtain the workspace ID.

10000
BeginDatestringYes

The beginning of the time range to query, accurate to the day. Specify the time in the ISO 8601 standard in the yyyy-MM-dd'T'HH:mm:ssZ format. The time must be in UTC.

2021-06-13T00:00:00+0800
EndDatestringYes

The end of the time range to query, accurate to the day. Specify the time in the ISO 8601 standard in the yyyy-MM-dd'T'HH:mm:ssZ format. The time must be in UTC.

2021-06-16T00:00:00+0800

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

95279527adhfj****
InstanceCountsarray<object>

The trend of the number of auto triggered node instances within the specified period of time.

IntanceCountsobject
Datelong

The data timestamp at which the number of auto triggered node instances was obtained. This value is a UNIX timestamp.

1623772800000
Countinteger

The number of auto triggered node instances.

9527

Examples

Sample success responses

JSONformat

{
  "RequestId": "95279527adhfj****",
  "InstanceCounts": [
    {
      "Date": 1623772800000,
      "Count": 9527
    }
  ]
}

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.NoProjectYou have not joined any project.You have not joined any project.

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

Change history

Change timeSummary of changesOperation
No change history