# KnowledgeBaseCategory **Type:** GraphQL objects **Description:** A category that groups related knowledge base articles together. Categories can be nested under parent categories for hierarchical organization. ## Fields - _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. - _id (String) - code (String): Unique code identifier for programmatic access. - title (String): The article title. - summary (String): Brief summary or excerpt of the article content. - content (String): Full article content (HTML). - status (String): Publication status: 'draft', 'publish', or 'scheduled'. - isPrivate (Boolean): Whether this article is only visible to team members. - reactionChoices (String): Available emoji reaction types for this article. - reactionCounts (JSON): Count of each reaction type received. - createdBy (String): User ID of the article creator. - createdUser (User): The resolved user who created this article. - createdDate (Date): When this article was created. - modifiedBy (String): User ID of the last modifier. - modifiedDate (Date): When this article was last modified. - topicId (String): The topic this article belongs to. - categoryId (String): The category this article belongs to. - viewCount (Int): Total number of times this article has been viewed. - attachments (Attachment): File attachments included with this article. - image (Attachment): Featured image for the article. - pdfAttachment (PdfAttachment): PDF attachment with extracted page images. - publishedUserId (String): User ID of who published this article. - publishedUser (User): The resolved user who published this article. - scheduledDate (Date): Scheduled publication date (for status 'scheduled'). - forms (FormCode): Forms embedded in this article. - 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. - _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. - workspace (Workspace) - 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. - authors (User): Users who have authored articles in this category. - _id (String) - createdAt (Date) - username (String) - email (String) - userPreferences (JSON) - availability (UserChatStatus) - isActive (Boolean) - details (UserDetailsType) - links (JSON) - status (String) - emailSignatures (JSON) - groupIds (String) - workspaceIds (String) - isSubscribed (String) - customFieldsData (JSON) - workspaces (Workspace) - isOwner (Boolean) - permissionActions (JSON) - configs (JSON) - configsConstants (JSON) - onboardingHistory (OnboardingHistory) - departmentIds (String) - departments (Department) - branchIds (String) - branches (Branch) - positionIds (String) - positions (Position) - score (Float) - scoreCategories (ScoreCategories) - leaderBoardPosition (Int) - employeeId (String) - isOnline (Boolean) - numOfArticles (Float): Count of articles in this category, optionally filtered by status. - countArticles (Int): Total article count in this category.