All Products
Search
Document Center

Alibaba Cloud Model Studio:Detail Penyebaran

Last Updated:Jun 07, 2026

Mengambil detail penyebaran model tertentu.

Prasyarat

Mendapatkan penyebaran model

Endpoint

GET https://dashscope-intl.aliyuncs.com/api/v1/deployments/{deployed_model}

Contoh permintaan

Gunakan perintah berikut untuk mengambil detail penyebaran model tertentu:

curl "https://dashscope-intl.aliyuncs.com/api/v1/deployments/qwen-plus-202305099980-fac9-sample" \
    --header "Authorization: Bearer ${DASHSCOPE_API_KEY}" \
    --header 'Content-Type: application/json' 

Parameter permintaan

Parameter

Tipe

Lokasi

Wajib

Deskripsi

deployed_model

String

path

Ya

Pengidentifikasi unik untuk penyebaran model. Anda dapat memperoleh nilai ini dari respons operasi Create a deployment atau List deployments.

Contoh respons

Permintaan yang berhasil mengembalikan data berikut:

{
  "request_id": "66a855f0-a6fe-4b05-9786-fb30c7c6782d",
  "output": {
    "deployed_model": "emo-35b3f106-sample01",
    "gmt_create": "2025-06-17T11:00:38",
    "gmt_modified": "2025-06-17T11:06:13",
    "status": "RUNNING",
    "model_name": "emo",
    "base_model": "emo",
    "base_capacity": 1,
    "capacity": 1,
    "ready_capacity": 1,
    "workspace_id": "llm-v71tlv3***",
    "charge_type": "post_paid",
    "creator": "175805416***",
    "modifier": "175805416***"
  }
}

Parameter respons

Untuk deskripsi parameter respons, lihat Create a model deployment task.

Kesalahan

Contoh respons kesalahan

{
    "request_id": "ca218d57-b91b-46b2-bd35-c41c6287bcf4",
    "message": "Model: qwen-plus-20230703-cx7f not found!",
    "code": "NotFound"
}

Parameter respons

Field

Tipe

Deskripsi

request_id

String

Pengidentifikasi unik untuk permintaan, yang dihasilkan oleh sistem.

code

String

Kode kesalahan.

message

String

Pesan kesalahan.

Tabel berikut menjelaskan kode kesalahan umum untuk operasi ini.

Kode kesalahan

Pesan kesalahan

Penyebab

NotFound

Model: xxx not found!

  • Anda menentukan model yang tidak ada saat membuat penyebaran.

  • Anda menentukan penyebaran yang tidak ada saat mengambil, memperbarui, atau menghapus penyebaran.

Conflict

Deployed model xxx already exists, please specify a suffix.

Sufiks yang ditentukan sudah sedang digunakan.

InvalidParameter

Invalid capacity (xx), capacity must be larger than or equal to 0 and multiples of 1 and less than 1000!

Anda menentukan nilai yang tidak valid untuk parameter capacity.