Update Knowledge Base
Authorization
x-api-key x-api-key<token>
In: header
Request Body
application/json
id*string
The ID of the knowledge base.
Length
36 <= length <= 36name?string
The name of the knowledge base.
Length
1 <= length <= 100description?string
The description of the knowledge base.
Length
length <= 1000Response Body
application/json
application/json
application/json
curl -X POST "https://retriever.denser.ai/api/open/v1/updateKnowledgeBase" \ -H "Content-Type: application/json" \ -d '{ "id": "stringstringstringstringstringstring" }'{
"success": true,
"data": {
"id": "string",
"name": "string",
"description": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"success": false,
"message": "string",
"data": {},
"errorCode": "STORAGE_LIMIT_EXCEEDED"
}{
"success": false,
"message": "string",
"data": {},
"errorCode": "INPUT_VALIDATION_FAILED"
}