# KnowledgeBaseTopic **Type:** GraphQL objects **Description:** A knowledge base topic — the top-level organizational unit. Topics are associated with a brand and contain categories of articles. They can be styled with custom colors and background images. ## Fields - _id (String) - code (String): Unique code identifier for programmatic access. - title (String): The topic title. - description (String): Description of the topic. - categories (KnowledgeBaseCategory): Categories within this topic. - _id (String) - code (String): Unique code identifier for programmatic access. - title (String): The category title. - description (String): Description of what this category covers. - articles (KnowledgeBaseArticle): Articles in this category, optionally filtered by status. - icon (String): Icon identifier for the category. - createdBy (String): User ID of the category creator. - createdDate (Date): When this category was created. - modifiedBy (String): User ID of the last modifier. - modifiedDate (Date): When this category was last modified. - parentCategoryId (String): Parent category ID for nested categorization. - firstTopic (KnowledgeBaseTopic): The first topic this category belongs to. - authors (User): Users who have authored articles in this category. - numOfArticles (Float): Count of articles in this category, optionally filtered by status. - countArticles (Int): Total article count in this category. - workspace (Workspace): undefined - _id (String) - name (String) - description (String) - code (String) - userId (String) - createdAt (Date) - memberIds (String) - color (String) - backgroundImage (String): URL of the background image for the topic page. - languageCode (String): ISO language code for the topic content (e.g. 'en', 'ar'). - createdBy (String): User ID of the topic creator. - createdDate (Date): When this topic was created. - modifiedBy (String): User ID of the last modifier. - modifiedDate (Date): When this topic was last modified. - parentCategories (KnowledgeBaseParentCategory): Top-level parent categories within this topic. - _id (String) - code (String): Unique code identifier. - title (String): The category title. - description (String): Description of what this category covers. - articles (KnowledgeBaseArticle): Articles directly in this parent category. - icon (String): Icon identifier. - createdBy (String): User ID of the creator. - createdDate (Date): When this category was created. - modifiedBy (String): User ID of the last modifier. - modifiedDate (Date): When this category was last modified. - parentCategoryId (String): Parent category ID (for deeper nesting). - firstTopic (KnowledgeBaseTopic): The first topic this category belongs to. - authors (User): Users who have authored articles in this category. - numOfArticles (Float): Count of articles, optionally filtered by status. - childrens (KnowledgeBaseCategory): Nested child categories.