Mengambil daftar model di kluster AI.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAvailableModels |
none |
*Semua sumber daya.
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-beijing |
| KubeType |
string |
No |
aideploy. |
aideploy |
|
No |
Tipe model. Nilai valid: custom atau public. Jika parameter ini tidak ditentukan, semua model akan dikembalikan. |
custom |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| Engine |
string |
Mesin database. |
polardb_ai |
| EngineVersion |
string |
Versi mesin database. |
3.0 |
| Items |
array<object> |
Daftar model. |
|
|
array<object> |
Objek model. |
||
| CustomModelName |
string |
Kunci registrasi model kustom. |
Qwen3-32B |
| DisplayModelName |
string |
Nama tampilan model. |
Qwen3 32B Saya |
| GmtModified |
string |
Pengatur waktu terakhir modifikasi registrasi. |
2026-09-07 20:57:20 |
| GpuRequired |
array<object> |
Tipe GPU yang didukung. |
|
|
object |
Objek tipe GPU yang didukung. |
||
| GpuMinCount |
string |
Jumlah GPU minimum. |
xx |
| GpuModel |
string |
Model GPU. |
xxx |
| MinimumCpu |
integer |
Jumlah CPU minimum. |
8 |
| MinimumMemory |
integer |
Ukuran memori minimum. |
16384 |
| ModelName |
string |
Nama model. |
Qwen3-32B-GPTQ-Int4 |
| ModelSeries |
string |
Seri model. |
BERT |
| ModelType |
string |
Tipe model. |
custom |
| OssPath |
string |
Jalur OSS model kustom. |
/bucket-model-saya/model |
| SupportedGpuModels |
array |
Model GPU yang didukung. |
|
|
string |
xxxx. |
xxx |
|
| TuneArch |
string |
||
| ModelType |
string |
Tipe model yang sesuai dengan permintaan. |
custom |
| RequestId |
string |
ID permintaan. |
3AA69096-757C-4647-B36C-29EBC2****** |
| TuneArch |
string |
Arsitektur fine-tuning model. |
swift |
Contoh
Respons sukses
JSONformat
{
"Engine": "polardb_ai",
"EngineVersion": "3.0",
"Items": [
{
"CustomModelName": "Qwen3-32B",
"DisplayModelName": "My Qwen3 32B",
"GmtModified": "2026-09-07 20:57:20",
"GpuRequired": [
{
"GpuMinCount": "xx",
"GpuModel": "xxx"
}
],
"MinimumCpu": 8,
"MinimumMemory": 16384,
"ModelName": "Qwen3-32B-GPTQ-Int4",
"ModelSeries": "BERT",
"ModelType": "custom",
"OssPath": "/my-model-bucket/models",
"SupportedGpuModels": [
"xxx"
],
"TuneArch": ""
}
],
"ModelType": "custom",
"RequestId": "3AA69096-757C-4647-B36C-29EBC2******",
"TuneArch": "swift"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | DBClusterId yang diberikan tidak ada dalam catatan saat ini. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.