モデルサービスの一覧表示
今すぐお試しください
テスト
RAM 認証
リクエスト構文
POST HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GwClusterId |
string |
必須 |
ゲートウェイインスタンスの ID です。 |
pg-xxxxxxxxxx |
| Name |
string |
任意 |
モデルサービスの名前です。 |
testName |
| ModelServiceIds |
string |
任意 |
モデルサービスの ID です。複数の 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 |
応答データです。 |
||
| RequestId |
string |
リクエスト ID です。 |
24A1990B-4F6E-482B-B8CB-75C612****** |
| TotalRecordCount |
integer |
レコードの総数です。 |
2 |
| PageNumber |
integer |
ページ番号です。 |
1 |
| PageRecordCount |
integer |
現在のページのレコード数です。 |
30 |
| Items |
array<object> |
モデルサービスの詳細です。 |
|
|
object |
モデルサービスオブジェクトです。 |
||
| ModelServiceId |
string |
モデルサービス ID です。 |
ms-xxxxxx |
| Name |
string |
モデルサービス名です。 |
test |
| ModelCategory |
string |
モデルカテゴリです。 |
text |
| Protocol |
string |
プロトコルです。有効な値は次のとおりです。
|
openai |
| Status |
string |
モデルサービスのステータスです。 |
Enable |
| BaseUrl |
string |
アップストリームサービスのベース URL です。 |
https://xxxxxx |
| GmtCreated |
string |
モデルサービスが作成された時刻です。 |
2026-03-31T14:40:48Z |
| InputCostPointsPerMillion |
string |
入力トークン 100 万トークンあたりのポイント単価です。 |
10 |
| OutputCostPointsPerMillion |
string |
出力トークン 100 万トークンあたりのポイント単価です。 |
10 |
| RequestCostPoints |
string |
リクエスト 1 回あたりのポイント単価です。 |
10 |
| ApiKey |
string |
モデルサービスの API キーです。 |
xxxx |
| Vendor |
string |
モデルサービスのベンダーです。 |
bailian |
| PageSize |
integer |
各ページに返されるレコード数です。有効な値は次のとおりです。
デフォルト値:30。 |
30 |
例
成功レスポンス
JSONJSON
{
"RequestId": "24A1990B-4F6E-482B-B8CB-75C612******",
"TotalRecordCount": 2,
"PageNumber": 1,
"PageRecordCount": 30,
"Items": [
{
"ModelServiceId": "ms-xxxxxx",
"Name": "test",
"ModelCategory": "text",
"Protocol": "openai",
"Status": "Enable",
"BaseUrl": "https://xxxxxx",
"GmtCreated": "2026-03-31T14:40:48Z",
"InputCostPointsPerMillion": "10",
"OutputCostPointsPerMillion": "10",
"RequestCostPoints": "10",
"ApiKey": "xxxx",
"Vendor": "bailian"
}
],
"PageSize": 30
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。