获取大模型供应商
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取大模型供应商</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/appsquare/orch/api/v1/llm/providers</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code> {
&quot;scope&quot;:&quot;TENANT&quot;,
&quot;appId&quot;:&quot;&quot;,//当scope为APP时传入
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;success&quot;: true,
&quot;code&quot;: &quot;1&quot;,
&quot;message&quot;: &quot;处理成功&quot;,
&quot;traceId&quot;: &quot;&quot;,
&quot;data&quot;: [
{
&quot;providerId&quot;: 10000,//供应商id
&quot;subjectId&quot;: &quot;10000&quot;,
&quot;scope&quot;: &quot;TENANT&quot;,
&quot;providerName&quot;: &quot;tongyi&quot;,//供应商名称
&quot;providerType&quot;: &quot;SYSTEM&quot;,//供应商类型
&quot;configuration&quot;: {
&quot;dashscope_api_key&quot;: &quot;sk-3ea8bccad57a4fb1906a765bb7906656&quot;
},//供应商配置
&quot;lastUsed&quot;: &quot;2024-07-20 14:13:18&quot;,
&quot;settings&quot;: {},
&quot;deleteFlag&quot;: false,//删除标记
&quot;gmtArchive&quot;: &quot;2032-07-20 14:13:25&quot;
},
{
&quot;providerId&quot;: 10001,
&quot;subjectId&quot;: &quot;10000&quot;,
&quot;scope&quot;: &quot;TENANT&quot;,
&quot;providerName&quot;: &quot;spark&quot;,
&quot;providerType&quot;: &quot;SYSTEM&quot;,
&quot;configuration&quot;: {
&quot;api_key&quot;: &quot;2fb48a83aa286975a92e334ca982c53e&quot;,
&quot;api_secret&quot;: &quot;ZTIxZWJlNmYxOTE4N2M5NGNmOGM5OWMz&quot;
},
&quot;lastUsed&quot;: &quot;2024-07-20 14:13:18&quot;,
&quot;settings&quot;: {},
&quot;deleteFlag&quot;: false,
&quot;gmtArchive&quot;: &quot;2032-07-20 14:13:25&quot;
}
]
}</code></pre>