Wissensdatenbank
Die Wissensdatenbank verwaltet interne und kundenfokussierte Artikel mit
Versionierung, Kommentaren, Feedback und Runbook-Executions. Artikel können
auf Wunsch an Customer-Tenants geteilt werden (kb_shares).
Resources
| Resource | Pfad | Permission-Präfix | Sequenz |
|---|---|---|---|
| Artikel | /api/v1/kb_articles | kb_article | KB- |
| Kommentare | /api/v1/kb_comments | kb_comment | — |
| Feedback | /api/v1/kb_feedback | kb_feedback | — |
| Runbook-Executions | /api/v1/kb_executions | kb_execution | — |
| Cross-Tenant-Shares | /api/v1/kb_shares | kb_share | — |
Standard-CRUD nach den Konventionen. Lese-Statistiken,
Kategorien und Tags liegen als typisierte Felder direkt am
kb_article-Datensatz.
Schemas
Article
Knowledge base article
articleNumber
Human-readable article number (server-generated, e.g. K-2026-00042)
title
Article title
slug
URL-friendly slug (auto-generated from title if missing)
content
Article body (plain text or Markdown depending on bodyFormat)
contentHtml
Rich-text HTML body (sanitized server-side)
bodyFormat
Content format used for rendering
MARKDOWNHTMLBLOCKS category
Category label (free-text)
categoryId
Optional structured category UUID
status
Workflow status
DRAFTREVIEWPUBLISHEDARCHIVED isPublished
Publication flag (mirrors status === PUBLISHED)
viewCount
Number of times the article has been viewed
authorId
Primary author user UUID (protected — assigned server-side)
successorAuthorId
Designated successor when the current author is offboarded
isPortalVisible
Visible in the customer portal
visibleToPartyIds
When non-empty, restricts portal visibility to these parties
tags
Free-text tags
attachments
linkedEntities
embeddingStatus
PENDINGPROCESSINGDONEFAILED lastEmbeddedAt
spaceId
Owning kb_space UUID. Articles without a space appear in the default space.
parentId
Parent article UUID for hierarchy
sortOrder
Sort order among siblings under parentId
path
Materialized ancestor path (denormalized)
rootArticleId
Denormalized root article UUID for share-based visibility
isTemplate
If true, this article acts as a template/blueprint
templateName
templateDescription
nextReviewDate
Scheduled date for the next content review
lastReviewedAt
Timestamp of the last completed review
Keine Felder passen zum Filter.
Comment
Threaded comment on a knowledge base article
articleId
Reference to the kb_article
parentCommentId
Parent comment ID for threaded replies (null = root comment)
body
Comment text (may contain @mentions as @[userId])
mentions
User IDs mentioned in this comment
isResolved
Whether this comment thread is resolved
resolvedBy
User who resolved this thread
resolvedAt
Keine Felder passen zum Filter.
Feedback
User feedback (rating) on a knowledge base article
articleId
Reference to the rated kb_article
rating
Thumbs-up or thumbs-down rating
UPDOWN feedbackText
Optional free-text feedback from the user
Keine Felder passen zum Filter.
Execution
Execution record for a knowledge base runbook/SOP article
articleId
Reference to the source kb_article (runbook/SOP)
ticketId
Optional reference to the ticket this execution is for
status
Execution status
IN_PROGRESSCOMPLETEDABANDONED steps
Ordered list of checklist steps extracted from the article
stepIndex
label
isComplete
completedAt
completedBy
startedAt
When execution was started
completedAt
When execution was completed or abandoned
startedBy
User who started the execution
Keine Felder passen zum Filter.
visibility: 'public' macht den Artikel über die Public-API erreichbar (sofern
Branding-Domain konfiguriert).
Sonder-Permissions
Neben dem Standard-Set gibt es:
kb_article_publish— Status-Übergang vondraft/reviewnachpublished.kb_article_archive— Archivieren.
Wer nur kb_article_update hat, kann keinen Artikel publizieren — der
Status-Wechsel scheitert mit 403.
Runbooks & Executions
Ein KB-Artikel kann als ausführbares Runbook markiert werden. Jeder Lauf
hinterlässt eine kb_execution mit Eingaben, Ausgaben und Verantwortlichem
— praktisch für wiederkehrende Standard-Prozeduren mit Audit-Bedarf.
Cross-Tenant-Sharing
MSPs können KB-Artikel über kb_shares an Customer-Tenants teilen. Der
Customer-Tenant sieht den Artikel, kann ihn aber nicht editieren. Das ist
die Basis für self-service-Wissens-Portale.
Verwandt
- Konventionen
- DMS — DMS hält Datei-Anhänge
- LMS — Kurse können auf KB-Artikel verweisen
- Public Endpoints — public-visible Artikel über Public-Scope