CreateDataAgentKnowledgeBase
Creates a DataAgent knowledge base. The knowledge base creator has read and write permissions. Other workspace members have permission to use it.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DMSUnit |
string |
No |
The current DMS unit. |
cn-hangzhou |
| WorkspaceId |
string |
Yes |
The workspace ID. |
8i5tw7omgaax*********n909jid |
| Name |
string |
Yes |
The name of the knowledge base. |
KnowledgeBaseTest |
| Description |
string |
No |
The description of the knowledge base. |
KnowledgeBaseTest |
| FromKbUuid |
string |
No |
The ID of the source industry knowledge base. |
kb-HZ-ra99********ss0xp1bku |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
67E910F2-4B62-5B0C-ACA3-7547695C**** |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
| ErrorCode |
string |
The error code returned when the request fails. |
InvalidTid |
| ErrorMessage |
string |
The error message returned when the request fails. |
Specified parameter Tid is not valid. |
| Data |
object |
The data returned by the request. |
|
| KbUuid |
string |
The knowledge base ID. |
kb-HZ-ra99akg0t*********1bku |
Examples
Success response
JSON format
{
"RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
"Success": true,
"ErrorCode": "InvalidTid",
"ErrorMessage": "Specified parameter Tid is not valid.",
"Data": {
"KbUuid": "kb-HZ-ra99akg0t*********1bku"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.