All Products
Search
Document Center

AnalyticDB:DescribeModelService

Last Updated:Nov 07, 2025

Queries the information about a model service.

Operation description

Usage notes

This interface is used to view the details of a model service.

QPS limit

You can call this operation up to 1,000 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions.We recommend that you take note of this limit when you call this operation.

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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
gpdb:DescribeModelServiceget
*DBInstance
acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The ID of the instance.

Note You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-xxxxxxxxx
ModelServiceIdstringYes

The model service ID.

mx-xxxxxxxxx

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Request ID.

ABB39CC3-4488-4857-905D-2E4A051D0521
ModelServiceIdstring

The model service ID.

ms-xxxxxxxxx
ModelNamestring

The model name.

Qwen3-Embedding-8B
Statusstring

The status of the model service.

- deployming - active
PublicConnectUrlstring

The public endpoint.

http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com
PrivateConnectUrlstring

The internal endpoint.

http://ms-xxxxxxx.xxxx.rds.aliyuncs.com
SecurityIpListstring

A comma-separated list of IP addresses and CIDR blocks allowed to connect.

127.0.0.1
CreateTimestring

The creation time.

2019-09-08T16:00:00Z
ApiKeystring

The API key.

cx/Y57lTNf*********
Descriptionstring

The description.

test
ModelParamsobject

Model parameters.

AiNodesarray

The list of AI nodes.

aiNodesstring

The name of the AI Node.

ai-xxxxxxxxx

Examples

Sample success responses

JSONformat

{
  "RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
  "ModelServiceId": "ms-xxxxxxxxx",
  "ModelName": "Qwen3-Embedding-8B",
  "Status": "- deployming\n- active",
  "PublicConnectUrl": "http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com",
  "PrivateConnectUrl": "http://ms-xxxxxxx.xxxx.rds.aliyuncs.com",
  "SecurityIpList": "127.0.0.1",
  "CreateTime": "2019-09-08T16:00:00Z",
  "ApiKey": "cx/Y57lTNf*********",
  "Description": "test",
  "ModelParams": {
    "test": "test",
    "test2": 1
  },
  "AiNodes": [
    "ai-xxxxxxxxx"
  ]
}

Error codes

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