Get Knowledge Bases

Get a list of knowledge bases.

This endpoint retrieves all knowledge bases belonging to the organization with pagination support.

Parameters:
request (Request): The FastAPI request object
skip (int): Number of records to skip for pagination
limit (int): Maximum number of records to return
db (AsyncSession): The database session
organization_id (Optional[int]): The organization ID from the API key

Returns:
List[KnowledgeBaseSchema]: List of knowledge bases

Raises:
HTTPException:
- 400: If organization ID is missing
- 500: If an unexpected error occurs during retrieval

Language
Credentials
Header
Click Try It! to start a request and see the response here!