v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Knowledge Bases

Retrieve a datasource

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

Path parameters

knowledge_idstring required

The unique identifier of the knowledge base

The unique identifier of the knowledge base

datasource_idstring required

The unique identifier of the datasource.

The unique identifier of the datasource.

Response

Datasource successfully retrieved

_idstring ulid

The unique identifier of the data source

display_namestring required

The display name of the datasource. Normally the name of the uploaded file

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

The date and time the datasource was created

updatedstring required

The date and time the datasource was updated

created_by_idstring nullable

The user ID of the creator of the knowledge base

update_by_idstring nullable

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

knowledge_idstring required

The unique identifier of the knowledge base

chunks_countnumber required

The number of chunks in the datasource