All Products
Search
Document Center

App Streaming:ListModelTemplateResourceGroup

Last Updated:Jun 17, 2026

Queries the list of resource groups associated with a model group.

Operation description

You can call this operation to query the list of resource groups authorized by a model group in the Wuying Agent Management Center.

Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.

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

ModelTemplateId

string

Yes

The ID of the model group.

mt-xxxxx

ResourceGroupIds

array

No

The list of resource group IDs.

string

No

The list of resource group IDs used as filter conditions for the query.

You can specify up to 100 resource group IDs.

rg-xxxxx

PageSize

integer

No

The number of entries per page.

20

PageNumber

integer

No

The page number. Pages start from page 1. Both 0 and 1 return the same result.

1

Response elements

Element

Type

Description

Example

object

The query result.

PageSize

integer

The number of entries per page.

20

PageNumber

integer

The page number.

1

Data

array<object>

The returned results.

object

The returned data object.

ResourceGroupId

string

The resource group ID.

rg-xxxxx

TotalCount

integer

The total number of entries.

15

RequestId

string

The request ID.

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

Examples

Success response

JSON format

{
  "PageSize": 20,
  "PageNumber": 1,
  "Data": [
    {
      "ResourceGroupId": "rg-xxxxx"
    }
  ],
  "TotalCount": 15,
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.