All Products
Search
Document Center

DataWorks:ListInstanceAmount

Last Updated:Aug 28, 2026

Queries the trend of auto-triggered node instance counts within a specified time range.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ProjectId

integer

Yes

The DataWorks workspace ID. Log on to the DataWorks console and go to the Work space page to obtain the ID.

10000

BeginDate

string

Yes

The start of the time range to query, accurate to the day. Specify the time in the yyyy-MM-dd'T'HH:mm:ssZ format (UTC).

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

EndDate

string

Yes

The end of the time range to query, accurate to the day. Specify the time in the yyyy-MM-dd'T'HH:mm:ssZ format (UTC).

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

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

95279527adhfj****

InstanceCounts

array<object>

The trend of auto-triggered node instance counts within the specified time range.

object

Date

integer

The UNIX timestamp when the auto-triggered node instance count was obtained.

1623772800000

Count

integer

The number of auto-triggered node instances.

9527

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area.
500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
500 Forbidden.Wkbench.NoProject You have not joined any project.
403 ResourceNotAuthorized.Api You are not authorized to access the resources.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.Resource You have reached the limit for the resource. Please contact us by submitting a ticket.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.