## List `knowledge_bases.list(KnowledgeBaseListParams**kwargs) -> KnowledgeBaseListResponse` **get** `/v2/gen-ai/knowledge_bases` To list all knowledge bases, send a GET request to `/v2/gen-ai/knowledge_bases`. ### Parameters - **page:** `int` Page number. - **per\_page:** `int` Items per page. ### Returns - `class KnowledgeBaseListResponse` List of knowledge bases - **knowledge\_bases:** `Optional[List[APIKnowledgeBase]]` The knowledge bases - **added\_to\_agent\_at:** `Optional[datetime]` Time when the knowledge base was added to the agent - **created\_at:** `Optional[datetime]` Creation date / time - **database\_id:** `Optional[str]` - **embedding\_model\_uuid:** `Optional[str]` - **is\_public:** `Optional[bool]` Whether the knowledge base is public or not - **last\_indexing\_job:** `Optional[APIIndexingJob]` IndexingJob description - **name:** `Optional[str]` Name of knowledge base - **project\_id:** `Optional[str]` - **region:** `Optional[str]` Region code - **tags:** `Optional[List[str]]` Tags to organize related resources - **updated\_at:** `Optional[datetime]` Last modified - **user\_id:** `Optional[str]` Id of user that created the knowledge base - **uuid:** `Optional[str]` Unique id for knowledge base - **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() knowledge_bases = client.knowledge_bases.list() print(knowledge_bases.knowledge_bases) ```