QueryNodeReportData

Updated at:

Queries the total number of nodes, the number of subscription nodes, and the number of pay-as-you-go nodes by statistical granularity.

Operation description

Queries node quantity reports. StartDate, EndDate, and StatDateType are required. The query span limit is determined by the statistical granularity: up to 1 day for 1m and 30m, up to 15 days for 6h, and up to 180 days for 1d. Both the start and end boundaries are included in the query range. Results are returned in pages, with a maximum of 1,500 entries per page.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

appstreaming:QueryNodeReportData

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

AppInstanceGroupId

string

No

The ID of the app instance group, which is used to filter data for a specific app instance group. You can call the ListAppInstanceGroup operation to obtain the ID. If you do not specify this parameter, data is not filtered by app instance group.

aig-9ciijz60n4xsv****

PageSize

integer

No

The number of entries to return on each page. If you do not specify this parameter, the default value 200 is used. If the specified value is greater than 1,500, the value 1,500 is used.

100

PageNumber

integer

No

The number of the page to return. Specify a value starting from 1. If you do not specify this parameter, the service returns the first page, but the response may echo 0.

1

BizRegionId

string

No

The ID of the business region, which is used to filter report data. You can call the ListRegions operation to obtain the ID.

cn-hangzhou

StartDate

string

No

The start time of the statistics. This parameter is required. Format: yyyy-MM-dd HH:mm:ss. The 1d granularity calculates statistics by date, while other granularities are accurate to the minute. The query includes both the start and end boundaries. The string itself does not carry a time zone and is interpreted as Asia/Shanghai (UTC+8).

2026-09-01 00:00:00

EndDate

string

No

The end time of the statistics. This parameter is required. Format: yyyy-MM-dd HH:mm:ss. The end time cannot be earlier than StartDate. The query span must meet the limits corresponding to StatDateType. The string itself does not carry a time zone and is interpreted as Asia/Shanghai (UTC+8).

2026-09-02 00:00:00

StatDateType

string

No

The statistical granularity. This parameter is required.

Valid values:

  • 1m: aggregates data by 1 minute. The maximum query span is 1 day.

  • 30m: aggregates data by 30 minutes. The maximum query span is 1 day.

  • 6h: aggregates data by 6 hours. The maximum query span is 15 days.

  • 1d: aggregates data by day. The maximum query span is 180 days.

1d

ProductType

string

No

The product type. This parameter is optional. If you do not specify this parameter, data is queried for Wuying Cloud App.

Specify the value in the exact case shown below. Data that cannot be matched is not returned.

Valid values:

  • CloudApp: Wuying Cloud App.

  • CloudBrowser: Cloud Browser.

  • WuyingServer: Enterprise Edition workstation.

  • WuyingWorkstation: Personal Edition Linggou container workstation.

  • WuyingWorkstationTeam: Linggou Team Edition container workstation.

  • WuyingWorkstationBusiness: Linggou Dedicated Edition container workstation.

  • AndroidCloud: Cloud Phone.

  • AIAgent: AgentBay (AI agent).

CloudApp

Response elements

Element

Type

Description

Example

object

The API response.

Code

string

The business status code. A value of 200 indicates that the request is successful. Other values indicate that the request failed.

200

Count

integer

The total number of records that meet the query conditions.

3

Message

string

The description of the request processing result. If the request is successful, success is usually returned.

success

PageNumber

integer

The page number of the current response.

1

PageSize

integer

The number of entries per page in the current response.

200

ReportDataModel

array<object>

The list of node report data.

object

The report data object.

NodeCount

integer

The total number of nodes for the record.

20

PostpaidNodeCount

integer

The number of pay-as-you-go nodes for the record.

8

PrepaidNodeCount

integer

The number of subscription nodes for the record.

12

StatDate

string

The statistical time. The 1d granularity returns yyyy-MM-dd. The 1m, 30m, and 6h granularities return yyyy-MM-dd HH:mm. The string itself does not carry a time zone and is interpreted as Asia/Shanghai (UTC+8).

2026-09-01

RequestId

string

The unique identifier of the request, which can be used to troubleshoot request issues.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Success response

JSON format

{
  "Code": "200",
  "Count": 3,
  "Message": "success",
  "PageNumber": 1,
  "PageSize": 200,
  "ReportDataModel": [
    {
      "NodeCount": 20,
      "PostpaidNodeCount": 8,
      "PrepaidNodeCount": 12,
      "StatDate": "2026-09-01"
    }
  ],
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.