Knowledge Bases
Update a knowledge base
Change a knowledge base’s name, description, language or type.
PATCH
Update Kb
A
The allowed values are the same as on
create:
PATCH applies only the fields you send. Anything you omit keeps its current value, so send just
what is changing:
Sending a full object you read earlier is the common mistake: any field whose value you did not
intend to change is still written.
kb_type in particular changes how the agent retrieves from
this knowledge base, so include it only when you mean to change it.language is english or multilingual, and
kb_type is deterministic or non_deterministic. Documents are not affected - editing the
knowledge base does not re-run ingestion.Authorizations
Body
application/json
Response
The updated knowledge base.
One knowledge base.
language and kb_type are both growing enums — match on the values you know and fall through on the rest, rather than switching exhaustively.
documents is returned by get-by-id and is null in the list, the same convention as transcript on a call.
Update Kb