Knowledge Bases

Retrieve a datasource

Changed on

Retrieves a datasource and its current processing status and chunk count.

get/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

Response

Datasource successfully retrieved

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

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status