Skip to Content

Get Model Service - GetUMInferService

Overview

Get Model Service

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUMInferService.Yes
PublicKeystringThe user’s public key can be obtained from Console Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
UminferIDstringInference service idNo
OffsetstringoffsetNo
LimitstringlimitNo
UminferTypestringDefault preDeploy, can obtain DeepSeek KeyNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
Dataarray[UMInferServiceData]inference service dataYes
TotalCountintNumber of ModelsNo

Data Model

UMInferServiceData

Field NameTypeDescription InformationRequired
Replicasintservice replicasNo
ReadyReplicasintservice ready replicasNo
ComputingUnitintcompute unitNo
UminferIDstringInference Service Resource IDNo
UminferTypestringInference Service Resource TypeNo
StatusstringService StatusNo
URLstringService’s urlNo
NamestringService NameNo
CreateTimeintCreation TimeNo
ModelIDstringModel IDNo
ModelNamestringModel NameNo
DescribestringDescriptionNo
KeystringModel Authentication KeyNo

Example

Request Example

https://api.ucloud-global.com/?Action=GetUMInferService &Region=cn-zj &Zone=cn-zj-01 &ProjectId=GNVYddTa &UminferID=RsxHEWlY &Offset=LXFRVNPf &Limit=vMvKDwux &UminferType=ePdgTiBX &UminferType=iElIyEEt

Response Example

{ "Action": "GetUMInferServiceResponse", "Data": [ { "CreateTime": 2, "Describe": "UIMSNZYA", "Key": "kvIMoROs", "ModelID": "upulyoUb", "ModelName": "mwqyUBRb", "Name": "pqXdTEHZ", "Status": "cn-zj", "URL": "VNUrGwuD", "UminferID": "KRuoTTwF" } ], "RetCode": 0, "TotalCount": 2 }