モデルプロバイダーテンプレートのリストを照会します。
操作説明
WUYING エージェント管理センターで、指定されたモデルグループ配下のモデルプロバイダーテンプレートのリストを取得するために、ページングクエリを実行できます。プロバイダー名、モデルグループ ID、およびプロバイダーテンプレート ID によるフィルターがサポートされています。ページングパラメーターを使用して、1 ページあたりに返される結果の数をコントロールできます。
この操作を使用する前に、WUYING エージェント管理センターの操作と使用量を理解していることを確認してください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
appstreaming:ListModelProviderTemplates |
list |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| BizType |
integer |
必須 |
ビジネスタイプ。 列挙値:
|
1 |
| AgentPlatform |
string |
任意 |
エージェントプラットフォーム。 列挙値:
|
ENTERPRISE |
| AgentProvider |
string |
必須 |
エージェントプロバイダー名。 列挙値:
|
OpenClaw |
| ProviderName |
string |
任意 |
フィルター対象のモデルプロバイダー名。 |
bailian |
| ModelTemplateId |
string |
任意 |
フィルター対象のモデルグループ ID。 |
mt-xxxx |
| ProviderTemplateIds |
array |
任意 |
フィルター対象のモデルプロバイダーテンプレート ID。 |
|
|
string |
任意 |
モデルプロバイダーテンプレート ID。 |
mpt-xxxx |
|
| PageSize |
integer |
任意 |
1 ページあたりのエントリ数。 |
20 |
| PageNumber |
integer |
任意 |
ページ番号。1 から始まります。値 0 と 1 は同じ結果を返します。 |
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
リクエスト結果。 |
||
| PageSize |
integer |
1 ページあたりのエントリ数。 |
20 |
| PageNumber |
integer |
クエリ結果の現在のページ番号。 |
1 |
| Data |
array<object> |
返されたデータオブジェクトのリスト。 |
|
|
object |
返されたデータオブジェクト。 |
||
| ProviderTemplateId |
string |
モデルプロバイダーテンプレート ID。 |
mpt-xxxx |
| ProviderType |
string |
モデルプロバイダータイプ。 列挙値:
|
WuyingCredit |
| ProviderName |
string |
モデルプロバイダー名。 |
bailian |
| Name |
string |
モデルプロバイダーテンプレート名。 |
Alibaba Cloud Bailian |
| Description |
string |
モデルプロバイダーテンプレートの説明。 |
Alibaba Cloud Bailian provider |
| Config |
string |
モデルプロバイダー構成 JSON オブジェクト。 |
{ "api": "openai-completions", "apiKey": "sk-xxxx", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1" } |
| EnableWuyingProxy |
boolean |
WUYING セキュアゲートウェイプロキシが有効かどうかを示します。 列挙値:
|
true |
| WuyingProviderKey |
string |
WUYING セキュアゲートウェイプロキシの ProviderKey。 |
wuying-key-12345 |
| TotalCount |
integer |
クエリ結果の総数。 |
30 |
| RequestId |
string |
リクエスト ID。 |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
例
成功レスポンス
JSONJSON
{
"PageSize": 20,
"PageNumber": 1,
"Data": [
{
"ProviderTemplateId": "mpt-xxxx。",
"ProviderType": "WuyingCredit。",
"ProviderName": "bailian。",
"Name": "Alibaba Cloud Bailian。",
"Description": "Alibaba Cloud Bailian provider。",
"Config": "{\n\t\"api\": \"openai-completions\",\n\t\"apiKey\": \"sk-xxxx\",\n\t\"baseUrl\": \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n}",
"EnableWuyingProxy": true,
"WuyingProviderKey": "wuying-key-12345"
}
],
"TotalCount": 30,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。