Knowledge Bases

Update a datasource

Changed on

Updates the display name of a datasource.

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

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}
  • Auth
    HTTP bearer

Path parameters

knowledge_idstring required
datasource_idstring required

Request body

display_namestring required
descriptionstring nullable

Example request

{
  "display_name": "Product handbook"
}

Response

Datasource successfully updated

display_namestring required
descriptionstring nullable

The description of the datasource

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