Update Knowledge Base
This method allows you to update a previously created knowledge base using its ID.
You can obtain the ID of the knowledge base to update either from the API response when you created the knowledge base, or by listing the available knowledge bases.
It is sufficient to provide the fields that should be changed. To reset/remove a
property from the knowledge base, use the null
value.
Note that some properties of the knowledge base, such as its type, cannot be changed after the creation. For details, refer to the method to Create a new knowledge base.
knowledge_base_id
{
"name": "string",
"description": "string"
}
Name of the knowledge base.
Description of the knowledge base.
Policy defining when to refresh the index of the knowledge base.
Successful Response
"KnowledgeBase Object"
ID of the knowledge base.
Name of the knowledge base.
Description of the knowledge base.
Policy defining when to refresh the index of the knowledge base.
data_origin_type
Object type, which is always knowledge_base
.
Unix timestamp (in seconds) when the knowledge base was created.
Unix timestamp (in seconds) when the knowledge base was last updated.
Unix timestamp (in seconds) of the next scheduled indexing.
An unsupported knowledge base configuration was provided.
Invalid knowledge base ID.
Validation Error
"HTTPValidationError Object"
detail
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'