Knowledge Bases

Update a datasource

Updates the display name of a datasource.

patch/v2/knowledge/{knowledge_id}/datasources/{datasource_id}

Path parameters

knowledge_idstring required
datasource_idstring required

Request body

display_namestring required
descriptionstring nullable

Response

Datasource successfully updated

display_namestring required
descriptionstring nullable

The description of the knowledge base

status'pending' | 'processing' | 'completed' | 'failed' | 'queued' required
file_idstring nullable

The unique identifier of the file used to create the datasource.

createdstring required
updatedstring required
created_by_idstring uuid nullable

The user ID of the creator of the knowledge base

update_by_idstring uuid nullable

The user ID of the last user who updated the knowledge base

knowledge_idstring required
chunks_countnumber double required
_idstring required

Changes