查詢知識庫詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
polardb:DescribeKnowledgeBaseAttribute |
get |
*全部資源。
|
無 | 無 |
請求文法
POST HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-beijing |
| KnowledgeBaseId |
string |
是 |
知識庫唯一識別碼。 |
pkb-xxxxxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
E56531A4-E552-40BA-9C58-137B80****** |
| KnowledgeBaseId |
string |
知識庫唯一識別碼。 |
pkb-xxxxx |
| Name |
string |
知識庫名稱。 |
testName |
| Description |
string |
知識庫描述。 |
testDesc |
| KnowledgeSpaceId |
string |
知識空間 ID。 |
pks-xxxxxx |
| KnowledgeBaseType |
string |
知識庫類型。取值:PUBLIC、PERSONAL。 |
PUBLIC |
| TotalDocs |
integer |
文件總數。 |
1 |
| TotalSizeBytes |
integer |
總位元組數。 |
318881 |
| Status |
string |
狀態。 |
Activation |
| CreationTime |
string |
建立時間。 |
2020-08-14T05:58:42Z |
| SearchMode |
string |
檢索模式:
|
balanced |
| BindingAppCount |
integer |
已綁定的 AI 應用程式數量。 |
2 |
| ShardCount |
integer |
分片數量。 |
15 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "E56531A4-E552-40BA-9C58-137B80******",
"KnowledgeBaseId": "pkb-xxxxx",
"Name": "testName",
"Description": "testDesc",
"KnowledgeSpaceId": "pks-xxxxxx",
"KnowledgeBaseType": "PUBLIC",
"TotalDocs": 1,
"TotalSizeBytes": 318881,
"Status": "Activation",
"CreationTime": "2020-08-14T05:58:42Z",
"SearchMode": "balanced",
"BindingAppCount": 2,
"ShardCount": 15
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。