## List `knowledge_bases.data_sources.list(strknowledge_base_uuid, DataSourceListParams**kwargs) -> DataSourceListResponse` **get** `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources` To list all data sources for a knowledge base, send a GET request to `/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources`. ### Parameters - **knowledge\_base\_uuid:** `str` - **page:** `int` Page number. - **per\_page:** `int` Items per page. ### Returns - `class DataSourceListResponse` A list of knowledge base data sources - **knowledge\_base\_data\_sources:** `Optional[List[APIKnowledgeBaseDataSource]]` The data sources - **aws\_data\_source:** `Optional[AwsDataSource]` AWS S3 Data Source for Display - **bucket\_name:** `Optional[str]` Spaces bucket name - **item\_path:** `Optional[str]` - **region:** `Optional[str]` Region of bucket - **bucket\_name:** `Optional[str]` Name of storage bucket - Deprecated, moved to data_source_details - **created\_at:** `Optional[datetime]` Creation date / time - **file\_upload\_data\_source:** `Optional[APIFileUploadDataSource]` File to upload as data source for knowledge base. - **item\_path:** `Optional[str]` Path of folder or object in bucket - Deprecated, moved to data_source_details - **last\_datasource\_indexing\_job:** `Optional[APIIndexedDataSource]` - **last\_indexing\_job:** `Optional[APIIndexingJob]` IndexingJob description - **region:** `Optional[str]` Region code - Deprecated, moved to data_source_details - **spaces\_data\_source:** `Optional[APISpacesDataSource]` Spaces Bucket Data Source - **updated\_at:** `Optional[datetime]` Last modified - **uuid:** `Optional[str]` Unique id of knowledge base - **web\_crawler\_data\_source:** `Optional[APIWebCrawlerDataSource]` WebCrawlerDataSource - **links:** `Optional[APILinks]` Links to other pages - **meta:** `Optional[APIMeta]` Meta information about the data set ### Example ```python from do_gradientai import GradientAI client = GradientAI() data_sources = client.knowledge_bases.data_sources.list( knowledge_base_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", ) print(data_sources.knowledge_base_data_sources) ```