モデルサービスリストを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:DescribeModelServices |
get |
*All resources.
|
なし | なし |
リクエスト構文
POST HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GwClusterId |
string |
必須 |
ゲートウェイインスタンスの ID。 |
pg-xxxxxxxxxx |
| Name |
string |
任意 |
モデルサービス名。 |
testName |
| ModelServiceIds |
string |
任意 |
モデルサービスの ID。 |
ms-xxx,ms-xxxx |
| ModelCategory |
string |
任意 |
モデルカテゴリ。 |
text |
| Protocol |
string |
任意 |
プロトコルの種類。有効な値:
|
openai |
| Status |
string |
任意 |
ステータス。 |
Enable |
| PageSize |
integer |
任意 |
1 ページあたりのエントリ数。 |
30 |
| PageNumber |
integer |
任意 |
ページ番号。 |
1 |
| RegionId |
string |
任意 |
リージョン ID。 |
cn-beijing |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ。 |
||
| Items |
array<object> |
モデルサービスのリスト。 |
|
|
object |
モデルサービスオブジェクト。 |
||
| ApiKey |
string |
モデルサービスの API キー。 |
xxxx |
| BaseUrl |
string |
アップストリームサービスのエンドポイント。 |
https://xxxxxx |
| GmtCreated |
string |
モデルの作成日。 |
2026-03-31T14:40:48Z |
| InputCostPointsPerMillion |
string |
入力ポイント。 |
10 |
| ModelCategory |
string |
カテゴリ。 |
text |
| ModelServiceId |
string |
モデルサービスの ID。 |
ms-xxxxxx |
| Name |
string |
モデルサービス名。 |
test |
| OutputCostPointsPerMillion |
string |
出力ポイント。 |
10 |
| Protocol |
string |
プロトコルの種類。有効な値:
|
openai |
| RequestCostPoints |
string |
リクエスト数。 |
10 |
| Status |
string |
ステータス。 |
Enable |
| Vendor |
string |
モデルサービスプロバイダー。 |
bailian |
| PageNumber |
integer |
現在のページ番号。 |
1 |
| PageRecordCount |
integer |
現在のページのエントリ数。 |
30 |
| PageSize |
integer |
1 ページあたりのエントリ数。有効な値:
デフォルト値: 30。 |
30 |
| RequestId |
string |
リクエストの ID。 |
24A1990B-4F6E-482B-B8CB-75C612****** |
| TotalRecordCount |
integer |
エントリの総数。 |
2 |
例
成功レスポンス
JSONJSON
{
"Items": [
{
"ApiKey": "xxxx",
"BaseUrl": "https://xxxxxx",
"GmtCreated": "2026-03-31T14:40:48Z",
"InputCostPointsPerMillion": "10",
"ModelCategory": "text",
"ModelServiceId": "ms-xxxxxx",
"Name": "test",
"OutputCostPointsPerMillion": "10",
"Protocol": "openai",
"RequestCostPoints": "10",
"Status": "Enable",
"Vendor": "bailian"
}
],
"PageNumber": 1,
"PageRecordCount": 30,
"PageSize": 30,
"RequestId": "24A1990B-4F6E-482B-B8CB-75C612******",
"TotalRecordCount": 2
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 404 | InvalidPolarGatewayInstanceId.NotFound | The gateway instance id provided does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。