Queries the details of a knowledge base.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeKnowledgeBaseAttribute |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| KnowledgeBaseId |
string |
Yes |
The unique identifier of the knowledge base. |
pkb-xxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
E56531A4-E552-40BA-9C58-137B80****** |
| KnowledgeBaseId |
string |
The unique identifier of the knowledge base. |
pkb-xxxxx |
| Name |
string |
The name of the knowledge base. |
testName |
| Description |
string |
The description of the knowledge base. |
testDesc |
| KnowledgeSpaceId |
string |
The ID of the knowledge space. |
pks-xxxxxx |
| KnowledgeBaseType |
string |
The type of the knowledge base. Valid values:
|
PUBLIC |
| TotalDocs |
integer |
The total number of documents. |
1 |
| TotalSizeBytes |
integer |
The total size in bytes. |
318881 |
| Status |
string |
The status of the knowledge base. |
Activation |
| CreationTime |
string |
The creation time. |
2020-08-14T05:58:42Z |
| SearchMode |
string |
The search mode. Valid values:
|
balanced |
| BindingAppCount |
integer |
The number of AI applications bound to the knowledge base. |
2 |
| ShardCount |
integer |
The number of shards. |
15 |
Examples
Success response
JSON format
{
"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
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.