Clone Knowledge Base
Clone an existing knowledge base.
A cloned knowledge base contains the same configuration as the original knowledge base (at the time of cloning - later changes are not propagated to the clone).
Note that this only clones the knowledge base without cloning any index that belongs to that knowledge base or any contents stored in the index.
knowledge_base_id
{
"name": "string"
}
Name of the new knowledge base. If omitted, the name of the cloned knowledge base is used.
Successful Response
{
"id": "string",
"name": "string",
"description": "string",
"index_refresh_policy": {
"policy_type": "string"
},
"data_origin_type": "string",
"object": "string",
"created_at": 0,
"last_updated_at": 0,
"next_index_refresh_at": 0,
"status": "string",
"num_linked_data_sources": 0,
"num_linked_agents": 0
}
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.
Availability status of a knowledge base.
Number of linked data sources.
Number of agents using this knowledge base.
Invalid knowledge base ID.
Validation Error
{
"detail": [
{
"loc": [
{}
],
"msg": "string",
"type": "string"
}
]
}
detail
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v1/control/knowledge-bases/{knowledge_base_id}/clone