获取应用配置信息,包含用户可使用模型列表,嵌入列表等。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /{workspaceId}/api/app/config
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
workspaceId | string | 是 | 路径参数,业务空间 id | llm-xxxxx |
返回参数
示例
正常返回示例
JSON
格式
{
"cost": 0,
"data": {
"embeddingTypeList": [
{
"key": "DashScope"
}
],
"frontendConfig": {
"key": true
},
"libraryDocumentStatusList": [
{
"key": "Completed"
}
],
"llmHelperTypeList": [
{
"key": "qwen-max"
}
],
"textIndexCategoryList": [
"ElasticSearch"
],
"vectorIndexCategoryList": [
"ADB"
]
},
"dataType": "null",
"errCode": "0",
"message": "None",
"requestId": "EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258",
"success": true,
"time": "2024-04-24 11:54:34"
}
错误码
访问错误中心查看更多错误码。