跳到主要内容

部署详情(LoRA)

基模型服务详情。
GET
https://api.alayanew.com/api/serverless-infer/v1/deployment/${serviceId}
Authorizations
AuthorizationsStringHeaderRequired

用户可通过已获取Serverless API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。

Path Parameters
serviceIdStringRequired

服务ID。

Response
状态码:application/json
serviceIdString

服务ID。

statusString

状态。

serviceUrlString

服务URL。

apiKeyString

API Key。

baseServiceIdString

基模型服务ID。

namespaceString

弹性容器集群(VKS)NameSpace。

modelIdString

模型ID。

nameString

服务名称。

servedNameList<String>

模型标识。

curl --location --request GET 'https://api.alayanew.com/api/serverless-infer/v1/deployment/38fbfc3d-6a88-4c35-b8b6-9efc83949d47'     
     --header 'Authorization:Authorization:plain Credential=YOUR_AK,Signature=YOUR_SK' 
     --header 'Content-Type: application/json' 
{
  "serviceId":" service ID",
  "status":"string 服务状态",
  "serviceUrl":"",
  "apiKey":"",
  "baseServiceId":"requeired, 基模型服务id",
  "modelId": "String, 模型ID",
  "name":"string , 服务展示名称由用户自定义",
  "servedName": "string, "
}