Update Knowledge Base
PUT
https://api.anunzi.net/v2/knowledge_base/{id}
Update an existing knowledge base in your Anunzi environment. This allows modifying the name and conditions under which the knowledge base is accessed.
Path Parameters
Parameter
Type
Required
Description
id
string
Yes
The unique ID of the knowledge base to update.
Body Parameters
Parameter
Type
Required
Description
id
string
Yes
The ID of the knowledge base to update.
name
string
Yes
The updated name of the knowledge base.
rag_use_condition
string
Yes
The updated condition under which the knowledge base will be accessed.
Example Request (cURL)
Example Response (200 OK)
Response Fields
Field
Type
Description
body
string
Confirmation message that the knowledge base was updated.
knowledge_base_id
string
The unique identifier of the updated knowledge base.
Status Codes
Code
Description
200
Knowledge base updated successfully.
400
Bad Request. Invalid or missing parameters.
Última actualización
¿Te fue útil?