Paginated query of subscription seat details.
Prerequisites
You have obtained the AccessKey of an Alibaba Cloud account or a RAM user, and the identity has been granted the RAM permissions required to call this operation. We recommend that you set the AccessKey as the environment variables ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET instead of hard-coding it.
Request description
- HTTP method:GET
-
Request URL
Region
Endpoint
China (Beijing)
GET https://modelstudio.cn-beijing.aliyuncs.com/tokenplan/subscription/seat-detail -
Authentication
This operation is an Alibaba Cloud OpenAPI operation that uses AccessKey-based signatures (the
ACS3-HMAC-SHA256algorithm). TheAuthorization: Bearer {API_KEY}scheme is not supported. A request must carry the common headersx-acs-action: GetSubscriptionSeatDetails,x-acs-version: 2026-02-10,x-acs-date,x-acs-content-sha256,x-acs-signature-nonce, andAuthorization. We recommend that you call this operation with an Alibaba Cloud SDK or OpenAPI Explorer so that you do not have to calculate the signature yourself.
Request parameters
All parameters are passed in the query string. Array parameters (StatusList) use the Flat format: pass each element as ParameterName.N, where N starts from 1. For example, StatusList.1=NORMAL and StatusList.2=<second value>.
Parameter | Type | Required | Description |
|---|---|---|---|
PageNo | integer | No | Page number. Default: 1. Valid values: positive integers. |
PageSize | integer | No | Page size: number of items per page. Default: 10. |
StatusList | Array | No | Seat status filter list |
SeatId | string | No | Seat ID |
SeatType | string | No | Seat type (specType) |
QueryAssigned | boolean | No | Seat assignment status filter. true=assigned, false=unassigned, null=all |
Response parameters
Parameter | Type | Description |
|---|---|---|
Success | boolean | Whether the API call was successful: |
Code | string | Response status code. |
Message | string | Response message. |
Data | object | Business data. |
Items | Array[Object] | Data items |
Array[Object] | Data items | |
InstanceCode | string | Seat instance code |
EquityList | Array[Object] | Currently effective equity instances. For TokenPlan products, this list contains only one effective equity instance. |
object | ||
EquityType | string | Equity type (e.g., CREDITS, SPN, resource package, etc.) |
CycleInstanceId | string | Equity code (subscription code; not consumed in credits scenarios) |
CycleStartTime | integer | Current cycle start time, in milliseconds |
CycleEndTime | integer | Current cycle end time, in milliseconds |
CycleTotalValue | number | Total quota of the current cycle |
CycleSurplusValue | number | Remaining quota of the current cycle |
CycleVersion | integer | Time-series version of the current cycle |
EndTime | integer | Seat expiration time |
SeatId | string | Seat ID |
SpecType | string | Seat type. |
StartTime | integer | Seat start time |
AssignedStatus | string | Assignment status |
AccountId | string | Bound member account ID |
AccountName | string | Member account name |
AccountEmail | string | Member account email |
Status | string | Seat status: |
Total | integer | Total number of seats |
PageNo | integer | Page number. Value must be greater than 0 and not exceed the maximum value of the Integer data type. |
PageSize | integer | Number of items per page. |
Request example
This operation uses Alibaba Cloud OpenAPI signatures. In the following example, ${SIGNATURE} must be calculated with the ACS3-HMAC-SHA256 algorithm, and x-acs-date and x-acs-signature-nonce must be replaced with actual values.